Hi,
I am new to qiime. I tried to use the dada2 to do quality control and join my demultiplexed paired end reads. I used the following command:
qiime dada2 denoise-paired --i-demultiplexed-seqs demux.qza --o-table table-dada2 --o-representative-sequences rep-seqs --p-trim-left-f 0 --p-trim-left-r 0 --p-trunc-len-f 230 --p-trunc-len-r 185
The error message said:
Plugin error from dada2:
An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.
The log said:
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 /var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/forward /var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/reverse /var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/output.tsv.biom /var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/filt_f /var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/filt_r 230 185 0 0 2.0 2 consensus 1.0 1 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 - 1274 reads in 842 unique sequences.
selfConsist step 2
selfConsist step 3
Convergence after 3 rounds.
2b) Reverse Reads
Initializing error rates to maximum possible estimate.
Sample 1 - 1274 reads in 882 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 “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/q2_dada2/_denoise.py”, line 179, in denoise_paired
run_commands([cmd])
File “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/q2_dada2/_denoise.py”, line 35, in run_commands
subprocess.run(cmd, check=True)
File “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/subprocess.py”, line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘run_dada_paired.R’, ‘/var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/forward’, ‘/var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/reverse’, ‘/var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/output.tsv.biom’, ‘/var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/filt_f’, ‘/var/folders/fc/933s4yv56ng11zxlz1l55q580000gn/T/tmp_n3m20yh/filt_r’, ‘230’, ‘185’, ‘0’, ‘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 “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/q2cli/commands.py”, line 224, in call
results = action(**arguments)
File “”, line 2, in denoise_paired
File “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/qiime2/sdk/action.py”, line 228, in bound_callable
output_types, provenance)
File “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/qiime2/sdk/action.py”, line 363, in callable_executor
output_views = self._callable(**view_args)
File “/Users/conghui/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/q2_dada2/_denoise.py”, line 194, 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.
I am using qiime 2017.12. I just wonder how to fix it? Thanks.