I am getting error while running qiime itsxpress, should I also need to load BBmerge separately?
qiime itsxpress trim-pair-output-unmerged --i-per-sample-sequences /users/3052771/sharedscratch/Amplicon_data_july_2018/ITS_analysis/GCTU_PN0057_ITS_data/PN0057_ITS_fastq_files/ITS_REPEAT_WHOLE_ANALYSIS/sequences.qza --p-region ITS1 --p-taxa F --o-trimmed eaxct.qza
Plugin error from itsxpress:
name ‘Error’ is not defined
Debug info has been saved to /tmp/qiime2-q2cli-err-zkvoxbz7.log
[3052771@login4 [kelvin2] ITS_REPEAT_WHOLE_ANALYSIS]$ vi /tmp/qiime2-q2cli-err-zkvoxbz7.log
ERROR:root:BBmerge was not found, make sure BBmerge is executable
Traceback (most recent call last):
File “/opt/gridware/depots/54e7fb3c/el7/pkg/apps/qiime2/2019.1.0/bin/lib/python3.6/site-packages/q2cli/commands.py”, line 274, in call
results = action(**arguments)
File “</opt/gridware/depots/54e7fb3c/el7/pkg/apps/qiime2/2019.1.0/bin/lib/python3.6/site-packages/decorator.py:decorator-gen-268>”, line 2, in trim_pair_output_unmerged
File “/opt/gridware/depots/54e7fb3c/el7/pkg/apps/qiime2/2019.1.0/bin/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 231, in bound_callable
output_types, provenance)
File “/opt/gridware/depots/54e7fb3c/el7/pkg/apps/qiime2/2019.1.0/bin/lib/python3.6/site-packages/qiime2/sdk/action.py”, line 365, in callable_executor
output_views = self._callable(**view_args)
File “/opt/gridware/depots/54e7fb3c/el7/pkg/apps/qiime2/2019.1.0/bin/lib/python3.6/site-packages/q2_itsxpress/_itsxpress.py”, line 242, in trim_pair_output_unmerged
cluster_id=cluster_id)
File “/opt/gridware/depots/54e7fb3c/el7/pkg/apps/qiime2/2019.1.0/bin/lib/python3.6/site-packages/q2_itsxpress/_itsxpress.py”, line 344, in main
raise Error(“Sample {} could not be processed, continuing with the next sample.”.format(sequence_id))
NameError: name ‘Error’ is not defined
Looks like there are maybe two things misbehaving here:
Error is probably meant to be Exception, but that’s a code problem and doesn’t actually change the situation (and not something you can fix).
Your install seems to be missing some tools. Could you describe what steps you took to install the plugin? As well as what version of qiime you are running (qiime info)?
It looks like BBtools was not found. This most likely happened because itsxpress was not installed or it wasn’t installed with conda (Which automatically installs bbtools).
You currently have to install itsxpress with conda and q2-itsxpress (the accompanying qiime plugin) with pip. This will be simplified in future versions.
It looks like your system administrator is not using conda to install these. You should indicate to your sysadmin that you need a JRE where QIIME 2 is installed (openJDK should be fine) and to double check that these dependencies work as indicated by the conda recipe:
If it’s possible, you might also ask for a user-controllable install of conda, then you could manage the installation (which is very straight-forward as long as it stays in conda). Then you should be able to avoid these situations.