Metadata file for beta diversity analysis


Can I know what information my metadata file should contain to run the following code?
qiime diversity core-metrics-phylogenetic
--i-phylogeny rooted-tree.qza
--i-table table.qza
--p-sampling-depth 1103
--m-metadata-file sample-metadata.tsv
--output-dir core-metrics-results

I have the following file with me

I want the following file

Here is a metadata tutorial that can clarify common questions regarding the metadata.

However, if you are asking specifically about columns for command in your post, it can be any column that describe your samples. For example, treatment, source, sampling site and others. In the output visualization these columns will be available for changing the color, size and shape of the dots to separate them by certain metadata qualities/levels.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.