python - Biopython CodonTable error? -
i writing code intended translate ambiguous dna codes possible amino acids , seeing strange translation biopython 1.56 package. appears translating ambiguous dna codes 'j' not exist code anything. running python 2.6.1 on mac os 10.6.6.
for example:
>>>from bio.seq import * >>>translate('arawtagkamta') 'xjxj'
or
>>>from bio.seq import seq >>>c = seq('arawtagkamta') >>>c.translate().tostring() 'xjxj'
i have looked through bio.data.codontable source , bio.seq source , cannot find reason why happening. ideas?
thanks!
mark
j leucine (l) or isoleucine (i), used in mass-spec (nmr).
see http://biostar.stackexchange.com/questions/5688/biopython-translation-error
Comments
Post a Comment