生信log生物数据分析

生物信息学软件使用(1)EGGNOG-MAPPER批量注释

2019-08-14  本文已影响0人  小周的万用胶囊

EGGNOG-MAPPER批量注释

其实使用的是一个for循环

###这一步是同源搜索
for f in *.faa; do
./emapper.py -m diamond --cpu 10 -i $f -o $f --output_dir data_direct;
done #
# data_direct 是放输出文件的文件夹
#如果想要看看命令行有没有错误可以在emapper.py前加 echo命令

##功能注释
emapper.py --annotate_hits_table input.emapper.seed_orthologs --no_file_comments -o output_file --cpu 10



报错一

diamond版本不兼容,版本在0.8.3.8左右的才可以,可以到diamond的github地址下载以前版本的diamond 将文件覆盖到eggnog-mapper
目录下的bin里
http://github.com/bbuchfink/diamond/releases

报错二

./download_eggnog_data.py bact arch
/data/eggnog/eggnog-mapper/bin/diamond /data/eggnog/eggnog-mapper usage: download_eggnog_data.py [-h] [-D] [-y] [-f] [-s] [-q] [--data_dir] download_eggnog_data.py: error: unrecognized arguments: bact arch
If I run the above without the bact and arch arguments, it does download the annotation and diamond databases.

Had the same problem. It works if you instead of the development version download the latest release: wget https://github.com/eggnogdb/eggnog-mapper/archive/1.0.3.tar.gz

参考

上一篇 下一篇

猜你喜欢

热点阅读