PDB_CHAINXSEG(1)

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

πŸ‘‘ pdb_chainxseg β€” the manual page, bestie edition

okay so this is PDB_CHAINXSEG(1), from the User Commands corner of the manual-verse πŸ’… it's part of pdb-tools version 2.5.1, and it does exactly one little job but it does it flawlessly. let's get into it ✨


🌸 NAME 🌸

pdb_chainxseg β€” manual page for pdb_chainxseg 2.5.1 πŸŽ€


πŸ’– DESCRIPTION πŸ’–

okay first things first, and I need you to sit down for this one:

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

yeah. that's the actual text. iconic behaviour honestly 😭 it's giving "the help flag walked in and the program simply did not recognize her." we don't fix it, we don't explain it, we just report it faithfully because that's what the page says, fr fr πŸ’€


now the actual vibe of the tool:

Swaps the segment identifier for the chain identifier.

that's it. that's the whole personality. one swap. one glow-up. the segment ID gets out of the chair and the chain ID sits down. no cap πŸ”₯

🌈 Usage:

python pdb_chainxseg.py <pdb file>

one argument, one file, that's the whole thing. pdb file goes in, swapped-out file comes out. main character energy only πŸ‘‘

πŸ¦‹ Example:

python pdb_chainxseg.py 1CTF.pdb

look at her go. 1CTF.pdb in, magic happens, you move on with your day πŸ’œ


✨ One important note, bestie ✨

This program is part of the pdb-tools suite of utilities and should not be distributed isolatedly. 🚫

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. 🫢 (it's a pipeline situation, they pass the aux cord around, we love that for them)

They are based on old FORTRAN77 code that was taking too much effort to maintain and compile.

RIP. πŸͺ¦πŸŒΈ gone but not forgotten, the ancestors paved the way


tl;dr β€” one swap, one file, no solo distribution, and eternal respect for the FORTRAN77 elders ✨

and that's the whole page, babes πŸ’– this was pdb_chainxseg version 2.5.1, dated September 2024 β€” mwah, slay, periodt, go swap those identifiers πŸŽ€πŸ‘‘πŸ’…

πŸ“¦ where this page comes from