Hello,
How does one split their table by, say, a variable in their metadata file? I've come across "qiime sample-classifier split-table" but it seems this is trying to making training and testing sets, and I just want a mini-tables.
Thank you.
Regards,
Tyler
Hi @Tyler_Carrier ,
You want to use qiime feature-table filter-samples
for each individual group you want to isolate.
Correct, that randomly splits a table. It does not split on a metadata category.
Good luck!
Hi Nick,
That worked! What took some digging was how to use the "--p-where." I detail this below with information to be inserted in capital letters:
qiime feature-table filter-samples
--i-table INPUT_TABLE
--m-metadata-file METADATA_FILE
--p-where "[METADATA_HEADER]='SUBGROUP_WITHIN_MD_HEADER'"
--p-no-exclude-ids
--o-filtered-table OUTPUT_TABLE
4 Likes
system
(system)
Closed
October 3, 2019, 8:53pm
4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.