Measure PERMANOVA on Bray-Curtis distance

Hi everyone,

I have error in run this code below. I use this similar code and metadata to measure PERMANOVA for unweighted and weighted UniFrac. I don't know what errors may come from for Bray-Curtis. Did I use incorrect codes?

Thank you so much for your help in my other posts!

qiime diversity beta-group-significance
--i-distance-matrix core-metrics-results/bray_curtis_distance_matrix.qza
--m-metadata-file metadata_VS.tsv
--m-metadata-column diseasextimexHTNo
--o-visualization core-metrics-results/bray-curtis-diseasextimexHTNo-significance.qzv
--p-pairwise

Usage: qiime diversity beta-group-significance [OPTIONS]

Determine whether groups of samples are significantly different from one
another using a permutation-based statistical test.

Inputs:
--i-distance-matrix ARTIFACT
DistanceMatrix Matrix of distances between pairs of samples.
[required]
Parameters:
--m-metadata-file METADATA
--m-metadata-column COLUMN MetadataColumn[Categorical]
Categorical sample metadata column. [required]
--p-method TEXT Choices('permanova', 'anosim', 'permdisp')
The group significance test to be applied.
[default: 'permanova']
--p-pairwise / --p-no-pairwise
Perform pairwise tests between all pairs of groups in
addition to the test across all groups. This can be
very slow if there are a lot of groups in the metadata
column. [default: False]
--p-permutations INTEGER
The number of permutations to be run when computing
p-values. [default: 999]
Outputs:
--o-visualization VISUALIZATION
[required]
Miscellaneous:
--output-dir PATH Output unspecified results to a directory
--verbose / --quiet Display verbose output to stdout and/or stderr during
execution of this action. Or silence output if
execution is successful (silence is golden).
--example-data PATH Write example data and exit.
--citations Show citations and exit.
--help Show this message and exit.

              There were some problems with the command:                  

(1/3) Missing option '--m-metadata-file'.
(2/3) Missing option '--o-visualization'. ("--output-dir" may also be used)
(3/3) Got unexpected extra argument ( )
zsh: command not found: --m-metadata-column

Hello @Han_Do,

You probably didn't end the lines in the command:

qiime diversity beta-group-significance
--i-distance-matrix core-metrics-results/bray_curtis_distance_matrix.qza
--m-metadata-file metadata_VS.tsv
--m-metadata-column diseasextimexHTNo
--o-visualization core-metrics-results/bray-curtis-diseasextimexHTNo-significance.qzv
--p-pairwise

with backslashes, like so:

qiime diversity beta-group-significance \
--i-distance-matrix core-metrics-results/bray_curtis_distance_matrix.qza \
--m-metadata-file metadata_VS.tsv \
--m-metadata-column diseasextimexHTNo \
--o-visualization core-metrics-results/bray-curtis-diseasextimexHTNo-significance.qzv \
--p-pairwise

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