Hi
I have a similar problem. I am denoising 11 samples paired end reads for 18S amplicon. I am running the qiime2-amplicon-2024.5 installed natively in my macbook pro 2.3. GHz 8 core intel core i9 with 64GB RAM and 1TB hard disk. I am running it in the terminal.
This is the command I am using for DADA2 denoising:
qiime dada2 denoise-paired
--i-demultiplexed-seqs 18S-demux-paired-end.qza
--p-trunc-len-f 0
--p-trunc-len-r 0
--p-n-threads 0
--o-table 18S-table.qza
--o-representative-sequences 18S-rep-seqs.qza
--o-denoising-stats 18S-stats.qza
--verbose
It has been running for 10 hours and 36 minutes.
Here is the R learning error rate:
3) Learning Error Rates
415177372 total bases in 2773272 reads from 1 samples will be used for learning the error rates.
This is the third time I tried running DADA2 and it the two previous cases gave me the same error as the one @Adyasha_Panda is getting, i.e. "An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more."
The previous times I didn't use the --verbose command so I can't tell where it got stuck and I don't know how to access the stdout and stderror logs.
I have also tried the denoising the samples using q2galaxy with the same result. I think in this case was a memory capacity issue.
Any help would be greatly appreciated.
Happy Thanksgiving
Fernando
GM @colinbrislawn
I hope all is welll with you today.
Following on this thread, the dada2 run ended with this error:
"*R version 4.3.3 (2024-02-29) * Loading required package: Rcpp
*DADA2: 1.30.0 / Rcpp: 1.0.12 / RcppParallel: 5.1.6 * 2) Filtering ........... 3) Learning Error Rates 415177372 total bases in 2773272 reads from 1 samples will be used for learning the error rates. open .
*Error in derepFastq(fls[[i]], qualityType = qualityType) : *
Not all provided files exist.* 5: stop("Not all provided files exist.") 4: derepFastq(fls[[i]], qualityType = qualityType) 3: learnErrors(filtsR, nreads = nreads.learn, multithread = multithread)
*2: withCallingHandlers(expr, warning = function(w) if (inherits(w, *
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 520, in call*
results = self._execute_action(*
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 581, in _execute_action*
results = action(*arguments)
File "", line 2, in denoise_paired*
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 342, in bound_callable*
outputs = self.callable_executor(*
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 576, in callable_executor*
output_views = self._callable(*view_args)
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_dada2/_denoise.py", line 363, in denoise_paired*
raise Exception("An error was encountered while running DADA2"* 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."
I don't know how to access the sdout and stderr files. I am not sure if this is the problem: 5: stop("Not all provided files exist.")
but I don't know what it means.
Thank you and Happy Thanksgiving.
Fernando