dongzhang0725 / PhyloSuite

PhyloSuite is an integrated and scalable desktop platform for streamlined molecular sequence data management and evolutionary phylogenetics studies
GNU General Public License v3.0
140 stars 24 forks source link

使用MAFFT时遇到问题 #55

Open Jasemineyouzi opened 1 year ago

Jasemineyouzi commented 1 year ago

老师您好!在使用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

dongzhang0725 commented 1 year ago

你的序列里面有 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: @.***>