Running qiime2 2022.2 (because of old processors that are not compatible with later versions). Running qiime rescript extract-seq-segments
and I get an error with vsearch
that the --qsegout
parameter does not exist. Is this a problem with mismatched vsearch
and qiime2
versions? vsearch
is v2.7.0_linux_x86_64 .
Here's the code and error:
qiime rescript extract-seq-segments \
--i-input-sequences musselnd1-ref-database-derep-seqs.qza \
--i-reference-segment-sequences musselnd1-ref-database-derep2x-culled-filtered-seqs.qza \
--p-perc-identity 0.7 \
--p-min-seq-len 10 \
--p-threads 10 \
--o-extracted-sequence-segments musselnd1-ref-database-extracted-filtered-seqs-01.qza \
--o-unmatched-sequences musselnd1-ref-database-unmatched-sequences-01.qza \
--verbose
Running external command line application. This may print messages to stdout and/or stderr.
The command being run is below. This command cannot be manually re-run as it will depend on temporary files that no longer exist.
Command: vsearch --usearch_global /scratch/tangled/tmp/qiime2-archive-06q0mw51/61ca6db3-a86f-4a0d-9003-e134ca3b9b15/data/dna-sequences.fasta --db /scratch/tangled/tmp/qiime2-archi
ve-fg4addqm/e507ad96-eae8-4b8d-be5c-d4104b73b679/data/dna-sequences.fasta --id 0.7 --strand plus --threads 10 --qmask none --qsegout /scratch/tangled/tmp/q2-DNAFASTAFormat-6k3hsz2
e --notmatched /scratch/tangled/tmp/q2-DNAFASTAFormat-5cmdsrtt --minseqlength 10
vsearch: unrecognized option '--qsegout'
Traceback (most recent call last):
File "/home/tangled/miniconda3/envs/qiime2-2022.2/lib/python3.8/site-packages/q2cli/commands.py", line 339, in __call__
results = action(**arguments)
File "<decorator-gen-513>", line 2, in extract_seq_segments
File "/home/tangled/miniconda3/envs/qiime2-2022.2/lib/python3.8/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
outputs = self._callable_executor_(scope, callable_args,
File "/home/tangled/miniconda3/envs/qiime2-2022.2/lib/python3.8/site-packages/qiime2/sdk/action.py", line 391, in _callable_executor_
output_views = self._callable(**view_args)
File "/home/tangled/miniconda3/envs/qiime2-2022.2/lib/python3.8/site-packages/rescript/extract_seq_segments.py", line 50, in extract_seq_segments
run_command(cmd)
File "/home/tangled/miniconda3/envs/qiime2-2022.2/lib/python3.8/site-packages/rescript/_utilities.py", line 99, in run_command
subprocess.run(cmd, check=True)
File "/home/tangled/miniconda3/envs/qiime2-2022.2/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['vsearch', '--usearch_global', '/scratch/tangled/tmp/qiime2-archive-06q0mw51/61ca6db3-a86f-4a0d-9003-e134ca3b9b15/data/dna-sequences.fasta
', '--db', '/scratch/tangled/tmp/qiime2-archive-fg4addqm/e507ad96-eae8-4b8d-be5c-d4104b73b679/data/dna-sequences.fasta', '--id', '0.7', '--strand', 'plus', '--threads', '10', '--q
mask', 'none', '--qsegout', '/scratch/tangled/tmp/q2-DNAFASTAFormat-6k3hsz2e', '--notmatched', '/scratch/tangled/tmp/q2-DNAFASTAFormat-5cmdsrtt', '--minseqlength', '10']' returned
non-zero exit status 1.
Plugin error from rescript:
Command '['vsearch', '--usearch_global', '/scratch/tangled/tmp/qiime2-archive-06q0mw51/61ca6db3-a86f-4a0d-9003-e134ca3b9b15/data/dna-sequences.fasta', '--db', '/scratch/tangled/
tmp/qiime2-archive-fg4addqm/e507ad96-eae8-4b8d-be5c-d4104b73b679/data/dna-sequences.fasta', '--id', '0.7', '--strand', 'plus', '--threads', '10', '--qmask', 'none', '--qsegout', '
/scratch/tangled/tmp/q2-DNAFASTAFormat-6k3hsz2e', '--notmatched', '/scratch/tangled/tmp/q2-DNAFASTAFormat-5cmdsrtt', '--minseqlength', '10']' returned non-zero exit status 1.
See above for debug info.