Difference between revisions of "Walkthrough on localized reconstruction"
Line 16: | Line 16: | ||
=== Download tilt series file=== | === Download tilt series file=== | ||
− | + | The aligned tilt series can be download from: | |
<tt>wget <not yet available></tt> | <tt>wget <not yet available></tt> | ||
− | This will create a file called <tt>ts.mrc</tt> in your current working directory. | + | This will create a file called <tt>ts.mrc</tt> in your current working directory. The tilt angles go from -60 to 60 in intervals of 3 degrees. |
=== Inspecting the tilt series === | === Inspecting the tilt series === | ||
Line 26: | Line 26: | ||
The tilt series at full pixel resolution can be inspected by: | The tilt series at full pixel resolution can be inspected by: | ||
− | <tt>dtmshow</tt> | + | <tt>dtmshow(ts)</tt> |
+ | |||
+ | ==== Prebinning during inspection ==== | ||
+ | You will notice that inspecting the full series in <tt>dtmshow</tt> is bound to rather slow transitions. It is more convenient to bin the images to a smaller bin level. This can be done by switching on the binning radiobutton. Thus, the accessed slices will be binned on the fl when required. | ||
+ | |||
+ | Note that the coordinates of the axis are kept to the dimension of the unbinned tilt series. | ||
+ | |||
+ | Also, it is possible to create a prebinned version of the stack for different binning levels, so that the slice is accessed already in its prebinned dimension. This can be done after <tt>dtmshow</tt> has been initialzed | ||
+ | |||
+ | |||
+ | or already when starting it (at the cost of an slower initialization) | ||
+ | |||
+ | <tt>dtmshow(ts,'bz',2)</tt> | ||
=== Geometric conventions === | === Geometric conventions === | ||
Line 47: | Line 59: | ||
In this walkthrough, we use Weighted Backprojection as reconstruction algorithm. We apply here the simplest possible filter onto the original projections: a ramp filter. | In this walkthrough, we use Weighted Backprojection as reconstruction algorithm. We apply here the simplest possible filter onto the original projections: a ramp filter. | ||
+ | |||
+ | <tt>tsf2 = dpktomo.applyRampFilter(ts2,2)</tt> | ||
=== Reconstruction === | === Reconstruction === |
Revision as of 10:15, 1 November 2017
ARTICLE IN CONSTRUCTION, SORRY
In this walkthrough, we use localized reconstruction to reconstruct a set of subtomograms at full pixel resolution without the requirement of creating a full reconstruction first. In this approach, we:
- create a reconstruction at low resolution
- mark the coordinates of interest in the low resolution reconstruction
- reconstruct separately the different coordinates at full resolution
For the sake of simplicity, in this walkthrough, the landmarks of interest will be simply the gold beads, which are trivially recognizable both in tomograms and in projections in the tilt series.
Contents
Example data set
The data set is an aligned tilt series. No filtering has been performed on it.
Source
The tilt series was used in the publication Cryo-EM structure of the extended type VI secretion system sheath-tube complex (J Wang et. al - Nature microbiology, 2017).
Download tilt series file
The aligned tilt series can be download from:
wget <not yet available>
This will create a file called ts.mrc in your current working directory. The tilt angles go from -60 to 60 in intervals of 3 degrees.
Inspecting the tilt series
The tilt series at full pixel resolution can be inspected by:
dtmshow(ts)
Prebinning during inspection
You will notice that inspecting the full series in dtmshow is bound to rather slow transitions. It is more convenient to bin the images to a smaller bin level. This can be done by switching on the binning radiobutton. Thus, the accessed slices will be binned on the fl when required.
Note that the coordinates of the axis are kept to the dimension of the unbinned tilt series.
Also, it is possible to create a prebinned version of the stack for different binning levels, so that the slice is accessed already in its prebinned dimension. This can be done after dtmshow has been initialzed
or already when starting it (at the cost of an slower initialization)
dtmshow(ts,'bz',2)
Geometric conventions
In Dynamo, we call stack 3d center to a point (xsc, ysc,zsc) univocally defined by a stack of micrographs:
- xsc and zsc and determined by the rotation axis implicitly defined by the alignment.
- ysc is the center of the stack along direction y, defined as floor(Ny/2)+0.5; for a tilt series with Ny pixels along y.
Creation of a binned reconstruction
Binned tilt series
We bin the original tilt series:
ts2 = dpktilt.bin(ts,2)
This command applies a binning of level two to the micorgraphs in the matrix ts separately. Note that the dimensions of the new matrix are floor( [sx,sy]/22<2>).
Filtered tilt series
In this walkthrough, we use Weighted Backprojection as reconstruction algorithm. We apply here the simplest possible filter onto the original projections: a ramp filter.
tsf2 = dpktomo.applyRampFilter(ts2,2)
Reconstruction
As we have binned the tiltseries, a reconstruction at the full extent of the tomogram will fit easily in memory. We need to chose a size of the output tomogram, expressed in pixels of the stack By default, the center of the reconstructed volume will be located at the stack 3d center.
orec = dpktilt.math.backproject([400,400,300],ts2,tiltAngles);</toc>
The output orec contains the reconstructed volume (as field v), and other information, including a description of the geometrical relationship between the reconstucted volume and the tilt series. We will use this information later.
CTF considerations
For simplicity, we are skipping the CTF correction step in this walkthrough, where we are only interested in the geometrical manipulations. In a real case, you would just use a version of the tilt series where each micrograph has been phase-flipped according to a defocus estimation computed on the full micrograph.
Annotation on binned reconstruction
Location of 3d annotations on 2d tilt series
Visualization
The basic tool for visualizing sets of 2d markers defined on a tilt series is dmarkers
Localized reconstruction
Reconstruct a single area
Reconstruction into a data folder
The command dtrec is the counterpart of dtcrop for tilt series. It loops on the positions inside a table