User Tools

Site Tools


If the first residue in the structure file for a starting PDB is 4, to change this to 0, write in PyMol:

alter name, resi=str(int(resi)-4) (name= object name or sele) → subtract 4 from each residue number; + number would add)

With the same command, you also can rename a chain: select group of residues and then type

alter sele, chain='A' (chain A is defined)

or a selected atom:

alter sele, name='H3' (atom is renamed to H3)

renumber_residues_rename_chains.txt · Last modified: 2016/11/16 06:27 by root