User Tools

Site Tools


renumber_residues_rename_chains

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
renumber_residues_rename_chains [2016/03/07 14:29]
root created
renumber_residues_rename_chains [2016/11/16 06:27]
root
Line 1: Line 1:
 If the first residue in the structure file for a starting PDB is 4, to change this to 0, write in PyMol:\\ 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= name of your PDB, sele, ... Just remove the offset of 4 from each atom) \\+''​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 \\+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)\\ ''​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