---
name: "fastaq-to_unique_by_id"
section: "1"
platform: "linux"
package: "fastaq"
version: "3.17.0-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fastaq-to_unique_by_id"
---

# fastaq-to\_unique\_by\_id(1)

Remove duplicate sequences, based on their names. Keep longest seqs

## NAME

fastaq\_to\_unique\_by\_id - Remove duplicate sequences, based on their names. Keep longest seqs

## DESCRIPTION

usage: fastaq\_to\_unique\_by\_id \<infile\> \<outfile\>

Removes duplicate sequences from input file, based on their names. If the same name is found more than once, then the longest sequence is kept. Order of sequences is preserved in output

### positional arguments:

- infile

  Name of input file

- outfile

  Name of output file

### options:

- **-h**, **--help**

  show this help message and exit
