I'm trying to make a scatterplot of regress-samples-ncv predictions (same sequence of analyses as in this tutorial), which I am able to generate without any issues. However, when I run the following:
qiime sample-classifier scatterplot /
--i-predictions predictions.qza /
--m-truth-file sample-metadata.tsv /
--m-truth-column SAMPLE_TO_DISEASE_ONSET /
--o-visualization visualization_ncv_scatterplot.qzv
I get the following error. I'm a bit at a loss. Thanks in advance for any help.
Traceback (most recent call last):
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/qiime2/sdk/util.py", line 62, in parse_type
type_expr = eval(string, {'builtins': {}}, locals_)
File "", line 1, in
NameError: name 'Predictions' is not definedDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/bin/qiime", line 11, in
sys.exit(qiime())
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/q2cli/commands.py", line 244, in call
arguments, missing_in, verbose, quiet = self.handle_in_params(kwargs)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/q2cli/commands.py", line 326, in handle_in_params
kwargs, fallback=cmd_fallback)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/q2cli/handlers.py", line 375, in get_value
artifact = qiime2.sdk.Result.load(path)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/qiime2/sdk/result.py", line 65, in load
archiver = archive.Archiver.load(filepath)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/qiime2/core/archive/archiver.py", line 301, in load
return cls(path, Format(rec))
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/qiime2/core/archive/format/v1.py", line 29, in init
super().init(archive_record)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/qiime2/core/archive/format/v0.py", line 72, in init
self.type = sdk.parse_type(type)
File "/local/apps/metaseq/0.5.5.4/miniconda/envs/qiime2-2018.8/lib/python3.5/site-packages/qiime2/sdk/util.py", line 82, in parse_type
" may be needed to define it." % name)
qiime2.sdk.util.UnknownTypeError: Name 'Predictions' is not a defined QIIME type, a plugin may be needed to define it.