xbinbzy的个人博客分享 http://blog.sciencenet.cn/u/xbinbzy

博文

QIIME2在Linux环境下使用遇到的问题

已有 11092 次阅读 2017-7-28 18:26 |个人分类:科研文章|系统分类:科研笔记| QIIME2

   按照https://docs.qiime2.org/2017.7/tutorials/moving-pictures/的说明,在Linux环境下使用QIIME2,途中遇见各种问题的解决方案

1)qiime demux summarize --i-data demux.qza --o-visualization demux.qzv出现如下报错信息

   解决方案1:https://forum.qiime2.org/t/error-in-qiime-feature-table-summarize/308

   解决方案2:由于个人是利用windows登陆服务器,为此下载Xming,在putty中对登陆节点进行localhost:0的设置

   重新运行后,出现如下结果

   此处注意,用解决方案1不能使用命令

qiime tools view demux.qzv

  用解决方案2,用此命令查看数据时,出现一些报错信息,但不影响结果查看


2)qiime dada2 denoise-single --i-demultiplexed-seqs demux.qza --p-trim-left 0 --p-trunc-len 120 --o-representative-sequences rep-seqs-dada2.qza --o-table table-dada2.qza

   此步在利用qiime的全路径运行时,没有在source activate qiime2的环境下(/home/xiaob/miniconda3/envs/qiime2-2017.6/bin/qiime dada2 denoise-single --i-demultiplexed-seqs demux.qza --p-trim-left 0 --p-trunc-len 120 --o-representative-sequences rep-seqs-dada2.qza --o-table table-dada2.qza ),出现报错信息如下

   为此报错google查了很长时间,没有找到明确的解决方案,尝试在source activate qiime2的环境下运行,顺利得到结果


3)qiime feature-classifier classify-sklearn --i-classifier gg-13-8-99-515-806-nb-classifier.qza --i-reads rep-seqs.qza --o-classification taxonomy.qza,出现报错信息如下

scikit-learn的版本不一样,个人的解决方案是重新将qiime-2017.6更新为qiime-2017.7,重新运行

4)qiime feature-classifier classify-sklearn --i-classifier gg-13-8-99-nb-classifier.qza --i-reads rep-seqs.qza --o-classification taxonomy.qza,出现报错信息如下:

TypeError: _futuristic_archive_error() takes 2 positional arguments but 3 were given

检索QIIME2的论坛,https://forum.qiime2.org/t/save-a-feature-classifier-properly/1639

提示这是2017.7版的bug,为此删除2017.7版,更新安装2017.12,此错误得以解决。

5)利用2017.12运行qiime feature-classifier classify-sklearn --i-classifier gg-13-8-99-nb-classifier.qza --i-reads rep-seqs.qza --o-classification taxonomy.qza,出现报错信息如下:

OSError: [Errno 28] No space left on device

检索QIIME2的论坛,https://forum.qiime2.org/t/no-space-left-on-device-for-qiime-feature-classifier/2122

提示需要指定个空间足够的temp目录,为此export TMPDIR=* 设定个环境变量,重新运行,此错误得以解决。



https://blog.sciencenet.cn/blog-306699-1068502.html

上一篇:QIIME2在Linux环境下的安装
下一篇:早产儿败血症肠道菌群的跟踪研究
收藏 IP: 120.237.96.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-19 06:59

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部