先看问题
安装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
网友评论