Molecule Tutorials - Herong's Tutorial Examples - v1.26, by Herong Yang
"edit id n1, id n2, id n3, id n4" Commands
This section provides a tutorial on how to select picked atoms, pk1, pk2, pk3, pk4 using 'edit id n, ...' command in PyMol.
If you don't want to use the mouse to select picked atoms, pk1, pk2, pk3 and pk4, you can use the "edit id n1, id n2, id n3, id n4" command select picked atom by giving atom index numbers.
For example, the following command selects 4 picked atoms in the molecule:
PyMOL>edit id 6, id 9, id 10, id 11 Selector: selection "pk1" defined with 1 atoms. Selector: selection "pk2" defined with 1 atoms. Selector: selection "pk3" defined with 1 atoms. Selector: selection "pk4" defined with 1 atoms.
Table of Contents
Molecule Names and Identifications
Nucleobase, Nucleoside, Nucleotide, DNA and RNA
"pk1", "pk2", "pk3" and "pk4" Selections
►"edit id n1, id n2, id n3, id n4" Commands
"remove pk*" and "remove_picked" Commands
"unbond pk1, pk2" and "bond pk1, pk2" Commands
"replace new_atom, ..." Replace pk1 with New Atom
"attach new_atom, ..." Attach to pk1 with New Atom
Build Alcohol Molecule with PyMol
ChEMBL Database - European Molecular Biology Laboratory
PubChem Database - National Library of Medicine
INSDC (International Nucleotide Sequence Database Collaboration)
HGNC (HUGO Gene Nomenclature Committee)