funannotate安装

funannotate安装

https://funannotate.readthedocs.io/en/latest/
https://github.com/nextgenusfs/funannotate

(funannotate库需要python3.6,emapper.py需要python3.8)

conda install -n base conda-forge::mamba

#add appropriate channels

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
mamba create -n funannotate funannotate
conda activate funannotate
cd /home/yue/anaconda3/envs/funannotate

#查看依赖是否安装

funannotate check

#安装缺失软件
emapper.py:

mamba install eggnog-mapper / conda install eggnog-mapper

数据下载:

download_eggnog_data.py -P -M -f -H -d taxid

一路选择y,最后taxid,输入真菌的ID:4751

gmes_petap.pl:
http://topaz.gatech.edu/GeneMark/license_download.cgi
下载GeneMark-ES/ET/EP,解压后将gm_key_64移到gmes_linux_64_4文件夹,再将gmes_linux_64_4下的文件全部移到/home/yue/anaconda3/envs/funannotate/bin下

signalp:
访问https://services.healthtech.dtu.dk/cgi-bin/sw_request
下载signalp5,解压
将signalp5*/bin下文件复制到/home/yue/anaconda3/envs/funannotate/bin
将signalp5*/lib下文件复制到/home/yue/anaconda3/envs/funannotate/lib

Bio::Perl:

cpanm --force Bio::Perl 

#download/setup databases to a writable/readable location(-l 参数)

funannotate setup -d funannotate_db -l

(-l 需要下载JSON文件:https://github.com/nextgenusfs/funannotate/blob/master/funannotate/downloads.json)
(在python3.8环境下,上述下载可能无法一键下载,解决办法:在python3.6环境下使用:pip install funannotate 安装主程序,然后上述命令下载数据库,再将数据库文件夹移到funannotate环境下即可)

#~/.zshrc中添加环境变量

export FUNANNOTATE_DB=$PATH:/home/yue/anaconda3/envs/funannotate/funannotate_db
export GENEMARK_PATH=/home/yue/anaconda3/envs/funannotate/bin:$PATH

如若出现以下错误,而YAML已安装,则将/home/yue/anaconda3/envs/funannotate/bin/gmes_petap.pl文件第一行修改为:
#!/home/yue/anaconda3/envs/funannotate/bin/perl (which perl的路径)
在这里插入图片描述

评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Midreancgle

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值