2017-07-26 71 views
0

我運行QIIME2運動畫面的教程,在dada2步驟,QIIME2 dada2 rlang.so錯誤

我跑:

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 

跑進此錯誤:

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/qiime2-q2cli-err-52fzrvlu.log。這是我發現:

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. 

我然後「須藤R」和安裝RCPP和rlang包,但仍然得到了同樣的錯誤,當我運行相同的代碼,因爲我第一次做:

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

回答

0

我想通了: it是R版本:我卸載R3.4並安裝R 3.3和everythign作品