---
name: "gt-seq"
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-seq"
---

# gt-seq(1)

Parse the given sequence file(s) and construct the corresponding index files.

## NAME

gt-seq - Parse the given sequence file(s) and construct the corresponding index files.

## SYNOPSIS

**gt seq** \[option ...\] sequence\_file \[...\]

## DESCRIPTION

- **-recreate** \[*yes\|no*\]

  recreate index files, even if they exist already (default: no)

- **-showfasta** \[*yes\|no*\]

  show all sequences (in FASTA format) (default: no)

- **-showseqnum** \[*value*\]

  show sequence with given number (sequences are counted from 1 unless -seqnum\_from\_0 is specified) (default: undefined)

- **-showseqlength** \[*value*\]

  show length of sequence with given number (sequences are counted from 1 unless -seqnum\_from\_0 is specified) (default: undefined)

- **-showseqnum\_inputfile** \[*filename*\]

  show sequence with given numbers specified line by line in given file (sequences are counted from 1 unless -seqnum\_from\_0 is specified) (default: undefined)

- **-seqnum\_from\_0** \[*yes\|no*\]

  for options -showseqnum and -showseqnum\_inputfile: count sequence numbers from 0 instead of 1 (default: no)

- **-gc-content** \[*yes\|no*\]

  print GC-content (for DNA files) (default: no)

- **-stat** \[*yes\|no*\]

  show sequence statistics (default: no)

- **-seqlengthdistri** \[*yes\|no*\]

  show sequence length distribution (default: no)

- **-width** \[*value*\]

  set output width for FASTA sequence printing (0 disables formatting) (default: 0)

- **-o** \[*filename*\]

  redirect output to specified file (default: undefined)

- **-gzip** \[*yes\|no*\]

  write gzip compressed output file (default: no)

- **-bzip2** \[*yes\|no*\]

  write bzip2 compressed output file (default: no)

- **-force** \[*yes\|no*\]

  force writing to output file (default: no)

- **-help**

  display help and exit

- **-version**

  display version information and exit

## REPORTING BUGS

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