美文网首页
rgi Bio.Alphabet has been remove

rgi Bio.Alphabet has been remove

作者: Bioinfor生信云 | 来源:发表于2022-07-06 11:04 被阅读0次

先看问题

安装rgi后,运行时出现以下报错
ImportError: Bio.Alphabet has been removed from Biopython. In many cases, the alphabet can simply be ignored and removed from scripts. In a few cases, you may need to specify the molecule_type as an annotation on a SeqRecord for your script to work correctly. Please see https://biopython.org/wiki/Alphabet for more information.

我们先查看以下biopython的版本

conda list

1.79的版本已经删掉了Alphabet 模块

先删掉当前版本的biopython
在安装1.76版本的biopython
在重新装rgi

conda remove biopython
conda install biopython=1.76
conda install rgi=4.2.2

问题就解决啦

相关文章

网友评论

      本文标题:rgi Bio.Alphabet has been remove

      本文链接:https://www.haomeiwen.com/subject/qoxybrtx.html