I'm new.
I ran DADA2 with V3-V4 data, but got an error.
qiime dada2 denoise-paired
--p-trim-left-f 17 --p-trim-left-r 21
--p-trunc-len-f 265 --p-trunc-len-r 225
--i-demultiplexed-seqs demux-subsample.qza
--o-table table.qza
--o-representative-sequences rep-seqs.qza
--o-denoising-stats stats-dada2.qza
--verbose
--p-n-threads 0
(qiime2-2021.4) kjun@DESKTOP-EO45M8R:/mnt/c/dry_dry/2022_GF_Metagenome$ qiime dada2 denoise-paired \
--i-demultiplex> --i-demultiplexed-seqs demux.qza \
--o-table table.qza \ --o-representative-sequences rep-seqs.qza \ --o-denoising-stats stats-dada2.qza \ --p-trim-left-f 17 \ --p-trim-left-r 21 \ --p-trunc-len-f 280 \ --p-trunc-len-r 220
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-fj88zlpd.log
(qiime2-2021.4) kjun@DESKTOP-EO45M8R:/mnt/c/dry_dry/2022_GF_Metagenome$ lqiime dada2 denoise-paired
--i-dem> --i-demultiplexed-seqs demux.qza \
--o-table table.qza \ --o-representative-sequences rep-seqs.qza \ --o-denoising-stats stats-dada2.qza \ --p-trim-left-f 17 \ --p-trim-left-r 21 \ --p-trunc-len-f 280 \ --p-trunc-len-r 220 \ --verbose
lqiime: command not found
(qiime2-2021.4) kjun@DESKTOP-EO45M8R:/mnt/c/dry_dry/2022_GF_Metagenome$ qiime dada2 denoise-paired \
--i-demultiplexed-seqs demux.qza \ --o-table table.qza \ --o-representative-sequences rep-seqs.qza \ --o-denoising-stats stats-dada2.qza \ --p-trim-left-f 17 \ --p-trim-left-r 21 \ --p-trunc-len-f 280 \ --p-trunc-len-r 220 \ --verbose
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/tmpuhozqm_v/forward /tmp/tmpuhozqm_v/reverse /tmp/tmpuhozqm_v/output.tsv.biom /tmp/tmpuhozqm_v/track.tsv /tmp/tmpuhozqm_v/filt_f /tmp/tmpuhozqm_v/filt_r 280 220 17 21 2.0 2.0 2 12 independent consensus 1.0 1 1000000
R version 4.1.1 (2021-08-10)
Loading required package: Rcpp
Error: package or namespace load failed for ‘Rcpp’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/kjun/miniconda3/envs/qiime2-2021.4/lib/R/library/Rcpp/libs/Rcpp.so':
/home/linuxbrew/.linuxbrew/lib/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/kjun/miniconda3/envs/qiime2-2021.4/lib/R/library/Rcpp/libs/Rcpp.so)
Error: package ‘Rcpp’ could not be loaded
Execution halted
Traceback (most recent call last):
File "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 266, in denoise_paired
run_commands([cmd])
File "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['run_dada_paired.R', '/tmp/tmpuhozqm_v/forward', '/tmp/tmpuhozqm_v/reverse', '/tmp/tmpuhozqm_v/output.tsv.biom', '/tmp/tmpuhozqm_v/track.tsv', '/tmp/tmpuhozqm_v/filt_f', '/tmp/tmpuhozqm_v/filt_r', '280', '220', '17', '21', '2.0', '2.0', '2', '12', 'independent', '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 "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/site-packages/q2cli/commands.py", line 329, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/site-packages/qiime2/sdk/action.py", line 244, in bound_callable
outputs = self.callable_executor(scope, callable_args,
File "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/site-packages/qiime2/sdk/action.py", line 390, in callable_executor
output_views = self._callable(**view_args)
File "/home/kjun/miniconda3/envs/qiime2-2021.4/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 279, 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 found maybe this problem relate with previous question (An error was encountered while running DADA2 in R (return code 1), please inspect stdout and stderr to learn more), however, I couldn't find out how to solve it.