Hi !
I'm having a problem with the dada2 denoising step that I was hoping I could get some help on.
a bit of background on my data: I'm using a dataset of previously published data, there are 100 samples, demultiplexed with a mean of 90,000 reads per sample. the quality score is at 30 for all reads(length 150).
this is the error I get:
Loading required package: Rcpp
Error rates could not be estimated (this is usually because of very few reads).
Error in getErrors(err, enforce = TRUE) : Error matrix is NULL.
Execution halted
Traceback (most recent call last):
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/site-packages/q2_dada2/_denoise.py", line 264, in denoise_paired
run_commands([cmd])
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['run_dada_paired.R', '/tmp/tmpk2at78sx/forward', '/tmp/tmpk2at78sx/reverse', '/tmp/tmpk2at78sx/output.tsv.biom', '/tmp/tmpk2at78sx/track.tsv', '/tmp/tmpk2at78sx/filt_f', '/tmp/tmpk2at78sx/filt_r', '150', '150', '2', '2', '2.0', '2.0', '2', 'independent', 'consensus', '1.0', '10', '1000000']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/site-packages/q2cli/commands.py", line 329, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
output_types, provenance)
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in callable_executor
output_views = self._callable(**view_args)
File "/opt/conda/envs/qiime2-2021.2/lib/python3.6/site-packages/q2_dada2/_denoise.py", line 279, 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.
Plugin error from dada2:
An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.
See above for debug info.
my script
qiime dada2 denoise-paired
--i-demultiplexed-seqs demux.qza
--p-trim-left-f 2 \ ( I've tried 0 for this flag as well)
--p-trim-left-r 2 \ ( I've tried 0 for this flag as well)
--p-trunc-len-f 150
--p-trunc-len-r 150
--o-representative-sequences rep-seqs.qza
--o-table table.qza
--p-n-threads 10
--o-denoising-stats stats.qza
--verbose