First I just want to start off by saying that I am very new to qiime. I was recently sent an OTU table, Taxonomy Table, and metadata.txt file that were generated from Phyloseq in R. I have had success importing these files following this linkhere, so that now I have an FeatureTable[Frequency] from my OTU table, and a FeatureTable[Taxonomy] from my taxon table. Now I am trying to run an ANCOM analysis using these files. I have transformed the original OTU frequency table into a FeatureTable[Composition] as per the Moving Pictures tutorial. However when I actually try to run the ANCOM plugin I get an error saying that "
The following IDs are not present in the metadata" and it lists a humongous list of sequences. However in both the OTU table and the metadata the sampleids are not classified as the sequence. I am confused as what steps to take and any help would be appreciated.
Judging by the data you shared, your feature IDs are sequence strings, right? In that case, it sounds to me like your FeatureTable[Frequency] is transposed on to the wrong axis, which is causing the feature IDs to be read as sample IDs. Try running feature-table transpose on the table, then re-running the ancom command. Let us know how it goes!
thermokarst
(Matthew Ryan Dillon)
unassigned thermokarst
#8
@thermokarst unfortunately it is still not recognizing the row names of my metadata.
Plugin error from composition: The following IDs are not present in the metadata: ββD1P1ββ, ββD1P2ββ, ββD1P3ββ, ββD1S1ββ, ββD1S2ββ, ββD1S3ββ, ββD1T1ββ, ββD1T2ββ, ββD1T3ββ, ββD2P1ββ β¦
Notice the extra quotes? Your FeatureTable[Frequency] has quotes around the Sample IDs, which means that your Sample Metadata will need quotes around the Sample IDs. Alternatively (and in my opinion, preferable), remove the quotes from your feature tableβs sample IDs.