PDB_TOFASTA(1)

πŸ“¦
version 2.5.1 Β· 3 versions
, in debian trixie, ubuntu questing

πŸ’– 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