I am using the university HPC. I installed qiime2 locally with miniforge. My samples were sequenced using the AVITI platform (300 bp; paired end; 16S amplicon as well as ITS2). I have run into problem while running the following command:
% qiime itsxpress trim-pair-output-unmerged \
--i-per-sample-sequences ITS2_analyses_qiime2/sequences-trimmed-primers-ends.qza \
--p-region ITS2 \
--p-taxa F \
--p-cluster-id 1.0 \
--p-threads 40 \
--o-trimmed ITS2_analyses_qiime2/sequences-trimmed-primers-ends-exact_ITS2.qza
This is the error I got:
more qiime2-q2cli-err-y0hubkek.log
ERROR:root:Could not perform read merging with vsearch. Error from vsearch was:
vsearch v2.22.1_linux_x86_64, 503.3GB RAM, 128 cores
Merging reads
Fatal error: FASTQ quality value (45) above qmax (41)
By default, quality values range from 0 to 41.
To allow higher quality values, please use the option --fastq_qmax 45
Traceback (most recent call last):
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/SeqSamplePaired.py", line 63, in merge_reads
p1.check_returncode()
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['vsearch', '--fastq_mergepairs', '/users/3/ihaq/qiime2/ihaq/data/e206104f-2103-4d9f-9ac5-3253e4373b69/data/B10_ITS2_1_L001_R1_001.fastq.gz', '--rever
se', '/users/3/ihaq/qiime2/ihaq/data/e206104f-2103-4d9f-9ac5-3253e4373b69/data/B10_ITS2_170_L001_R2_001.fastq.gz', '--fastqout', '/users/3/ihaq/itsxpress_omlg5na/seq.fq', '--fastq_maxdiffs'
, '40', '--fastq_maxee', '2', '--threads', '40', '--fastq_allowmergestagger']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/q2cli/commands.py", line 520, in call
results = self._execute_action(
File "/users/3/ihaq/.conda/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 trim_pair_output_unmerged
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 342, in bound_callable
outputs = self.callable_executor(
File "/users/3/ihaq/.conda/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 "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/q2_itsxpress.py", line 148, in trim_pair_output_unmerged
results = main(per_sample_sequences=per_sample_sequences,
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/q2_itsxpress.py", line 197, in main
sobj = _set_fastqs_and_check(
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/q2_itsxpress.py", line 76, in _set_fastqs_and_check
sobj._merge_reads(threads=threads,stagger=allow_staggered_reads)
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/SeqSamplePaired.py", line 67, in _merge_reads
raise e
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/SeqSamplePaired.py", line 63, in merge_reads
p1.check_returncode()
File "/users/3/ihaq/.conda/envs/qiime2-amplicon-2024.5/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['vsearch', '--fastq_mergepairs', '/users/3/ihaq/qiime2/ihaq/data/e206104f-2103-4d9f-9ac5-3253e4373b69/data/B10_ITS2_1_L001_R1_001.fastq.gz', '--rever
se', '/users/3/ihaq/qiime2/ihaq/data/e206104f-2103-4d9f-9ac5-3253e4373b69/data/B10_ITS2_170_L001_R2_001.fastq.gz', '--fastqout', '/users/3/ihaq/itsxpress_omlg5na/seq.fq', '--fastq_maxdiffs'
, '40', '--fastq_maxee', '2', '--threads', '40', '--fastq_allowmergestagger']' returned non-zero exit status 1.
Prior to this I used cutadapt as follows:
qiime cutadapt trim-paired \
--p-cores 30 \
--i-demultiplexed-sequences ITS2_analyses_qiime2/sequences.qza \
--p-front-f TCGATGAAGAACGCAGCG \
--p-front-r TCCTCCGCTTATTGATATGC \
--p-match-read-wildcards \
--p-match-adapter-wildcards \
--p-discard-untrimmed \
--o-trimmed-sequences ITS2_analyses_qiime2/sequences-trimmed-primers-ends.qza \
--verbose
Here is the qzv file
sequences-trimmed-primers-ends.qzv (324.8 KB)
I also tried cutadapt with the following:
qiime cutadapt trim-paired \
--p-cores 30 \
--i-demultiplexed-sequences ITS2_analyses_qiime2/sequences.qza \
--p-front-f TCGTCGGCAGCGTCAGATGTGTATAAGAGACAGTCGATGAAGAACGCAGCG \
--p-front-r GTCTCGTGGGCTCGGAGATGTGTATAAGAGACAGTCCTCCGCTTATTGATATGC \
--p-match-read-wildcards \
--p-match-adapter-wildcards \
--p-discard-untrimmed \
--o-trimmed-sequences ITS2_analyses_qiime2/sequences-trimmed-primers.qza \
--verbose
Here is the qzv file
sequences-trimmed-primers.qzv (324.9 KB)
Here is the original qzv file (prior to processing with cutadapt).
sequences.qzv (319.3 KB)
Can someone help me overcome this issue? Thank you for your time and help.