Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/e/e/eebprogramming-HEAD/lec10review/4translation.py   eebprogramming(Download)
unaligned_DNA = LoadSeqs(data=seqs, moltype = DNA, aligned = False)
print unaligned_DNA.toFasta()
unaligned_aa = unaligned_DNA.getTranslation()
print unaligned_aa.toFasta()
aligned_aa_seqs = {'hum': 'KQIQESSENGSLAARQERQAQVNLT',

src/e/e/eebprogramming-HEAD/lec10review/1readAndWrite.py   eebprogramming(Download)
al = LoadSeqs('data/test2.fasta', moltype=DNA, aligned = False)
print al.toFasta()
pal = al.getTranslation()
print pal.toFasta()
 

src/p/y/pycogent-HEAD/tests/test_core/test_core_standalone.py   pycogent(Download)
            alignment = LoadSeqs(data=seqs)
            try:
                peps = alignment.getTranslation()
            except AttributeError:
                pass

src/c/o/cogent-1.5.3/tests/test_core/test_core_standalone.py   cogent(Download)
            alignment = LoadSeqs(data=seqs)
            try:
                peps = alignment.getTranslation()
            except AttributeError:
                pass