After I finished the Taxonomy_classification(feature-classifier classify-sklearn),I tried to view the taxonomic composition of our samples with bar plots with the following command:
source activate qiime2-2019.1、
qiime taxa barplot
–i-table table.qza
–i-taxonomy taxonomy.qza
–m-metadata-file sample-metadata.tsv
–o-visualization taxa-bar-plots.qzv
And then I got the error:
====================================================
Plugin error from taxa:
/mnt/lustre/user/wubin/tmp/qiime2-archive-wh9x3lh_/a1139d0b-3e58-45f6-bb3a-40942856d70e/data/feature-table.biom is not a(n) BIOMV210Format file
Debug info has been saved to /mnt/lustre/user/wubin/tmp/qiime2-q2cli-err-t7_bxsfk.log
====================================================
and the content of file “/mnt/lustre/user/wubin/tmp/qiime2-q2cli-err-t7_bxsfk.log” is as follows:
========================================================
Traceback (most recent call last):
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/q2cli/commands.py", line 274, in __call__
results = action(**arguments)
File "</home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/decorator.py:decorator-gen-251>", line 2, in barplot
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/action.py", line 225, in bound_callable
spec.view_type, recorder)
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/sdk/result.py", line 287, in _view
result = transformation(self._archiver.data_dir)
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/core/transform.py", line 68, in transformation
self.validate(view)
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/core/transform.py", line 143, in validate
view.validate('min')
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/plugin/model/directory_format.py", line 171, in validate
getattr(self, field)._validate_members(collected_paths, level)
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/plugin/model/directory_format.py", line 101, in _validate_members
self.format(path, mode='r').validate(level)
File "/home/wubin/01.Program/02.software/miniconda3/envs/qiime2-2019.1/lib/python3.6/site-packages/qiime2/plugin/model/file_format.py", line 34, in validate
% (self.path, self.__class__.__name__))
qiime2.core.exceptions.ValidationError: /mnt/lustre/user/wubin/tmp/qiime2-archive-an1jugo_/a1139d0b-3e58-45f6-bb3a-40942856d70e/data/feature-table.biom is not a(n) BIOMV210Format file
========================================================
it seems that the tmp file created by “qiime taxa barplot” has the wrong Format. I can’t control the file format of tmp file, but I do be sure that my input files has the right format:
===================================================
$qiime tools peek table.qza
UUID: a1139d0b-3e58-45f6-bb3a-40942856d70e
Type: FeatureTable[Frequency]
Data format: BIOMV210DirFmt
$qiime tools peek taxonomy.qza
UUID: ac0a4d2d-2c21-4b49-9182-d0aa77190ce5
Type: FeatureData[Taxonomy]
Data format: TSVTaxonomyDirectoryFormat
===================================================
then what’s wrong with my input files? or else there’s something wrong elsewhere ?