genewise运行过程中遇到的错误及其解决方法

如果出现以下错误:

Warning Error
    Could not open blosum62.bla as a filename for read Blast matrix
Warning Error
    Could not read Comparison matrix file in blosum62.bla
Warning Error
    you have passed through NULL objects in trying to make TSM from
sequence
Warning Error
    Could not build ThreeStateModel from a single protein sequence...
Warning Error
    Could not open human.gf as a genefrequency file
Warning Error
    Could not read a GeneFrequency file in human.gf
Warning Error
    Could not open file codon.table as codon table file
Warning Error
    Could not read codon table file in codon.table
Fatal Error
    Could not build objects!
说明是环境变量没有导入成功

在.bashrc里面加入一句

export WISECONFIGDIR=/home/users/.../programs/genewise/wisecfg/

后面的路径是wisecfg的位置

退出终端,重新加载一下就OK了

原文地址:https://www.cnblogs.com/yumtaoist/p/2418044.html