PDB_SELRESNAME(1)

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

πŸ‘‘ pdb_selresname β€” the manual, but make it cute πŸ’…

okay bestie, welcome to pdb_selresname, part of the pdb-tools era (version 2.5.1, section 1 of the manual, iykyk). this is the little utility that goes through your PDB file and keeps only the residues whose names you're obsessed with. let's get into it 🫢


✨ NAME ✨

pdb_selresname β€” manual page for pdb_selresname 2.5.1 πŸ’–


🌸 DESCRIPTION 🌸

heads up, the very first thing this thing will tell you if you get it wrong is literally: pdb_selresname Residue name is invalid: '-HELP' β€” so yeah, no cap, <option> is not a vibe you can just make up πŸ’€

so what does it actually do? it selects all residues matching the given name in the PDB file. that's it, that's the whole main character moment ✨

and here's the tea: residue names are matched *without* taking into consideration spaces. so don't come at it with your whitespace drama, it does not care πŸŽ€

πŸ¦‹ Usage:

python pdb_selresname.py -<option> <pdb file>

πŸ“ Example:

python pdb_selresname.py -ALA 1CTF.pdb
       # keeps only Alanines
python pdb_selresname.py -ASP,GLU 1CTF.pdb
       # keeps (-) charged residues

so like, <yellow>-ALA</yellow> on 1CTF.pdb keeps only Alanines (iconic, simple, slay), and <yellow>-ASP,GLU</yellow> keeps the (-) charged residues. comma-separated names, go off πŸ‘‘


🌈 the lore 🌈

This program is part of the pdb-tools suite of utilities and should not be distributed isolatedly β€” fr fr, it's a package deal, don't split up the friend group πŸ™ˆ

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. the pipeline energy is unmatched, it's giving relay race, it's giving pipes πŸ”₯

They are based on old FORTRAN77 code that was taking too much effort to maintain and compile. RIP. πŸ’€πŸ•―οΈ not the ancient FORTRAN77 era, we mourn her but we do not miss the compiling, ngl.


that's the whole page bestie, go filter some residues πŸ’…βœ¨

this lil manual was served to you by pdb_selresname 2.5.1, dated September 2024, filed under PDB_SELRESNAME(1) β€” love that for us, mwah πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from