PDB_SEGXCHAIN(1)

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

πŸŽ€ PDB_SEGXCHAIN πŸ’…

okay bestie, so this is the manual page for pdb_segxchain, version 2.5.1, living its best life under User Commands. it's one of those lil command-line cuties from the pdb-tools fam. let's get into it πŸ¦‹


✨ NAME ✨

pdb_segxchain β€” the manual page for pdb_segxchain 2.5.1, no cap πŸ’–


🌸 DESCRIPTION 🌸

okay so first thing's first, if you just run it like this:

pdb_segxchain File not found or not readable: '--help'

that's literally what you get. yeah. it looked for a file and went "nope, can't find it, can't read it." iconic behavior honestly 😭

now for the actual ~main character~ job: it swaps the chain identifier by the segment identifier. that's it, that's the whole vibe. chain ID in, segment ID out. 🫢

⚠️ two things you NEED to know before you go wild: - if the segment identifier is longer than one character, the script will truncate it. bye, extra letters. βœ‚οΈ - it does not ensure unique chain IDs. so if you end up with duplicate chain IDs, that's on you, bestie. it is not doing that admin. πŸ™ˆ

🌈 Usage

python pdb_segxchain.py <pdb file>

feed it a <pdb file> and it goes to work. simple as that ✨


πŸ¦‹ Example

python pdb_segxchain.py 1CTF.pdb

see? give it 1CTF.pdb, it does the thing. slay πŸ’…


πŸ‘‘ The Lore

lowkey here's the backstory: this program is part of the pdb-tools suite of utilities and should not be distributed isolatedly. like, it's a package deal, fr fr.

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. very pipeline, very cunty, we love a chain 🌈

and the origin story?? they're based on old FORTRAN77 code that was taking too much effort to maintain and compile. so they said "not me doing this anymore" and here we are. RIP πŸͺ¦πŸ’€


πŸ’– anyways, sending love to everyone keeping these lil tools alive.

that's a wrap on pdb_segxchain 2.5.1, dated September 2024, brought to you by the pdb-tools source. go forth and swap those identifiers, bestie. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from