PDB_SELELEM(1)

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

πŸ’– PDB_SELELEM πŸ’–

okay so bestie, welcome to pdb_selelem β€” it's the little element-picker from the pdb-tools fam, version 2.5.1, manual page PDB_SELELEM(1), living in the User Commands section. it is literally your girl for grabbing atoms by element. sit down, hydrate, let's go 🫢


✨ NAME ✨

pdb_selelem β€” the manual page for pdb_selelem 2.5.1, and no, we're not being modest about it πŸ’…


🌸 DESCRIPTION 🌸

So like. When you run it with something it doesn't vibe with, it will yell at you like this:

pdb_selelem Element name is invalid: '-HELP'

and honestly? fair.

What it actually does: it selects all the atoms that match the element(s) you give it in the PDB file. that's the whole thing, that's the assignment, and it ate πŸ”₯

And listen β€” the elements are read from the element column. Not vibes. Not guesses. The element column. periodt.


πŸŽ€ Usage: πŸŽ€

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

like, that's it. that's the whole syntax bestie, it's giving minimalist πŸ‘‘


πŸ¦‹ Example: πŸ¦‹

Select all the protons, easy:

python pdb_selelem.py -H 1CTF.pdb
       # selects all protons

Select all the nitrogens, also easy:

python pdb_selelem.py -N 1CTF.pdb
       # selects all nitrogens

And the combo move β€” protons AND nitrogens, we love a multitasker:

python pdb_selelem.py -H,N 1CTF.pdb
       # selects all protons and nitrogens
🌈 notice how you just chain them with a comma in -H,N. iconic behaviour. no cap.

πŸ‘‘ the pdb-tools lore πŸ‘‘

This program is part of the pdb-tools suite of utilities and should not be distributed isolatedly. like, she has a family, she has a group chat, she does not travel alone πŸ™ˆ

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 whole pipeline situation, very main character energy, one tool hands off to the next like a relay race ✨

And they're based on old FORTRAN77 code that was taking too much effort to maintain and compile.

RIP. πŸ’€πŸ•―οΈ


that's the whole page bestie, go select some elements, you're gonna slay πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

pdb_selelem 2.5.1 β€” September 2024 β€” PDB_SELELEM(1) and that's the sign-off, mwah πŸ’‹

πŸ“¦ where this page comes from