Home Software Services About Contact usearch manual
fastx_uniques_persample command
Commands > Clustering, FASTA/Q files, Reads

See also
 
fastx_uniques command

This command reports the set of unique sequences for each sample in the input file. Labels in the input file must have sample identifiers. If the same unique sequence is found in multiple samples, one output sequence is reported for each sample. Usually, the -sizeout option is used to specify the abundance of the unique sequence within the sample.

The effect of using this command is to compress the input dataset without losing sequence or sample information.

It is NOT VALID to use the output file from fastx_uniques_persample as input for OTU clustering (cluster_otus command) or denoising (unoise3 command).

It is ok to use the output file as the input for creating an OTU table using the otutab command.

Input can be in FASTA or FASTQ format. The output filename is specified by -fastqout (FASTQ format) and / or -fastaout (FASTA format). You cannot create FASTQ output from FASTA input.

The -sizeout option specifies that size annotations should be added to the output sequence labels.

Example

usearch -fastx_uniques_persample reads.fq -output uniques.fa -sizeout