Hi Everyone,
I have been running DADA following the script above for more than a week and i got this an error message.
Can you help me figure this out?
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 - 2210368 reads in 2188405 unique sequences.
selfConsist step 2
selfConsist step 3
selfConsist step 4
selfConsist step 5
Convergence after 5 rounds.
2b) Reverse Reads
Initializing error rates to maximum possible estimate.
Error rates could not be estimated.
Error in err[c(1, 6, 11, 16), ] <- 1 :
incorrect number of subscripts on matrix
Calls: dada
Execution halted
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/tmpxpo322w2/forward /tmp/tmpxpo322w2/reverse /tmp/tmpxpo322w2/output.tsv.biom /tmp/tmpxpo322w2/track.tsv /tmp/tmpxpo322w2/filt_f /tmp/tmpxpo322w2/filt_r 200 180 10 10 2.0 2 consensus 1.0 10 1000000
Traceback (most recent call last):
File "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 231, in denoise_paired
run_commands([cmd])
File "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['run_dada_paired.R', '/tmp/tmpxpo322w2/forward', '/tmp/tmpxpo322w2/reverse', '/tmp/tmpxpo322w2/output.tsv.biom', '/tmp/tmpxpo322w2/track.tsv', '/tmp/tmpxpo322w2/filt_f', '/tmp/tmpxpo322w2/filt_r', '200', '180', '10', '10', '2.0', '2', '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 "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2cli/commands.py", line 274, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/action.py", line 231, in bound_callable
output_types, provenance)
File "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/qiime2/sdk/action.py", line 362, in callable_executor
output_views = self._callable(**view_args)
File "/home/imelda/anaconda2/envs/qiime2-2018.11/lib/python3.5/site-packages/q2_dada2/_denoise.py", line 246, 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.