####################
ERRASER (Enumerative Real-Space Refinement ASsitted by Electron density under Rosetta)
####################
This README was written in Mar. 2012, by Fang-Chieh Chou (fcchou@stanford.edu).
This demo illustrates a protocol to improve an RNA crystallographic model using Rosetta under the constraint of experimental electron density map.
A paper is to be published: Chou, F.C., Sripakdeevong, P., Dibrov, S.M., Hermann, T., and Das, R. Correcting pervasive errors in RNA crystallography with Rosetta, arXiv:1110.0276.
A preprint is available at http://arxiv.org/abs/1110.0276
The example input files are in rosetta_input; you may wish to copy them locally with the command:
cp rosetta_inputs/* ./
Python codes needed to run the job is located at rosetta/rosetta_tools/ERRASER/
The following setup steps are required prior to running this demo.
1. Download and install PHENIX from http://www.phenix-online.org/. PHENIX is free for academic users.
2. Ensure you have correctly setup PHENIX. As a check, run the following command:
phenix.rna_validate
3. Check if you have the latest python (v2.7) installed. If not, go to the rosetta/rosetta_tools/ERRASER/ folder and run
./convert_to_phenix.python
This will change the default python used by the code to phenix-built-in python, instead of using system python.
4. Set up the environmental variable "$ROSETTA", point it to the Rosetta folder. If you use bash, append the following lines to ~/.bashrc :
"ROSETTA=YOUR_ROSETTA_PATH; export ROSETTA" ##Change YOUR_ROSETTA_PATH to the path in your machine##
Also add the ERRASER script folder to $PATH. Here is a bash example:
"PATH=$PATH:YOUR_ROSETTA_PATH/rosetta_tools/ERRASER/" ##Change YOUR_ROSETTA_PATH to the path in your machine##
Now you are ready to go!
As a fast quick run, run the following command:
erraser.py -pdb 1U8D_cut.pdb -map 1U8D_cell.ccp4 -map_reso 1.95 -fixed_res A33-37 A61 A65
In this example, we specify the input pdb file, ccp4 map file and the map resolution. The -pdb and -map are required option, and -map_reso is optionalbut recommanded (default is 2.0 if no input is given). In this example, the "1U8D_cut.pdb" file is a segment cutting from a deposited PDB file. The input pdb file should follow the standard PDB format, and no pre-processing is needed. The input map must be a CCP4 2mFo-DFc map. To avoid overfitting, Rfree reflection should be removed during the creation of the map file.
Note that we also mannualy fixed the position of residue 33-37, 61 and 65 in chain A, therefore we will only optimize residue 62-64. The -fixed_res argument is optional.
After the job finished sucessfully, you should see the output pdb file "1U8D_cut_erraser.pdb" in the current folder. A sample output is in the example_output folder for comparsion.
Note that the output file is in the standard PDB format and inherits all the ligands, metals and waters from the input pdb file (these atoms are not optimized in ERRASER). The user can then refine the output model using PHENIX or other refinement packages without any post-processing.
By inspecting the structure, you should be able to see a backbone conformation change at residue 63-64 after ERRASER.
Arguments for erraser.py are listed below for your reference:
Required:
-pdb
Format: -pdb
The starting structure in standard pdb format
-map
Format: -map