---
name: "gt-fastq_sample"
section: "1"
platform: "linux"
package: "genometools"
version: "1.6.5+ds-2.2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gt-fastq_sample"
---

# gt-fastq\_sample(1)

Print samples by random choice from given FASTQ files using at least n sequence-chars. Output is fastq/fasta format depending on whether qualities are available.

## NAME

gt-fastq\_sample - Print samples by random choice from given FASTQ files using at least n sequence-chars. Output is fastq/fasta format depending on whether qualities are available.

## SYNOPSIS

**gt fastq\_sample** \[option ...\] -length \<n\> \<fastq\_file\> \[\<fastq\_file\>...\]

## DESCRIPTION

- **-length** \[*value*\]

  minimum number of chars to be chosen (default: undefined)

- **-help**

  display help and exit

- **-version**

  display version information and exit

## REPORTING BUGS

Report bugs to https://github.com/genometools/genometools/issues.
