Hi everyone!
This may be a really easy fix, but I've tried to tweak the metadata with no luck so far.
I'm trying to run the longitudinal analysis on a distance matrix (bray-curtis) using the following command:
qiime longitudinal first-distances --i-distance-matrix bray_curtis.qza --m-metadata-file mapping_V1V3_new.txt --p-state-column Timepoint --p-individual-id-column sample-id --p-replicate-handling random --output-dir first-distances
And get the following error:
Plugin error from longitudinal:
sample-id is not a column in your metadata
Debug info has been saved to /tmp/qiime2-q2cli-err-1kr4e6n5.log
Each of the sampleIDs should be unique, but I'm not sure why qiime is not able to read the header in the first place. I was able to generate emperor plots using the same distance matrix and mapping metadata, and didn't run into any errors then. I've tried to replace the "sample-id" with "#sample-id", as was in the case of Qiime 1, but it still errors out.
I've attached the metadata and am currently running QIIME 2 version: 2019.4. Please let me know if you need anything else!
mapping_V1V3_new.txt (3.9 KB)