Hello. I am getting the following error when I run QIIME2 dada2 denoise-paired on an Azure virtual machine.
qiime dada2 denoise-paired \
--i-demultiplexed-seqs /home/azureuser/DataAnalysis/demux.qz.qza \
--p-trunc-len-f 250 \
--p-trunc-len-r 190 \
--o-table /home/azureuser/DataAnalysis/table.qza \
--o-representative-sequences /home/azureuser/DataAnalysis/rep-seqs.qza \
--o-denoising-stats /home/azureuser/DataAnalysis/denoising-stats.qza
Here is the error message:
Plugin error from dada2:
An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more.
Debug info has been saved to /tmp/qiime2-q2cli-err-kd_x0n7f.log.
The error log is here:
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>
Command: run_dada.R --input_directory /tmp/tmpd5rl3hg6/forward --input_directory_reverse /tmp/tmpd5rl3hg6/reverse --output_>
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
78516500 total bases in 314066 reads from 1 samples will be used for learning the error rates.
59672540 total bases in 314066 reads from 1 samples will be used for learning the error rates.
3) Denoise samples .
.
5) Remove chimeras (method = consensus)
Error in isBimeraDenovoTable(unqs[[i]], ..., verbose = verbose) :
Input must be a valid sequence table.
Calls: removeBimeraDenovo -> isBimeraDenovoTable
3: stop("Input must be a valid sequence table.")
2: isBimeraDenovoTable(unqs[[i]], ..., verbose = verbose)
1: removeBimeraDenovo(seqtab, method = chimeraMethod, minFoldParentOverAbundance = minParentFold,
allowOneOff = allowOneOff, multithread = multithread)
Traceback (most recent call last):
Running external command line application(s). This may print messages to stdout and/or st>The command(s) being run are below. These commands cannot be manually re-run as they will depend on temporary files that no> Command: run_dada.R --input_directory /tmp/tmpd5rl3hg6/forward --input_directory_reverse /tmp/tmpd5rl3hg6/reverse --output_> 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
78516500 total bases in 314066 reads from 1 samples will be used for learning the error rates.
59672540 total bases in 314066 reads from 1 samples will be used for learning the error rates.
3) Denoise samples .
.
5) Remove chimeras (method = consensus)Error in isBimeraDenovoTable(unqs[[i]], ..., verbose = verbose) :
Input must be a valid sequence table.
Calls: removeBimeraDenovo -> isBimeraDenovoTable
3: stop("Input must be a valid sequence table.")
2: isBimeraDenovoTable(unqs[[i]], ..., verbose = verbose)
1: removeBimeraDenovo(seqtab, method = chimeraMethod, minFoldParentOverAbundance = minParentFold,
allowOneOff = allowOneOff, multithread = multithread)
Traceback (most recent call last):
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_dada2/_denoise.py", line 350,> run_commands([cmd])
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_dada2/denoise.py", line 37, > subprocess.run(cmd, check=True)
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['run_dada.R', '--input_directory', '/tmp/tmpd5rl3hg6/forward', '--input_directory>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 520, in> results = self._execute_action(
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 581, in> results = action(**arguments)
File "", line 2, in denoise_paired
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 342,> outputs = self.callable_executor(
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 576,> output_views = self._callable(**view_args)
File "/home/azureuser/miniconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2_dada2/_denoise.py", line 363,> 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.