Bsoft program

bctf

Usage: bctf [options] input.star/input.img [input2.star/output.img]

Applies, determines or corrects for the CTF (contrast transfer function) in electron micrographs.

Actions:

-action correctAction: 1=flip, 2=apply, 3=correct, 4=wienerfilter, 5=baseline, 6=baseline2,
11=prepare, 12=fit, 13=prepfit (default 0=none).
-filterFilter extremes before doing anything with the image.
-backgroundCorrect background after applying CTF (default not).
-size 512,512,1Generate a CTF image of this size.

Parameters:

-verbose 7Verbosity of output.
-datatype uForce writing of a new data type.
-partpath dir/subdirSet the particle file paths.
-tile 1024,1024,1Size of power spectrum generated during preparation (default 512,512,1).
-micrographUse micrograph file given in STAR file instead of particle file.
-sampling 1.5,1.5,1.5Sampling (angstrom/pixel, a single value sets all three).
-resolution 125.3,27.5Resolution limits for CTF determination and application (default 1e6,0.1).
-wiener 0.15Wiener factor for CTF correction (default 0.2).
-Defocus 1.2,1.0,47Defocus average & deviation, and astigmatism angle (default 1 um, 0 um, 0).
-axis 74.7Tilt axis angle relative to x-axis (default 0 or from parameter file).
-tilt 15Tilt angle (default from parameter file).
-Cs 2.0Set the spherical aberration, Cs (default 2.0 mm).
-Volt 100Set the acceleration voltage (default 120 kV).
-Amplitude 0.07Set the amplitude contrast (default 0.07).
-envelope28,-563,0.78,-215 Envelope coefficients: Double gaussian with 4 coefficients (default 1,-10,0,0).
-baseline1,1.5,-2.6,12.9,30,118 Baseline type and 4 or 5 coefficients: (default 1,0,0,0,0)
Type 1: Polynomial with 5 coefficients.
Type 2: Double Gaussian with 5 coefficients.
Type 3: EMAN style with 4 coefficients.

Output:

-output file.starOutput parameter file.
-Zeroes file.psPostscript output filename for defocus-vs-zeroes plot.
-Function ctf.mrcContrast transfer function output filename.

Examples:

To apply the CTF:
bctf -verbose 7 -action apply -Defocus 2.3 input.img distorted.img
To prepare a power spectrum from a micrograph and to fit the CTF:
bctf -v 7 -datatype float -action prepfit -sam 1.842 -out new.star mg0001.tif mg0001_ps.pif
This is a good way to generate the initial STAR file for each micrograph
of a single particle analysis effort, as well as a power spectrum file.
Subsequently, the automatic fit should be checked and corrected in bshow.
To correct for the CTF by simply flipping the phases in every second Thon ring:
bctf -verbose 7 -action flip -Defocus 1.4 part.pif part_flip.pif
Applying the same flipping operation twice will recover the original image.
To correct for the CTF:
bctf -v 7 -action correct -Defocus 1.9 -wiener 0.1 part.pif part_corr.pif
The equation used for the correction is:
U = I*C/(C^2 + w)
where:
U: corrected image
I: distorted image
C: CTF
w: Wiener factor, default 0.2
To correct for the CTF with baseline compensation:
bctf -v 7 -act baseline -Def 1.2 -wien 0.2 -base 1,1.5,-2.6,12.9,30,118 part.pif part_corr.pif
The equation used for the correction is:
U = I*C/(B*C^2 + w)
where:
U: corrected image
I: distorted image
C: CTF
B: baseline
w: Wiener factor, default 0.2
Baseline equations:
1. a0 + a1*s + a2*s^2 + a3*s^3 + a4*s^4
2. a0 + a1*e^(a2*s^2) + a3*e^(a4*s^2)
3. a0 + a1*e^(a2*s^0.5 + a3*s^2)

Bsoft version 1.5.7-20090605 (64 bit)


Generated by bdoc.pl on Mon Jun 15 11:47:11 2009


Back to the Bsoft home