PDB_TOFASTA(1)
π PDB_TOFASTA π
okay bestie, so the manual name is pdb_tofasta and this is PDB_TOFASTA(1) β it's a User Commands situation, and we're on version 2.5.1. sit down, hydrate, let's get into it π«Ά
β¨ NAME β¨
pdb_tofasta β the manual page for pdb_tofasta 2.5.1 π
πΈ DESCRIPTION πΈ
okay so first things first, if you mess up the invocation you get greeted with this, literally verbatim:
pdb_tofasta You provided an invalid option: '-help'
no cap, that's what it says. moving on π¦
So what does it even do? It extracts the residue sequence in a PDB file to FASTA format. That's the whole vibe. β¨
The canonical amino acids and the nucleotides? They get represented by their one-letter code. Everything else β every single one of them β gets represented by 'X'. No exceptions, no notes. π
And then there's the -multi option, which is lowkey iconic: it splits the different chains into different records in the FASTA file. one chain, one record. separate. periodt. π
π Usage:
python pdb_tofasta.py [-multi] <pdb file>
π Example:
python pdb_tofasta.py 1CTF.pdb
π THE LORE π
This program is part of the pdb-tools suite of utilities and should not be distributed isolatedly. fr fr, don't do that. π
The pdb-tools were created to quickly manipulate PDB files using the terminal, and they can be used sequentially β one tool streaming data to another. it's giving pipeline main character energy. π₯
They're based on old FORTRAN77 code that was taking too much effort to maintain and compile. RIP. π we honor the fallen.
sign-off time π§: this was pdb_tofasta 2.5.1, dated September 2024, and yeah β PDB_TOFASTA(1), that's us. mwah πβ¨
π¦ where this page comes from
- debian trixie: pdb-tools 2.5.1-2 Β· Apache-2.0
- ubuntu questing: pdb-tools 2.5.1-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms