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

导入文件报错 #34

Closed awae876 closed 2 years ago

awae876 commented 2 years ago

Details: Traceback (most recent call last): File "codes\src\handleGB.py", line 1750, in addRecordsSubFunc File "site-packages\Bio\SeqIO__init__.py", line 517, in write File "site-packages\Bio\SeqIO\Interfaces.py", line 237, in write_file File "site-packages\Bio\SeqIO\Interfaces.py", line 222, in write_records File "site-packages\Bio\SeqIO\InsdcIO.py", line 815, in write_record File "site-packages\Bio\SeqIO\InsdcIO.py", line 624, in _write_the_first_line ValueError: Need a Nucleotide or Protein alphabet

GenBank file parse failed 注释的gb文件导入报错:"GenBank file parse failed, please check your file carefully!",请问老师是什么问题,谢谢!

dongzhang0725 commented 2 years ago

注释的格式不标准,和能正常导入的gb文件对比一下,对应修改好再导入试试。

awae876 @.***> 于2021年10月9日周六 上午11:27写道:

Details: Traceback (most recent call last): File "codes\src\handleGB.py", line 1750, in addRecordsSubFunc File "site-packages\Bio\SeqIOinit.py", line 517, in write File "site-packages\Bio\SeqIO\Interfaces.py", line 237, in write_file File "site-packages\Bio\SeqIO\Interfaces.py", line 222, in write_records File "site-packages\Bio\SeqIO\InsdcIO.py", line 815, in write_record File "site-packages\Bio\SeqIO\InsdcIO.py", line 624, in _write_the_first_line ValueError: Need a Nucleotide or Protein alphabet

GenBank file parse failed 注释的gb文件导入报错:"GenBank file parse failed, please check your file carefully!",请问老师是什么问题,谢谢!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dongzhang0725/PhyloSuite/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZXXOO5RPOY7ONSNVBZ6SLUF6ZDLANCNFSM5FUZOMXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

dongzhang0725 commented 2 years ago

一般是genebank的格式不标准,你和能导入的对比一下看看。实在不行可以发给我看看。

13399810274 @.***> 于2021年12月1日周三 下午10:03写道:

我也遇到了相同的问题,不是注释文件的问题,之前能导进去的数据,现在导不进去了,好像是我再手动添加数据分类信息的时候弹出来了错误,如何解决呢

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dongzhang0725/PhyloSuite/issues/34#issuecomment-983671093, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZXXOJT2EKZMH2H2VYFAOLUOYTL5ANCNFSM5FUZOMXQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

13399810274 commented 2 years ago

非常感谢作者了,我解决了,原因是我在files界面手动补全的物种名的时候,空格有问题,导出excel的时候,里面显示的乱码,把乱码部分改了就好了