Dear All,
I am trying to use ITSxpress to extract ITS1 regions but keep getting a plugin error. I have soil samples sequenced with Illumina NovaSeq 6000 from Novogene amplified for ITS1 (Primers : ITS5-1737F and ITS2-2043R). I have the demultiplexed raw reads with primers and barcodes removed from Novogene. I followed the below steps so far:
-
Turn paired end sequences to artifact:
qiime tools import
--type 'SampleData[PairedEndSequencesWithQuality]'
--input-path Fastq_manifest.tsv
--output-path paired-end-seq.qza
--input-format PairedEndFastqManifestPhred33V2 -
Use itsxpress to extract the ITS region from the reads
qiime itsxpress trim-pair-output-unmerged
--i-per-sample-sequences paired-end-seq.qza
--p-region ITS1
--p-taxa F
--p-cluster-id 1.0
--o-trimmed trimmed_seq.qza
--verbose
which gives the error:
ERROR:root:Could not perform read merging with vsearch. Error from vsearch was:
vsearch v2.22.1_macos_x86_64, 18.0GB RAM, 12 cores
Fatal error: Unable to open file for writing (/Users/KG1641/plant_soil_fungi/custom_tmp/itsxpress_j722j91c/seq.fq)
Traceback (most recent call last):
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/SeqSamplePaired.py", line 61, in _merge_reads
p1.check_returncode()
File "/opt/anaconda3/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/KG1641/plant_soil_fungi/custom_tmp/qiime2/KG1641/data/46b111a1-560b-4bbb-a906-902ef4528473/data/FA13_10_L001_R1_001.fastq.gz', '--reverse', '/Users/KG1641/plant_soil_fungi/custom_tmp/qiime2/KG1641/data/46b111a1-560b-4bbb-a906-902ef4528473/data/FA13_60_L001_R2_001.fastq.gz', '--fastqout', '/Users/KG1641/plant_soil_fungi/custom_tmp/itsxpress_j722j91c/seq.fq', '--fastq_maxdiffs', '40', '--fastq_maxee', '2', '--threads', '1', '--fastq_allowmergestagger', '--fastq_qmax', '93']' returned non-zero exit status 1.
Traceback (most recent call last):
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/itsxpress/q2_itsxpress.py", line 151, in trim_pair_output_unmerged
results = main(per_sample_sequences=per_sample_sequences,
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/q2_itsxpress.py", line 205, in main
sobj = _set_fastqs_and_check(
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/q2_itsxpress.py", line 79, in _set_fastqs_and_check
sobj._merge_reads(threads=threads,stagger=allow_staggered_reads)
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/SeqSamplePaired.py", line 65, in _merge_reads
raise e
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/itsxpress/SeqSamplePaired.py", line 61, in _merge_reads
p1.check_returncode()
File "/opt/anaconda3/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/KG1641/plant_soil_fungi/custom_tmp/qiime2/KG1641/data/46b111a1-560b-4bbb-a906-902ef4528473/data/FA13_10_L001_R1_001.fastq.gz', '--reverse', '/Users/KG1641/plant_soil_fungi/custom_tmp/qiime2/KG1641/data/46b111a1-560b-4bbb-a906-902ef4528473/data/FA13_60_L001_R2_001.fastq.gz', '--fastqout', '/Users/KG1641/plant_soil_fungi/custom_tmp/itsxpress_j722j91c/seq.fq', '--fastq_maxdiffs', '40', '--fastq_maxee', '2', '--threads', '1', '--fastq_allowmergestagger', '--fastq_qmax', '93']' returned non-zero exit status 1.
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 trim_pair_output_unmerged
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/action.py", line 356, in bound_callable
return results
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/context.py", line 195, in exit
self._scope.destroy()
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/sdk/context.py", line 269, in destroy
ctx.cache.garbage_collection()
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/core/cache.py", line 786, in garbage_collection
assert is_uuid4(data)
AssertionError
Plugin error from itsxpress:
See above for debug info.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/core/cache.py", line 240, in _exit_cleanup
cache.garbage_collection()
File "/opt/anaconda3/envs/qiime2-amplicon-2024.5/lib/python3.9/site-packages/qiime2/core/cache.py", line 786, in garbage_collection
assert is_uuid4(data)
AssertionError
I do not understand what is giving me the error. Any help and guidance from the community members to resolve this will be appreciated.
Version of ITSxpress : QIIME 2 Plugin 'itsxpress' version 2.1.1.dev3+g0ddb522.d20240917 (from package 'itsxpress' version 2.1.1.dev3+g0ddb522.d20240917)
Qiime 2 version : 2024.5.1
Thanks!