Hello Nicholas, I was wondering, with the "qiime feature-table filter-features", how the metadata file is written? Is there a certain header to the column where you list the taxonomic features? For example, is my one-column metadata file anywhere near? However, it seems like I am working with only one dimension, and I know that usually a metadata file has 2 dimensions?
Hi @MartinLubell! Check out the Metadata in QIIME 2 tutorial for information on sample and feature metadata! For feature metadata, you will need to make sure that your IDs are whatever your Feature IDs are in the table (if the table isn't collapsed, they are most likely long strings of letters and numbers; if they are collapsed then it is probably taxonomic annotations).
Check out this example from the tutorial reference above!
Glad you found the taxa filter-table command, that is what I was going to recommend to you!
This is probably because of the quotes, and how they are interacting with your shell. How about something like:
I was thinking: what is this featureID, what does it have to do with the taxonomic features? I finally exported the .csv to Excel, and taTahhhHHH: now, I see it, and it makes sense. I had never thought of seeing to the right of the sequence in the .qsv!
I guess I will keep it at the “taxa filter-table” step, knowing that I have to write out, in the script, what taxonomic elements I want to keep. The “foster-table filter-features” method will only get me the list of feature IDs, and, at this stage, the method “taxa filter-table” does not accept an external (not really a metadata) file of the list of taxonomic elements I want to keep.
I am now able to work it like I want. Here is an example of 2 different "exact" searches:
1.) the kingdom level with the lower layers unresolved
2.) organisms at a certain family level