Run-through example for helical structure using simulated data 8/06/2013
This is a demo to show the workflow of helical refinement.
Download file helical_mpi.tar and unpack it using the following command:
tar -xvf helical_mpi.tar
Or see below for a New Approach
You need to copy the commands from run_through_example and paste them on your terminal to run them. For helical refinement, we only provide an MPI version. Depending on your computational environment, you need to change the mpirun command.
To generate the script for 3D structure determination of helical filaments with helical symmetry based constraints (sxhelicon), use the following command:
- sxhelical_demo.py --generate_script --filename=runhelicon --seg_ny=180 --ptcl_dist=15 --fract=0.35
This will generate a script called runhelicon containing the commands for windowing a stack of 200 by 200 segments with a distance of 15 pixels between adjacent segments windowed from the same 2D projection of a helical filament, and where the y-dimension of the segment size used in refinement is 180 pixels, with 0.35 of the volume used for applying helical symmetry during the refinement process. For additional details see sxhelicon
In addition to documentation on sxhelicon , parameters are documented for programs used in the example, including (alphabetically) sxcter , sxheader , sxhelical_demo , sxhelixboxer , sxihrsr , sxpdb2em , sxprocess , sxshiftali
There are six files in this directory. The function of some of the files are explained below:
3MFP_1SU.tar.gz contains the pdb file for one unit of helical structure.
saved_pos.tar.gz contains the coordinate file of helix box. Based on its information, we can cut the filament from the micrograph and rotate the filament to a nearly vertical position. We provide this file to help you to run the demo faster by skipping the manual boxing step. However, you still need GUI enviroment to run the pre-processing steps.
answer.tar.gz contains the result of our previous run. reuslt_a is the first run without considering the out-of-plane angle. result_b is the continuous run based on result_a but with out-of-plane angle. The logifle, parameter files and pixer file are stored in both folders.
To learn how to interactively mark filaments in micrographs and store the coordinates using sxhelixboxer.py, please watch the movie E2helixboxer.mov.
The preprocessing steps can be completed within ten minutes on a Mac workstation. The first run of helical refinement without out-of-plane angle may take half an hour on 3 or 4 CPUs. The second run that includes the out-of-plane tilt angle will take much longer time on 3 or 4 CPUs. tmp.hdf is the ideal volume generated from pdb file, but is much longer than the volume produced by our program. For comparison, you will need window and pad tmp.hdf to the same size with the volume generated by our program.
Download this file : helicon.tar
Notes to help get started
Install a current version of EMAN2 before you begin
If you have trouble getting MPI running on your machine, edit install_mpi.py so that
- def get_mpiroot(options):
returns 'False' no matter what, and then type the command
- install_mpi.py --force
This will create a version of mpi in your own area, that has everything needed.
Micrographs should be in a subdirectory called 'mic' with filenames like micxxx.hdf (where xxx is a number)
After running e2helixboxer.py , the 'mic' directory will have files called 'micxxx_boxes.txt'
- These files have the start and stop positions of each filament from micrograph xxx
Before creating boxed images (segments) from these filaments
determine the CTF using cxcter.py, with or without the GUI
When windowing segments using e2helixboxer.py ,
- make sure that you only include filaments with more than 3 segments, using --minseg=4 (or larger)
Segments (boxed filaments) will be stored in the directory mic/outdir (which will be created)
What is in the mic/outdir directory:
micxxx_abox_y.hdf is a stack of boxed segments from a single filament; in this case, the y th filament from micrograph xxx micxxx_helix_ptcl_coords.txt is a list of x-y coordinates to create stacks of particles from all filaments in a single micrograph xxx
Author / Maintainer
Pawel Penczek, email: Pawel.A.Penczek@uth.tmc.edu