qiime - QIIME2 dada2 rlang.so error -


i running qiime2 moving picture tutorial, @ dada2 step,

i running:

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 

and ran error:

 plugin error dada2:   error encountered while running dada2 in r (return code 1),    please inspect stdout , stderr learn more.   debug info has been saved /tmp/qiime2-q2cli-err-52fzrvlu.log. 

i open file: /tmp/qiime2-q2cli-err-52fzrvlu.log. found:

 running external command line application(s). may print messages  stdout and/or stderr. command(s) being run below. these  commands cannot manually re-run depend on temporary  files 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 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’  built under r version 3.4.1 error: package or namespace load failed  ‘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 above exception, 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      " , stderr learn more." % e.returncode) exception: error encountered while running dada2 in r (return code 1), please  inspect stdout , stderr learn more. 

i 'sudo r' , installed rcpp , rlang packages, still got the same error when run same code first did:

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

i figured out: r version: uninstalled r3.4 , install r 3.3 , everythign works


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -