You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Next »

Sometimes the results of bead tracking on the full-res .preali are less than desirable. This is frequently the case for tilt series acquired using the 8k x 8k camera from the 4000 #2. Luckily, good results can often be obtained by performing the tracking on a binned version of the .preali file.

 

(A) Preparing the .preali and .seed files

1. Bin the .preali file in two dimensions (X and Y). For data from the 8k x 8k camera, I've found that good results can be achieved using a binning factor of 8:

$ newstack -bin 8 basename.preali basename.bin8.preali

2. Scale the .seed file so it matches the coordinates of the binned .preali file:

$ imodtrans -i basename.bin8.preali basename.seed basename.bin8.seed

 

(B) Prepare the parameter file that will be used to run beadtrack

The next step is to run beadtrack using the binned .preali and .seed files. The cleanest way to do this is through the command line using an input parameter file. I have a template version of the parameter file in my home directory (/home/aperez/beadtrack/beadtrack.param). Copy this file to the directory you are performing the reconstruction in. Assuming you are currently in this directory:

$ scp /home/aperez/beadtrack/beadtrack.param .

The contents of the parameter file are listed below:

InputSeedModel base.bin8.seed
OutputModel base.bin8.fid
ImageFile base.bin8.preali
RotationAngle -90
tiltfile base.rawtlt
BeadDiameter 24
ImagesAreBinned 8
TiltDefaultGrouping 7
MagDefaultGrouping 5
BoxSizeXandY 10,10
RoundsOfTracking 4
LocalAreaTracking
LocalAreaTargetSize 800
MinBeadsInArea 8
#SkipViews 1-2

The first seven lines of this file are specific to your data and NEED to be modified using a text editor (vi, emacs, nano, etc). Walking through the meaning of each of these lines:

InputSeedModelName of the binned seed model. If you have followed this tutorial verbatim, this will be named basename.bin8.seed.
OutputModelName of the output binned and tracked fiducial model.
ImageFileName of the binned preali file. If you have followed this tutorial verbatim, this will be named basename.bin8.preali.
RotationAngle

The tilt axis angle for the tilt series. This is the value you entered into the 'Image rotation (degrees)' box when you started etomo. If you don't remember what you entered for this value, you can find it easily in the align.com file:

$ grep -i RotationAngle align.com
tiltfile

The name of the .rawtlt file for the tilt series. If you read in the angle information from the header, you will need to create a .rawtlt file. You can do this using a for loop at the command line:

$ for ((i=-60; i<=60; i+=2)); do echo $i >> basename.rawtlt; done

Here, the first value between the parentheses is your minimum tilt angle, the second value is your maximum tilt angle, and the third is the tilt increment.

BeadDiameterThe diameter of your gold particles in pixels. This is obtained by dividing the size of your gold particles (in nm) by the pixel size of the image (in nm/pixel).
ImagesAreBinnedThe binning factor you used. In this tutorial, this will be 8.

You may also need/want to edit some of the other lines to obtain optimal tracking. Walking through the meaning of each line that I've found can influence the quality of results:

RoundsOfTrackingNumber of iterations to perform. More iterations can lead to better results, but I've found results rarely improve above 4 iterations.
LocalAreaTrackingIf this argument is present, local area tracking will be performed. To disable local area tracking, remove or comment out both of the LocalArea lines.
LocalAreaTargetSizeSize for the local area. I've found that a value close to the size of the full volume works best. This is the parameter that will require the most tweaking. I like to run multiple runs with multiple values for this parameter to achieve the best tracking. Unfortunately, the optimal value seems to vary based on tilt series and I haven't found a reliable way to predict it.
MinBeadsInAreaThe minimum number of fiducials that must be present in a local area. If you decrease the local area target size, this parameter should also be reduced.
SkipViewsThe tilt angles to skip during tracking. By default, I have left this commented out. However, if you have some bad images you would still like to include in the final reconstruction, the tracking can often be improved by removing these tilt angles from bead tracking and filling them in manually afterwards.

 

(C) Run beadtrack

1. Run beadtrack using your final parameter file:

$beadtrack -param beadtrack.param

 

 

  • No labels