---
name: "pdb_delelem"
section: "1"
platform: "linux"
package: "pdb-tools"
version: "2.5.1-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pdb_delelem"
---

# pdb\_delelem(1)

manual page for pdb\_delelem 2.5.1

## NAME

pdb\_delelem - manual page for pdb\_delelem 2.5.1

## DESCRIPTION

pdb\_delelem Element name is invalid: '-HELP'

Deletes all atoms matching the given element in the PDB file.

Elements are read from the element column.

### Usage:

-

  python pdb\_delelem.py -\<option\> \<pdb file\>

### Example:

- python pdb\_delelem.py **-H** 1CTF.pdb

  \# deletes all protons

- python pdb\_delelem.py **-N** 1CTF.pdb

  \# deletes all nitrogens

- python pdb\_delelem.py **-H**,N 1CTF.pdb

  \# deletes all protons and nitrogens

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. They are based on old FORTRAN77 code that was taking too much effort to maintain and compile. RIP.
