---
name: "gbf2facds"
section: "1"
platform: "linux"
package: "ncbi-entrez-direct"
version: "24.0.20250523+dfsg-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gbf2facds"
---

# gbf2facds(1)

convert NCBI GenBank flatfile coding sequences to FASTA

## NAME

gbf2facds - convert NCBI GenBank flatfile coding sequences to FASTA

## SYNOPSIS

**gbf2facds** \[\[**-**\]**nuc**\|\[**-**\]**NUC**\|\[**-**\]**na**\|\[**-**\]**NA**\|\[**-**\]**prt**\|\[**-**\]**PRT**\|\[**-**\]**aa**\|\[**-**\]**AA**\]

## DESCRIPTION

**gbf2facds** reads an NCBI GenBank flatfile from standard input and writes FASTA corresponding to its (optionally translated) coding regions to standard output.

## OPTIONS

- **\[**-**\]**nuc**\|\[**-**\]**NUC**\|\[**-**\]**na**\|\[**-**\]**NA

  Print transcribed nucleotides (default).

- **\[**-**\]**prt**\|\[**-**\]**PRT**\|\[**-**\]**aa**\|\[**-**\]**AA

  Print translated amino acids.

## SEE ALSO

[**csv2xml**(1)](/csv2xml/1.md), [**efetch**(1)](/efetch/1.md), [**gbf2fsa**(1)](/gbf2fsa/1.md), [**gbf2info**(1)](/gbf2info/1.md), [**gbf2tbl**(1)](/gbf2tbl/1.md), [**xtract**(1)](/xtract/1.md).
