mOTU 安装以及简单使用

按照mOTU官网的安装说明 

https://github.com/motu-tool/mOTUs

# OR, create a new environment
conda create -n motu-env motus
conda activate motu-env

可是我安装完发现我的motu是2.1.1的版本。我猜想是因为python等版本问题导致的。参考这个帖子,应该别人也有遇到相同的问题:https://github.com/motu-tool/mOTUs/issues/78

conda install -c bioconda motus=3.0.1 

还是不行, sloving environment 很久也没有反映,用mamba安装报错。

需要按照帖子里配置环境

conda env remove --name motu-env # remove old environment


conda create -n motu-env python=3.8.1 samtools=1.9

#python 3.8.1 + samtools 1.9 + bwa 0.1.17
#如果连着bwa一起安装 conda error 

#PackagesNotFoundError: The following packages are not available from current #channels:

#  - bwa=0.1.17

conda install -c bioconda motus=3.0.1



安装成功了。

如何使用

The use of multiple threads (-t) is recommended, since bwa will finish faster. Here is an example with Paired-End reads:

motus profile -f for_sample.fastq -r rev_sample.fastq -s no_pair.fastq -t 6 > taxonomy_profile.txt

我前期的qc流程只有剩下的pair end数据 所以-s我没有用。

motus profile -f paired_1.fastq -r paired_2.fastq -t 6 > taxonomy_profile.txt

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值