Hi Cherman2
Thanks for your reply. I have been battling with the metadata file.
First, I mistakingly opened it with the wrong app, I later changed it back to open with notepad.
Now, I want to run the associations between categorical metadata columns and alpha diversity data. I ran this command:
qiime diversity alpha-group-significance \
--i-alpha-diversity core-metrics-results/faith_pd_vector.qza
--m-metadata-file sample-metadata.tsv
--o-visualization core-metrics-results/faith-pd-group-significance.qzv
I had this error with verbose:
qiime diversity alpha-group-significance \
--i-alpha-diversity core-metrics-results/faith_pd_vector.qza
--m-metadata-file sample-metadata.tsv
--o-visualization core-metrics-results/faith-pd-group-significance.qzv
There was an issue with loading the file sample-metadata.tsv as metadata:
Metadata file path doesn't exist, or the path points to something other than a file. Please check that the path exists, has read permissions, and points to a regular file (not a directory): sample-metadata.tsv
There may be more errors present in the metadata file. To get a full report, sample/feature metadata files can be validated with Keemei: https://keemei.qiime2.org
Find details on QIIME 2 metadata requirements here: Metadata in QIIME 2 β QIIME 2 2020.11.1 documentation
(qiime2-2020.11) qiime2@qiime2core2020-11:~/Desktop/shared/qiime2-sample$ qiime diversity alpha-group-significance \
--i-alpha-diversity core-metrics-results/faith_pd_vector.qza
--m-metadata-file sample-metadata.tsv
--o-visualization core-metrics-results/faith-pd-group-significance.qzv
--verbose
Traceback (most recent call last):
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/click/type.py", line 169, in _convert_metadata
artifact = qiime2.Artifact.load(fp)
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/sdk/result.py", line 66, in load
archiver = archive.Archiver.load(filepath)
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/core/archive/archiver.py", line 299, in load
archive = cls.get_archive(filepath)
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/core/archive/archiver.py", line 259, in get_archive
raise ValueError("%s does not exist." % filepath)
ValueError: sample-metadata.tsv does not exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/q2cli/click/type.py", line 172, in _convert_metadata
metadata = qiime2.Metadata.load(fp)
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/metadata/metadata.py", line 309, in load
return MetadataReader(filepath).read(into=cls,
File "/home/qiime2/miniconda/envs/qiime2-2020.11/lib/python3.6/site-packages/qiime2/metadata/io.py", line 47, in init
"(not a directory): %s" % filepath)
qiime2.metadata.io.MetadataFileError: Metadata file path doesn't exist, or the path points to something other than a file. Please check that the path exists, has read permissions, and points to a regular file (not a directory): sample-metadata.tsv
There may be more errors present in the metadata file. To get a full report, sample/feature metadata files can be validated with Keemei: https://keemei.qiime2.org
Find details on QIIME 2 metadata requirements here: Metadata in QIIME 2 β QIIME 2 2020.11.1 documentation
There was an issue with loading the file sample-metadata.tsv as metadata:
Metadata file path doesn't exist, or the path points to something other than a file. Please check that the path exists, has read permissions, and points to a regular file (not a directory): sample-metadata.tsv
There may be more errors present in the metadata file. To get a full report, sample/feature metadata files can be validated with Keemei: https://keemei.qiime2.org
Find details on QIIME 2 metadata requirements here: Metadata in QIIME 2 β QIIME 2 2020.11.1 documentation
Please, kindly note that I have validated the metadata with Keemei as suggested by you.
I also edited the metadata file before using it by opening it with notepad. Can you advised what is wrong with this command?
Can I skip this step as I need the Biom table for R Studio analysis?
I also need a good tutorial for ITS 1 and 2 analysis, can you please recommend one?
Thank you for your help.