Loading input files¶
fetch 2gb1: loads a pdb/cif file
set assembly, 1;fetch 6bb5, 6bb5_fullloads a biological unit 1 for the 6bb5 as 6bb5_full
Selecting stuff¶
select resn hemselects by residue name
select resi 12+13+14selects three residues by residue index
select bb, name C+N+CA+Oselects protein backbone atoms by name, selection is stored under the name bb (as backbone)
select sidechains_A, chain A and (not bb)selects sidechains from chain A just by selecting anything that is not backbone
select segment, resi 155-167selects three residues and names them segment
select !polymerselects all water molecules, bufefer, cofactors etc
See also selection algebra 2 page on PyMOL wiki
Hide & Show¶
Extract, copy or remove¶
remove solvent: remove solvent (water molecules)
remove resn hoh: remove residues by name - in this case also removes water molecules
Working with electron density¶
fetch 3av2, type=2fofcdownload the 2fofc electron density map; Note, that the density will be loaded into an object named 3av2_2fofc
map_double 3av2_2fofcdoubles the grid for electron density map tabulation
isomesh 3av2_mesh, 3av2_2fofc, 2.0create a mesh object named3av2_meshfor the whole cell, using the density map 3av2_2fofc; use sigma=2.0 when displaying
isomesh map, 3av2_2fofc, 2.0, 3av2draws a mesh just for the 3av2 object
Miscellanea¶
reinit: clear and delete everything
get_symmetry object-name: prints unit cell parameters and space group name as e.g. “P212121”
References