Phenix
Calculate electron densities using Phenix
Here are a couple of useful phenix commands to calculate electron densities. In docking, it is often useful to have a look at electron densities, especially for proteins and ligands determined at low resolution. Also, you may want to display them in Pymol: here[link] is described how you generate a electron density map in CCP4 format map, which is required for Pymol.
1. Download PDB coordinates and structure factors from PDB.ORG
To calculate a electron density, you need to download PDB coordinates and structure factors (Miller indices and measured intensities) from the PDB. On pdb.org, there is a dropdown menu on the right top corner of each entry site where PDB and structure factors can be downloaded (see image on the right).
2. Calculate electron densities from deposited structure factors
You can calculate an electron density (CCP4 format for Pymol and mtz format for Coot) using a PDB and structure factors using Phenix.
If you want a 2Fo-Fc map, simply type:
phenix.maps 4DJH.pdb 4djh-sf.cif
If you want a Fo-Fc difference density map from deposited structure factors, type:
phenix.maps 4DJH.pdb 4djh-sf.cif maps.map.map_type=Fo-F
3. Calculate a simulated annealing (SA) omit map
Sometimes it is interesting to see how much density of a ligand is left upon removal of the ligand (or protein residues or water molecules) from your model.
You can calculate a simulated annealing (SA) omit map using Phenix like this:
# remove ligands and water molecules grep -v HETATM 4DJH.pdb > 4DJH_no_HETATM.pdb # Run Phenix refinement including simulated annealing phenix.refine 4djh-sf.cif 4DJH_no_HETATM.pdb simulated_annealing=true
4. Display electron densities in Pymol
Pymol wants CCP4 maps as input. To generate those, we use Phenix as described above.
Here is a Pymol script to show density around the ligand and it's surrounding residues: