PhyloSuite icon indicating copy to clipboard operation
PhyloSuite copied to clipboard

使用MAFFT时遇到问题

Open Jasemineyouzi opened this issue 2 years ago • 1 comments

老师您好!在使用MAFFT时出现了报错,我的是蛋白序列,选择了codon模式 问题如下 Traceback (most recent call last): File "site-packages\Bio\Seq.py", line 2588, in _translate_str File "site-packages\Bio\Data\CodonTable.py", line 385, in getitem KeyError: 'QQA'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "codes\src\Lg_mafft.py", line 394, in run_command File "codes\src\Lg_mafft.py", line 470, in align File "codes\src\Lg_mafft.py", line 52, in init File "codes\src\Lg_mafft.py", line 105, in translate File "codes\src\Lg_mafft.py", line 91, in trim_ter File "site-packages\Bio\Seq.py", line 2605, in _translate_str Bio.Data.CodonTable.TranslationError: Codon 'QQA' is invalid

Jasemineyouzi avatar Dec 21 '22 14:12 Jasemineyouzi

你的序列里面有 QQA,这个不是标准的密码子序列,需要先调整一下序列

Jasemineyouzi @.***> 于2022年12月21日周三 22:22写道:

老师您好!在使用MAFFT时出现了报错,我的是蛋白序列,选择了codon模式 问题如下 Traceback (most recent call last): File "site-packages\Bio\Seq.py", line 2588, in _translate_str File "site-packages\Bio\Data\CodonTable.py", line 385, in getitem KeyError: 'QQA'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "codes\src\Lg_mafft.py", line 394, in run_command File "codes\src\Lg_mafft.py", line 470, in align File "codes\src\Lg_mafft.py", line 52, in init File "codes\src\Lg_mafft.py", line 105, in translate File "codes\src\Lg_mafft.py", line 91, in trim_ter File "site-packages\Bio\Seq.py", line 2605, in _translate_str Bio.Data.CodonTable.TranslationError: Codon 'QQA' is invalid

— Reply to this email directly, view it on GitHub https://github.com/dongzhang0725/PhyloSuite/issues/55, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZXXOJHKGWL4N7WPEGBLO3WOMHATANCNFSM6AAAAAATFVYG7M . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dongzhang0725 avatar Dec 25 '22 11:12 dongzhang0725