while i am setting q-20 in dada 2 as per you suggestion without giving any value for --p-trunc-len-f and --p-trunc-len-r. I got an error. can you look into this and help me to solve this problem.
command I have used.
qiime dada2 denoise-paired
--i-demultiplexed-seqs demux.qza
--p-trunc-len-f 0
--p-trunc-len-r 0
--p-trunc-q 20
--o-table table-q-20.qza
--o-representative-sequences rep-seqs-q-20.qza
--o-denoising-stats denoising-stats-q-20.qza
An error was encountered while running DADA2 in R (return code -9), please inspect stdout and stderr to learn more.
Debug info has been saved to /tmp/qiime2-q2cli-err-225yvdyn.log
Here the log file below
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.R --input_directory /tmp/tmp7p7e10kw/forward --input_directory_reverse /tmp/tmp7p7e10kw/reverse --output_path /tmp/tmp7p7e10kw/output.tsv.biom --output_track /tmp/tmp7p7e10kw/track.tsv --filtered_directory /tmp/tmp7p7e10kw/filt_f --filtered_directory_reverse /tmp/tmp7p7e10kw/filt_r --truncation_length 0 --truncation_length_reverse 0 --trim_left 0 --trim_left_reverse 0 --max_expected_errors 2.0 --max_expected_errors_reverse 2.0 --truncation_quality_score 20 --min_overlap 12 --pooling_method independent --chimera_method consensus --min_parental_fold 1.0 --allow_one_off False --num_threads 1 --learn_min_reads 1000000
R version 4.2.2 (2022-10-31)
Loading required package: Rcpp
DADA2: 1.26.0 / Rcpp: 1.0.10 / RcppParallel: 5.1.6
2) Filtering ........................
3) Learning Error Rates
155666098 total bases in 1164673 reads from 6 samples will be used for learning the error rates.
Traceback (most recent call last):
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 326, in denoise_paired
run_commands([cmd])
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 36, in run_commands
subprocess.run(cmd, check=True)
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['run_dada.R', '--input_directory', '/tmp/tmp7p7e10kw/forward', '--input_directory_reverse', '/tmp/tmp7p7e10kw/reverse', '--output_path', '/tmp/tmp7p7e10kw/output.tsv.biom', '--output_track', '/tmp/tmp7p7e10kw/track.tsv', '--filtered_directory', '/tmp/tmp7p7e10kw/filt_f', '--filtered_directory_reverse', '/tmp/tmp7p7e10kw/filt_r', '--truncation_length', '0', '--truncation_length_reverse', '0', '--trim_left', '0', '--trim_left_reverse', '0', '--max_expected_errors', '2.0', '--max_expected_errors_reverse', '2.0', '--truncation_quality_score', '20', '--min_overlap', '12', '--pooling_method', 'independent', '--chimera_method', 'consensus', '--min_parental_fold', '1.0', '--allow_one_off', 'False', '--num_threads', '1', '--learn_min_reads', '1000000']' died with <Signals.SIGKILL: 9>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2cli/commands.py", line 352, in call
results = action(**arguments)
File "", line 2, in denoise_paired
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/action.py", line 234, in bound_callable
outputs = self.callable_executor(scope, callable_args,
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/action.py", line 381, in callable_executor
output_views = self._callable(**view_args)
File "/home/rishikesh_dash/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_dada2/_denoise.py", line 339, in denoise_paired
raise Exception("An error was encountered while running DADA2"
Exception: An error was encountered while running DADA2 in R (return code -9), please inspect stdout and stderr to learn more.