Hello! Thanks for offering your assistance with this. I am pasting here the output of 1) ITSxpress using only the R1 sequences (this was my intention, due to the poor quality of R2; however, it results in an error and doesn't produce any output); 2) ITSxpress paired; it does produce output but with 0 sequences.In this example, I've taken two samples from the project with EMP primers; cutadapt works fine with the same samples; thanks!
Trim single
qiime itsxpress trim-single \
--i-per-sample-sequences demux-single-end.qza
--p-region ITS1
--p-taxa F
--p-cluster-id 0.995
--p-threads 18
--o-trimmed trimmed.qza
--verbose
vsearch v2.22.1_linux_x86_64, 125.6GB RAM, 20 cores
GitHub - torognes/vsearch: Versatile open-source tool for microbiome analysis
Reading file /tmp/itsxpress_2qy_zeka/seq.fq.gz 100%
0 nt in 0 seqs
Masking 100%
Sorting by abundance 100%
Counting k-mers 100%
Clustering 100%
Sorting clusters 100%
Writing clusters 100%
Clusters: 0
Singletons: 0
ERROR:root:Could not perform ITS identification with hmmserach. The error was:
Error: Sequence file /tmp/itsxpress_2qy_zeka/rep.fa is empty or misformatted
Traceback (most recent call last):
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/itsxpress/main.py", line 564, in _search
p4.check_returncode()
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/subprocess.py", line 448, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['hmmsearch', '--domtblout', '/tmp/itsxpress_2qy_zeka/domtbl.txt', '-T', '10', '--cpu', '18', '--tformat', 'fasta', '--F1', '1e-6', '--F2', '1e-6', '--F3', '1e-6', '/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/itsxpress/ITSx_db/HMMs/F.hmm', '/tmp/itsxpress_2qy_zeka/rep.fa']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2cli/commands.py", line 352, in call
results = action(**arguments)
File "", line 2, in trim_single
File "/home/jmorillo/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/jmorillo/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/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_itsxpress/_itsxpress.py", line 116, in trim_single
results = main(per_sample_sequences=per_sample_sequences,
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_itsxpress/_itsxpress.py", line 212, in main
sobj._search(hmmfile=hmmfile, threads=threads)
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/itsxpress/main.py", line 567, in _search
raise e
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/itsxpress/main.py", line 564, in _search
p4.check_returncode()
File "/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/subprocess.py", line 448, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['hmmsearch', '--domtblout', '/tmp/itsxpress_2qy_zeka/domtbl.txt', '-T', '10', '--cpu', '18', '--tformat', 'fasta', '--F1', '1e-6', '--F2', '1e-6', '--F3', '1e-6', '/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/itsxpress/ITSx_db/HMMs/F.hmm', '/tmp/itsxpress_2qy_zeka/rep.fa']' returned non-zero exit status 1.
Plugin error from itsxpress:
Command '['hmmsearch', '--domtblout', '/tmp/itsxpress_2qy_zeka/domtbl.txt', '-T', '10', '--cpu', '18', '--tformat', 'fasta', '--F1', '1e-6', '--F2', '1e-6', '--F3', '1e-6', '/home/jmorillo/miniconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/itsxpress/ITSx_db/HMMs/F.hmm', '/tmp/itsxpress_2qy_zeka/rep.fa']' returned non-zero exit status 1.
See above for debug info.
Trim paired
qiime itsxpress trim-pair-output-unmerged \
--i-per-sample-sequences demux-paired-end.qza
--p-region ITS1
--p-taxa F
--p-cluster-id 0.995
--p-threads 18
--o-trimmed ITSx_trimmed_paired.qza
--verbose
vsearch v2.22.1_linux_x86_64, 125.6GB RAM, 20 cores
Reading file /tmp/itsxpress_7n1y6ppy/seq.fq.gz 100%
575769 nt in 2515 seqs, min 134, max 506, avg 229
Masking 100%
Sorting by abundance 100%
Counting k-mers 100%
Clustering 100%
Sorting clusters 100%
Writing clusters 100%
Clusters: 425 Size min 1, max 299, avg 5.9
Singletons: 282, 11.2% of seqs, 66.4% of clusters
vsearch v2.22.1_linux_x86_64, 125.6GB RAM, 20 cores
Reading file /tmp/itsxpress_qmf2onwa/seq.fq.gz 100%
720393 nt in 3614 seqs, min 92, max 444, avg 199
Masking 100%
Sorting by abundance 100%
Counting k-mers 100%
Clustering 100%
Sorting clusters 100%
Writing clusters 100%
Clusters: 623 Size min 1, max 632, avg 5.8
Singletons: 464, 12.8% of seqs, 74.5% of clusters