splitting table


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.


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
–o-filtered-table OUTPUT_TABLE


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.