Error: QIIME 2 has no plugin/command named 'itsxpress'. Did you mean 'q2-itsxpress'?

Error: QIIME 2 has no plugin/command named 'itsxpress'. Did you mean 'q2-itsxpress'?

I want to install the itsxpress in qiime2.
So I looked for tutorials and ran the following code:
source activate qiime2-2023.5
conda install -c bioconda itsxpress
pip install q2-itsxpress
qiime dev refresh-cache
qiime itsxpress

It seemed all worked.
but when start to run following code.The error appeared.

qiime itsxpress trim-pair-output-unmerged
--i-per-sample-sequences Import/Untrimmed_files/import_descriptive_mycobiome_article_sequencing_run_1.qza
--p-region ITS1
--p-taxa F
--p-cluster-id 1.0
--p-threads 4
--o-trimmed Trimmed/trimmed_descriptive_mycobiome_article_sequencing_run_1.qza
Error: QIIME 2 has no plugin/command named 'itsxpress'. Did you mean 'q2-itsxpress'?

Did I install itsxpress successfully? what is the problem?

Hello @fdoctor,

So running qiime itsxpress worked after installation, but later when using it for an actual command it errored? Did you change conda environments between these two steps?

I did not change the conda environment.The two steps were consistent.

Hello @fdoctor,

Which installation instructions did you follow? There are some older tutorials on this forum that differ a little from the instructions on github. If you didn't already, I would try using the those latest instructions.

Thank you for your reply.
I used this installation instruction: “ https://library.qiime2.org/plugins/q2-itsxpress/8/
There is a problem I forgot to tell you
When I ran “ qiime itsxpress”
I just got “Error: QIIME 2 has no plugin/command named 'itsxpress'. Did you mean 'q2-itsxpress'?”
The following diagram shows the all code in action


The last instructions on github


“mamba install -c bioconda itsxpress” I will try it but I have no “mamba”,it gonna take a while.

Sorry,I am a beginner in this field. I have some problems.
1.What's the difference between q2-itsxpress and itsxpress?Which one do I mainly need?
2.Is the latest version of qiime2 compatible with itsxpress?

q2-itsxpress is how we refer to the QIIME 2 plugin of the tool but when you are in a QIIME 2 env you should only need to refer to itsxpres. If order to run itsxpres in QIIME 2 you need to install q2-itsxpres.

I am not sure, however there example docs use 2022.8 so that is a pretty safe bet.

I changed the code to
qiime q2-itsxpress trim-pair-output-unmerged
--i-per-sample-sequences Import/Untrimmed_files/import_descriptive_mycobiome_article_sequencing_run_1.qza
--p-region ITS1
--p-taxa F
--p-cluster-id 1.0
--p-threads 4
--o-trimmed Trimmed/trimmed_descriptive_mycobiome_article_sequencing_run_1.qza
ERROR:
Plugin error from q2-itsxpress:

cannot unpack non-iterable bool object

Debug info has been saved to /tmp/qiime2-q2cli-err-w8_lxhh9.log

What is wrong with it、

Can you re-run with --verbose?

Hello @fdoctor,

I have solved this problem in my another thread dedicated to differnt bug (ITS extraction error - Missing sequence for record beginning on line 17 - #11 by salias) and I got rid of your problem by removing all older versions of ITSexpress (I suppose, maybe conflicting???) and I reinstalled ITSexpress on ver. 2.1.1. (lately 2.1.3.) in environment qiime2-amplicon-2023.9. Good luck :slight_smile:

Karel

Yes, the conda environment needs only one version of ITSxpress installed.

you can find installation instructions here: GitHub - USDA-ARS-GBRU/itsxpress: Software to trim the ITS region of FASTQ sequences for amplicon sequencing analysis

When you run itsxprress within qiime you need to used the command qiime itsxpress :slightly_smiling_face: NOT qiime q2-itsxpress :frowning_face: (don't do this).

2 Likes