Differences between revisions 55 and 133 (spanning 78 versions)
Revision 55 as of 2011-03-02 02:07:00
Size: 4304
Editor: jgalaz
Comment:
Revision 133 as of 2012-04-01 01:51:01
Size: 2189
Editor: jgalaz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
== Wednesday March 16, 2011 - P.M. Practical EMAN2 SPT tutorial ==
SPT (single particle tomography) capabilities are relatively new in EMAN2. They were inspired by Michael Schmid's studies on sub-volume averaging (mostly on viruses), and a stubborn student's insistence on doing extensive sub-volume averaging on chaperons.
== Wednesday - P.M. ==
Line 5: Line 4:
This session will cover the beta version of a small fraction of the possibilities for SPT processing EMAN2 will eventually offer. This session will cover the new tools for single particle tomography in EMAN2. Unfortunately, this technique is very memory-intensive and compute-intensive.
The 3 gb of ram available on the workshop computers is barely sufficient to do some small examples, and full 3-D alignments of large sets of particles can
take many hours of computation.
Line 7: Line 8:
== OUTLINE ==
 * 1) SPT processing through EMAN2's workflow (e2workflow.py)
 * 2) Sub-volume extraction from tomograms using EMAN2's 3D particle picking tool (e2tomoboxer.py)
 * 3) "Preparation" of extracted particles for alignment. [Details later. /!\ For a myriad of reasons, it is NOT recommendable to align and average sub-volumes directly after extraction without "preparing" them first].
 * 4) Reference-based alignment and averaging.
 
 <!> ''PLEASE NOTE that "particle" and "sub-volume" are used interchangeably''
So, for purposes of the tutorial, we will learn how to use the particle picker, and do a couple of small examples which can be completed
in the available time.
Line 15: Line 11:
== SOFTWARE ==
All necessary software is provided as part of EMAN2. If you don't have EMAN2 installed, you can download the most updated version (for your specific platform, Windows, Linux or Mac), from here:
 
[[http://ncmi.bcm.edu/ncmi/software/counter_222/software_86]]
== DATA ==
[[attachment:e2spt_data.zip| e2spt_data.zip|&do=get]]
Line 20: Line 14:
== RAW DATA ==
We have prepared sample data for this tutorial. The tomogram in the link below comes from a tilt series of epsilon15 virus particles ''in vitro'', recorded using Zernike phase-plate technology:
== TUTORIAL DOCUMENT ==
Not available here for now. Get it through this site:
Line 23: Line 17:
[[attachment:e15phaseplate.rec]] http://blake.bcm.edu/emanwiki/Ws2011/Agenda
Line 25: Line 19:
The following tomogram also comes from a tilt series of epsilon15 viruses ''in vitro'' but was recorded under conventional cryoEM imaging conditions: == Monstrous command for alignment with e2classaverage3d.py ==
Line 27: Line 21:
[[attachment:e15normal.rec]]

== BOXING ==
There are two options for opening the tomogram for purposes of boxing it.

1) Directly, by typing e2tomoboxer.py followed my the path to the tomogram file at the commandline.

2) Or you can launch e2workflow.py from the commandline and access a tomogram through the browser in the tomographic menu.

[In theory, you can open a tomogram for contemplation purposes by typing: "e2display.py <my_tomogram_path_name_goes_here>" at the commandline.
/!\ This is NOT recommendable, unless you have a grossly large (VERY, VERY large) amount of virtual memory on your computer; otherwise, catastrophe WILL befall upon you].

Let's explore the FIRST APPROACH.

=== OPENING A TOMOGRAM DIRECTLY WITH e2tomoboxer.py ===
To launch one of the tomograms provided (you're free to choose which ever you prefer, "e15normal.rec" or "e15phaseplate.rec") type the following COMMAND #001 at the commandline:

||<style="color: #FF0000; font-weight: bold;">COMMAND #001||
{{{
e2tomoboxer.py e15normal.rec --yshort --inmemory
}}}
e2classaverage3d.py --input=e15pp_set1_stack.hdf --output=e15pp_set1_aligned.hdf --ref=e15ref_prep_icos_bin2.hdf --npeakstorefine=1 -v 3 --mask=mask.sharp:outer_radius=48 --preprocess=filter.lowpass.gauss:cutoff_freq=.02 --align=rotate_translate_3d:search=10:delta=8:dphi=8:verbose=1:sym=icos --parallel=thread:2 --ralign=refine_3d_grid:delta=3:range=9 --averager=mean.tomo --aligncmp=ccc.tomo --raligncmp=ccc.tomo --shrink=3 --shrinkrefine=3 --savesteps --saveali --iter=8 --normproc=normalize --sym=c1 --keep=0.8
Line 50: Line 24:
 '''To specify --yshort, or not to'''
Line 52: Line 25:
  This option will FLIP orientation of your tomogram respect to the Y and Z coordinates. You should ONLY specify it IF the tomogram has its smallest/slimmest dimension running along the Y-axis, so that it becomes parallel to the Z-axis instead. == Monstrous command for alignment with e2tomoallvsall.py ==
Line 54: Line 27:
 '''Ok... but, still, WHY? What does this mean?''' e2tomoallvsall.py -v 1 --path=AVSAs087 --input=CENTEREDvsD8aliVSapo_s087.hdf --shrink=3 --shrinkrefine=2 --iter=87 --mask=mask.sharp:outer_radius=36 --npeakstorefine=16 --preprocess=filter.lowpass.gauss:cutoff_freq=.02:apix=4.401 --align=rotate_translate_3d:search=4:dphi=12:delta=12 --parallel=thread:24 --ralign=refine_3d_grid:delta=3:range=12:search=2 --averager=mean.tomo --aligncmp=ccc.tomo --raligncmp=ccc.tomo --saveali --savesteps -v 2 --postprocess=filter.lowpass.gauss:cutoff_freq=.02:apix=4.401 --autocenter --exclusive_class_min=8 --normproc=normalize
Line 56: Line 29:
  Some tomograms are built with the slimmest part of the 3D volume (that corresponding to the "ice thickness" in cryoEM) running along the Y-axis. BUT '''__in EMAN2 volumes are displayed such that the Z-axis is perpendicular to the screen__'''.
Ideally, you would want the slimmest part of the volume to be aligned along Z (NOT Y) so you can view the entire tomogram "from the TOP", and look at the entire CCD-captured area in the XY plane slice by slice, as you go through the volume.

 '''--inmemory'''

  This option loads your tomogram to memory, allowing to box particles (or do whatever you want to do in e2tomoboxer) more "smoothly" (faster), because reading data "from memory" is faster than reading it "from disk".

  You can get the entire list of options that e2tomoboxer.py takes (not many at this point) and some sort of explanation of what they're for by typing the following at the commandline:
  {{{
  e2tomoboxer.py -h
  }}}

If you took a leap of faith and ran the command (which I hope you did; extensive explanations really ought to be read only when following the execution boxes doesn't work smoothly)

=== USING THE WORKFLOW FOR SPT ===
== Monstrous command for e2spt_sim.py ==
e2tomosim.py --input=../groRef_scaled_bin2.hdf --snr=5 --nptcls=2 --tiltstep=5 --tiltrange=60 --transrange=10 --saveprjs --noiseproc=math.addnoise

Single Particle Tomography in EMAN2

Wednesday - P.M.

This session will cover the new tools for single particle tomography in EMAN2. Unfortunately, this technique is very memory-intensive and compute-intensive. The 3 gb of ram available on the workshop computers is barely sufficient to do some small examples, and full 3-D alignments of large sets of particles can take many hours of computation.

So, for purposes of the tutorial, we will learn how to use the particle picker, and do a couple of small examples which can be completed in the available time.

DATA

e2spt_data.zip

TUTORIAL DOCUMENT

Not available here for now. Get it through this site:

http://blake.bcm.edu/emanwiki/Ws2011/Agenda

Monstrous command for alignment with e2classaverage3d.py

e2classaverage3d.py --input=e15pp_set1_stack.hdf --output=e15pp_set1_aligned.hdf --ref=e15ref_prep_icos_bin2.hdf --npeakstorefine=1 -v 3 --mask=mask.sharp:outer_radius=48 --preprocess=filter.lowpass.gauss:cutoff_freq=.02 --align=rotate_translate_3d:search=10:delta=8:dphi=8:verbose=1:sym=icos --parallel=thread:2 --ralign=refine_3d_grid:delta=3:range=9 --averager=mean.tomo --aligncmp=ccc.tomo --raligncmp=ccc.tomo --shrink=3 --shrinkrefine=3 --savesteps --saveali --iter=8 --normproc=normalize --sym=c1 --keep=0.8

Monstrous command for alignment with e2tomoallvsall.py

e2tomoallvsall.py -v 1 --path=AVSAs087 --input=CENTEREDvsD8aliVSapo_s087.hdf --shrink=3 --shrinkrefine=2 --iter=87 --mask=mask.sharp:outer_radius=36 --npeakstorefine=16 --preprocess=filter.lowpass.gauss:cutoff_freq=.02:apix=4.401 --align=rotate_translate_3d:search=4:dphi=12:delta=12 --parallel=thread:24 --ralign=refine_3d_grid:delta=3:range=12:search=2 --averager=mean.tomo --aligncmp=ccc.tomo --raligncmp=ccc.tomo --saveali --savesteps -v 2 --postprocess=filter.lowpass.gauss:cutoff_freq=.02:apix=4.401 --autocenter --exclusive_class_min=8 --normproc=normalize

Monstrous command for e2spt_sim.py

e2tomosim.py --input=../groRef_scaled_bin2.hdf --snr=5 --nptcls=2 --tiltstep=5 --tiltrange=60 --transrange=10 --saveprjs --noiseproc=math.addnoise

Ws2011/Spt (last edited 2012-07-05 01:16:47 by jgalaz)