Bug Description:
When running alpha-group-significance, this is one of the possible errors that can be produced:
The language in this message implies that the error stems from the contents of the metadata file (i.e. doesn't contain columns that meet requirements such as containing categorical data, not being empty, etc). However, a forum user reached out with this issue (forum post link) and upon examination of their data, the source of the error was due to the fact that they had chosen a sampling depth that only retained 2 samples. This, in turn, resulted in the metadata file pulling information on those two samples that didn't meet the stated requirements of the visualizer - specifically, that values in the column were seen as unique, since there were only two samples and the column in question had groupings that were different for the two samples.
This error message should include details regarding the sample IDs that are being looked up in the metadata file, and the language should be changed to include the possibility that one's chosen sampling depth may be too deep, causing too few samples to be retained for the visualizer.
Steps to reproduce the behavior:
Download the files shared from the OP in the linked forum post above.
In a 2023.9 QIIME 2 Amplicon environment, run the following command (in the same dir as the above files):
Unzip the shannon_vector.qza artifact and examine the alpha-diversity.tsv file contained within the data directory. The following two IDs will be the only ones present: 98039, W190020
Open Testmetadata.tsv and examine the contents of the metadata associated with the two IDs above. These do not meet the stated requirements of the visualizer because within the Location column, the value associated with sample 98039 is zoo and the value associated with sample W190020 is wild.
These don't satisfy the following requirement:
There must be at least one metadata column doesn't consist of unique values.
Expected behavior:
The error message should include something like 'the contents of the metadata file associated with the samples present in the alpha-diversity metric' and should include the sample IDs in the error message. It is probably worth re-writing the message to clearly state that this error can result of either a metadata file that doesn't meet the viz requirements, or samples whose associated metadata doesn't meet the requirements (with a suggestion to check the diversity metric to ensure an appropriate sampling depth was selected).
Bug Description: When running
alpha-group-significance
, this is one of the possible errors that can be produced:The language in this message implies that the error stems from the contents of the metadata file (i.e. doesn't contain columns that meet requirements such as containing categorical data, not being empty, etc). However, a forum user reached out with this issue (forum post link) and upon examination of their data, the source of the error was due to the fact that they had chosen a sampling depth that only retained 2 samples. This, in turn, resulted in the metadata file pulling information on those two samples that didn't meet the stated requirements of the visualizer - specifically, that values in the column were seen as unique, since there were only two samples and the column in question had groupings that were different for the two samples.
This error message should include details regarding the sample IDs that are being looked up in the metadata file, and the language should be changed to include the possibility that one's chosen sampling depth may be too deep, causing too few samples to be retained for the visualizer.
Steps to reproduce the behavior:
Download the files shared from the OP in the linked forum post above.
In a 2023.9 QIIME 2 Amplicon environment, run the following command (in the same dir as the above files):
(Error message from above will be produced)
Unzip the
shannon_vector.qza
artifact and examine the alpha-diversity.tsv file contained within the data directory. The following two IDs will be the only ones present: 98039, W190020Open
Testmetadata.tsv
and examine the contents of the metadata associated with the two IDs above. These do not meet the stated requirements of the visualizer because within theLocation
column, the value associated with sample 98039 iszoo
and the value associated with sample W190020 iswild
.These don't satisfy the following requirement:
Expected behavior: The error message should include something like 'the contents of the metadata file associated with the samples present in the alpha-diversity metric' and should include the sample IDs in the error message. It is probably worth re-writing the message to clearly state that this error can result of either a metadata file that doesn't meet the viz requirements, or samples whose associated metadata doesn't meet the requirements (with a suggestion to check the diversity metric to ensure an appropriate sampling depth was selected).