PDB_INTERSECT(1)

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

πŸ’– PDB_INTERSECT πŸ’–

okay bestie, welcome to the manual page for pdb_intersect, version 2.5.1 β€” it lives in section 1 (User Commands) of the manual, and honestly? it's giving quiet genius. ✨


🌸 NAME 🌸

pdb_intersect β€” the manual page for pdb_intersect 2.5.1. that's it, that's the name section, we move. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

not me getting this on the first line though: pdb_intersect File not found or not readable: '--help'

okay so literally the first thing this thing says is that. iconic behaviour, honestly. anywayβ€”

pdb_intersect returns a new PDB file that contains only the atoms in common to all of the input PDB files. the intersection, babes. the overlap. the shared girlies. πŸ’–

atoms are judged equal when their name, altloc, res. name, res. num, insertion code and chain fields are the same. no cap, that's the whole vibe check β€” those six fields match, you're in.

the coordinates are taken from the first input file. first file is the main character here, sorry to everyone else. πŸ‘‘

it also keeps matching TER/ANISOU records. we love a thorough queen. ✨

πŸŽ€ Usage πŸŽ€

python pdb_intersect.py <pdb file> <pdb file>

πŸ“ Example πŸ“

python pdb_intersect.py 1XYZ.pdb 1ABC.pdb

this program is part of the pdb-tools suite of utilities and should not be distributed isolatedly. she's a package deal, bestie, you can't just take her out of the group chat. 🫢

the pdb-tools were created to quickly manipulate PDB files using the terminal, and they can be used sequentially, with one tool streaming data to another. it's a pipeline, it's a relay race, it's teamwork. 🌈

they're based on old FORTRAN77 code that was taking too much effort to maintain and compile. RIP πŸ˜­πŸ’€


so yeah. that's the page. pdb_intersect 2.5.1, from September 2024, page PDB_INTERSECT(1) β€” go intersect some atoms, you absolute legend. πŸ§šπŸ’œ

πŸ“¦ where this page comes from