首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >QIIME2 dada2 rlang.so错误

QIIME2 dada2 rlang.so错误
EN

Stack Overflow用户
提问于 2017-07-26 14:48:50
回答 1查看 1.4K关注 0票数 1

在dada2步骤中,我正在运行QIIME2动画教程,

我在跑:

代码语言:javascript
复制
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

并遇到了这个错误:

代码语言:javascript
复制
 Plugin error from dada2:

 An error was encountered while running DADA2 in R (return code 1),  
 please inspect stdout and stderr to learn more.

 Debug info has been saved to /tmp/qiime2-q2cli-err-52fzrvlu.log.

然后打开文件:/tmp/q2cli ime2-q2cli-err-52fzrvlu.log。这是我发现的:

代码语言:javascript
复制
 Running external command line application(s). This may print messages
 to stdout and/or stderr. The command(s) being run are below. These
 commands cannot be manually re-run as they will depend on temporary
 files that no longer exist.

Command: run_dada_single.R
 /tmp/qiime2-archive-pco6y5vm/fe614b44-775f-41b1-9ee3-04319005e830/data
 /tmp/tmpda8dnyve/output.tsv.biom /tmp/tmpda8dnyve 120 0 2.0 2
 consensus 1.0 1 1000000

 R version 3.3.1 (2016-06-21) Loading required package: Rcpp Error in
 dyn.load(file, DLLpath = DLLpath, ...) :   unable to load shared
 object '/home/cao/lib/R/library/rlang/libs/rlang.so':  
 /home/cao/lib/R/library/rlang/libs/rlang.so: undefined symbol:
 R_ExternalPtrAddrFn In addition: Warning message: package ‘Rcpp’ was
 built under R version 3.4.1 Error: package or namespace load failed
 for ‘dada2’ Execution halted Traceback (most recent call last):   File
 "/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/site-packages/q2_dada2/_denoise.py",
 line 126, in denoise_single
     run_commands([cmd])   File "/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/site-packages/q2_dada2/_denoise.py",
 line 35, in run_commands
     subprocess.run(cmd, check=True)   File "/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/subprocess.py",
 line 398, in run
     output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['run_dada_single.R',
 '/tmp/qiime2-archive-pco6y5vm/fe614b44-775f-41b1-9ee3-04319005e830/data',
 '/tmp/tmpda8dnyve/output.tsv.biom', '/tmp/tmpda8dnyve', '120', '0',
 '2.0', '2', 'consensus', '1.0', '1', '1000000']' returned non-zero
 exit status 1

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):   File
"/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/site-packages/q2cli/commands.py",
 line 222, in __call__
     results = action(**arguments)   File "<decorator-gen-252>", line 2, in denoise_single   File
 "/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/site-packages/qiime2/sdk/action.py",
 line 201, in callable_wrapper
     output_types, provenance)   File "/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/site-packages/qiime2/sdk/action.py",
 line 334, in _callable_executor_
     output_views = callable(**view_args)   File "/home/cao/miniconda3/envs/qiime2-2017.7/lib/python3.5/site-packages/q2_dada2/_denoise.py",
 line 137, in denoise_single
     " and stderr to learn more." % e.returncode) Exception: An error was encountered while running DADA2 in R (return code 1), please
 inspect stdout and stderr to learn more.

然后我'sudo R‘并安装了Rcpp和rlang包,但当我运行与第一次相同的代码时仍然得到相同的错误:

表去噪-单个\--i-多路分解序列表\--p- dada2 - demux.qza 0\ --p-trunc-len 120 \--o-代表性序列rep-seqs-dada2.qza \-o-表-dada2.qza

EN

回答 1

Stack Overflow用户

发布于 2017-07-27 11:24:30

我弄清楚了:这是R版本:我卸载了R3.4并安装了R3.3,一切都正常

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45319458

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档