Home Software Services About Contact usearch manual
otutab_sample_subset command
Commands > OTU analysis

See also
 
OTU commands
  OTU table
  Making an OTU table (otutab command)

Extract a subset of samples from an OTU table. Input must be in QIIME classic format. The -output option gives a filename for the result.

The -labels option gives the name of a text file containing the sample identifiers. This is a text file with one sample identifier per line.

All OTUs are retained in the output table even when the total count for an OTU is zero. To delete OTUs with zero count, use the otutab_trim command.

Example

usearch -otutab_sample_subset otutable.txt -labels sample_ids.txt -output subset.txt