hi,I have been running dada2 on paired-end sequences, and it ran into a problem as following:
Plugin error from dada2: An error was encountered while running DADA2 in R (return code 1), please inspect stdout and Debug info has been saved to /tmp/qiime2-q2cli-err-3jhw1xz_.log
i have try to truncate any of low quality positions off of my reverse reads, and it does't work
##i gave the following command
2qiime dada2 denoise-paired
3 --i-demultiplexed-seqs paired-end-demux.qza
4 --p-trim-left-f 6
5 --p-trim-left-r 6
6 --p-trunc-len-f 130
7 --p-trunc-len-r 130
8 --o-table table.qza
9 --o-representative-sequences rep-seqs.qza
10 --o-denoising-stats denoising-stats.qza
#Debug log file
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_paired.R /tmp/tmphkc9jaba/forward /tmp/tmphkc9jaba/reverse /tmp/tmphkc9jaba/output.tsv.biom /tmp/tmphkc9jaba/track.tsv /tmp/tmphkc9jaba/filt_f /tmp/tmphkc9jaba/filt_r 150 150 0 0 2.0 2 consensus 1.0 0 1000000
R version 3.4.1 (2017-06-30)
Loading required package: Rcpp
DADA2 R package version: 1.6.0
-
Filtering ..
-
Learning Error Rates
2a) Forward Reads
Initializing error rates to maximum possible estimate.
Sample 1 - 94912 reads in 40002 unique sequences.
Sample 2 - 139684 reads in 9861 unique sequences.
selfConsist step 2
selfConsist step 3
selfConsist step 4
selfConsist step 5
selfConsist step 6
selfConsist step 7
selfConsist step 8
selfConsist step 9
selfConsist step 10
Self-consistency loop terminated before convergence.
2b) Reverse Reads
Initializing error rates to maximum possible estimate.
Sample 1 - 94912 reads in 4862 unique sequences.
Sample 2 - 139684 reads in 10332 unique sequences.
selfConsist step 2
selfConsist step 3
selfConsist step 4
Convergence after 4 rounds. -
Denoise remaining samples
-
Remove chimeras (method = consensus)
Error in isBimeraDenovoTable(unqs[[i]], ..., verbose = verbose) :
Input must be a valid sequence table.
Calls: removeBimeraDenovo -> isBimeraDenovoTable
In addition: Warning message:
In is.na(colnames(unqs[[i]])) :
is.na() applied to non-(list or vector) of type 'NULL'
Execution halted
Traceback (most recent call last):
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 229, in denoise_paired
run_commands([cmd])
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['run_dada_paired.R', '/tmp/tmphkc9jaba/forward', '/tmp/tmphkc9jaba/reverse', '/tmp/tmphkc9jaba/output.tsv.biom', '/tmp/tmphkc9jaba/track.tsv', '/tmp/tmphkc9jaba/filt_f', '/tmp/tmphkc9jaba/filt_r', '150', '150', '0', '0', '2.0', '2', 'consensus', '1.0', '0', '1000000']' returned non-zero exit status 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2cli/commands.py", line 274, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/qiime2/sdk/action.py", line 231, in bound_callable
output_types, provenance)
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/qiime2/sdk/action.py", line 366, in callable_executor
output_views = self._callable(**view_args)
File "/home/shixq/miniconda3/envs/qiime2-2018.4/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 244, in denoise_paired
" 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.
#Additional information
It would be great if anyone could guide me.
The qiime 2 version that am using is qiime2 2018.6 and my i ran in linux(redhat)