---
name: "fastaq_to_unique_by_id"
section: "1"
platform: "linux"
package: "fastaq"
version: "1.5.0-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fastaq_to_unique_by_id"
---

# fastaq\_to\_unique\_by\_id(1)

## NAME

fastaq\_to\_unique\_by\_id

## DESCRIPTION

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

Removes duplicate sequences from a fasta/q 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 fasta/q file

- outfile

  Name of output fasta/q file

### optional arguments:

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

  show this help message and exit

## AUTHOR

fastaq\_to\_unique\_by\_id was originally written by Martin Hunt (mh12@sanger.ac.uk)

## COPYING

Wellcome Trust Sanger Institute Copyright © 2013 Wellcome Trust Sanger Institute This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
