---
name: "pdb_tofasta"
section: "1"
platform: "linux"
package: "pdb-tools"
version: "2.5.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pdb_tofasta"
---

# pdb\_tofasta(1)

manual page for pdb\_tofasta 2.5.1

## NAME

pdb\_tofasta - manual page for pdb\_tofasta 2.5.1

## DESCRIPTION

pdb\_tofasta You provided an invalid option: '-help'

Extracts the residue sequence in a PDB file to FASTA format.

Canonical amino acids and nucleotides are represented by their one-letter code while all others are represented by 'X'.

The **-multi** option splits the different chains into different records in the FASTA file.

### Usage:

-

  python pdb\_tofasta.py \[-multi\] \<pdb file\>

### Example:

-

  python pdb\_tofasta.py 1CTF.pdb

This program is part of the \`pdb-tools\` suite of utilities and should not be distributed isolatedly. The \`pdb-tools\` were created to quickly manipulate PDB files using the terminal, and can be used sequentially, with one tool streaming data to another. They are based on old FORTRAN77 code that was taking too much effort to maintain and compile. RIP.
