Differences between revisions 31 and 85 (spanning 54 versions)
Revision 31 as of 2011-03-02 01:11:08
Size: 2275
Editor: jgalaz
Comment:
Revision 85 as of 2011-03-04 07:53:57
Size: 5962
Editor: jgalaz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{{#!wiki caution
TESTING WIKI ADMONITIONS
}}}
Line 2: Line 6:
== Wed PM Practical ==
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 insisting on doing extensive sub-volume averaging on chaperons.
== Wednesday March 16, 2011 - P.M. Practical EMAN2 SPT tutorial ==
Line 5: Line 8:
This session will cover the beta version of a small fraction of the SPT There is no Wiki version of the tutorial as of now. You MUST download it as a PDF or word document, provided below.
Line 7: Line 10:
== OUTLINE ==
 * 1) SPT processing through EMAN2's workflow: e2workflow.py
 * 2) Sub-volume extraction from tomograms using 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
The links SHOULD work directly (it is safe to do right-click followed by "save as"). If not, once you click on the link, it will take you to another page where you'll see a "DOWNLOAD" link. Click on that to get the corresponding file.

== TUTORIAL DOCUMENT ==

||<style="color: #FF0000; font-weight: bold;"> PDF ||
[[attachment:eman2_spt_tutorial.pdf| eman2_spt_tutorial.pdf|&do=get]]

||<style="color: #FF0000; font-weight: bold;"> WORD 2008 ||
[[attachment:eman2_spt_tutorial.docx| eman2_spt_tutorial.docx|&do=get]]
Line 21: Line 29:
[[attachment:e15phaseplate.rec]] [[attachment:e15phaseplate.rec| e15phaseplate.rec|&do=get]]
Line 25: Line 33:
[[attachment:e15normal.rec]] [[attachment:e15normal.rec| e15normal.rec|&do=get]]

== PREPARED COORDINATES FILES ==

[[attachment:e15phaseplate_coords.txt| e15phaseplate_coords.txt|&do=get]]

[[attachment:e15normal_coords.txt| e15normal_coords.txt|&do=get]]

== REFERENCES ==

[[attachment:e15ref_prep_icos_thr_norm.hdf| e15ref_prep_icos_thr_norm.hdf|&do=get]]


[[attachment:e15ref_prep_asym_thr_norm.hdf| e15ref_prep_asym_thr_norm.hdf|&do=get]]

[[attachment:e15reference_raw.hdf| e15reference_raw.hdf|&do=get]]





= ANYTHING BELOW THIS MARK IS DEPRECATED =

This session will cover the beta version of a small fraction of the possibilities for SPT processing EMAN2 will eventually offer.

== 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''


Line 28: Line 70:
You have two options for opening the tomogram for purposes of boxing it. There are two options for opening the tomogram for purposes of boxing it.
Line 30: Line 72:
1) Directly, by typing e2tomoboxer.py followed my the path to the tomogram file on the commandline: 1) Directly, by typing e2tomoboxer.py followed my the path to the tomogram file at the commandline.
Line 32: Line 74:
{{{
e2tomoboxer.py e15phaseplate.rec
}}}
2) Or you can launch e2workflow.py from the commandline and access a tomogram through the browser in the tomographic menu.
Line 36: Line 76:
2)Or you can launch e2workflow.py from the commandline and access a tomogram through the browser in 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, but this is NOT recommendable, unless you have a grossly large (VERY, VERY large) amount of virtual memory on your computer; otherwise, things will crash].
[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].
Line 43: Line 82:
To launch the GUI that will show you the tomogram (you're free to choose whichever 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
}}}

 ''' ''EXPLANATION'' '''

 '''To specify --yshort, or not to'''

  This option will FLIP the 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.

 '''Ok... but WHY? What does this mean?'''

  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__'''. If you open one of these tomograms "as is", you'll be looking at it "from the side".
  Most of the time you want the slimmest part of the volume to be aligned along Z (NOT Y), so you can see the 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 pre-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 ran the command and took a leap of faith in skipping the explanation, you will probably have already clicked a few things in the GUI (Graphical User Interface with nice 'clickable' buttons) that popped up.
''~-(I hope you did; extensive explanations really ought to be read only when following the execution boxes doesn't work smoothly, when you're confused, when you have a lot of time to spare and nothing better to do, or when you're a purist [slightly OCD] about reading manuals in their entirety with the noble purpose of getting the most out of them).-~''

=== USING THE WORKFLOW FOR SPT ===

The e2tomoboxer.py GUI should look like this:
{{attachment:image.png|alt text|width=100 height=150}}

This window is called __

You will notice...

TESTING WIKI ADMONITIONS

Single Particle Tomography in EMAN2

Wednesday March 16, 2011 - P.M. Practical EMAN2 SPT tutorial

There is no Wiki version of the tutorial as of now. You MUST download it as a PDF or word document, provided below.

The links SHOULD work directly (it is safe to do right-click followed by "save as"). If not, once you click on the link, it will take you to another page where you'll see a "DOWNLOAD" link. Click on that to get the corresponding file.

TUTORIAL DOCUMENT

PDF

eman2_spt_tutorial.pdf

WORD 2008

eman2_spt_tutorial.docx

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

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:

e15phaseplate.rec

The following tomogram also comes from a tilt series of epsilon15 viruses in vitro but was recorded under conventional cryoEM imaging conditions:

e15normal.rec

PREPARED COORDINATES FILES

e15phaseplate_coords.txt

e15normal_coords.txt

REFERENCES

e15ref_prep_icos_thr_norm.hdf

e15ref_prep_asym_thr_norm.hdf

e15reference_raw.hdf

ANYTHING BELOW THIS MARK IS DEPRECATED

This session will cover the beta version of a small fraction of the possibilities for SPT processing EMAN2 will eventually offer.

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

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 the GUI that will show you the tomogram (you're free to choose whichever you prefer, "e15normal.rec" or "e15phaseplate.rec") type the following COMMAND #001 at the commandline:

COMMAND #001

e2tomoboxer.py e15normal.rec --yshort --inmemory
  • EXPLANATION

    To specify --yshort, or not to

    • This option will FLIP the 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.

    Ok... but WHY? What does this mean?

    • 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. If you open one of these tomograms "as is", you'll be looking at it "from the side". Most of the time you want the slimmest part of the volume to be aligned along Z (NOT Y), so you can see the 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 pre-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 ran the command and took a leap of faith in skipping the explanation, you will probably have already clicked a few things in the GUI (Graphical User Interface with nice 'clickable' buttons) that popped up. (I hope you did; extensive explanations really ought to be read only when following the execution boxes doesn't work smoothly, when you're confused, when you have a lot of time to spare and nothing better to do, or when you're a purist [slightly OCD] about reading manuals in their entirety with the noble purpose of getting the most out of them).

USING THE WORKFLOW FOR SPT

The e2tomoboxer.py GUI should look like this:

This window is called

You will notice...

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