| AP CA | [Alignment - Classification and Alignment] |
| AP SH | [Alignment - multi-reference, exhaustive rotation & shift ||*] |
| AP REF | [Alignment - multi-reference, rotation & shift ||*] |
| AP SA | [Alignment - Shift ||] |
| AP SR | [Alignment - reference free, Shift & Rotation ||] |
.ENTER FILE NUMBERS OR SELECTION DOC. FILE NAME: 1-700
[Enter projection file numbers or the name of the document file
containing projection file numbers in the first register.]
.FIRST AND LAST RING: 5,15
[Only rings 5 to 15 will be analyzed]
.SKIP: 1
[If skip=0 or 1, then each ring between 5 and 15 will be taken;
for skip=2 every second ring, etc.]
.FULL OR HALF: H
[Full - full ring treated (real data); Half - half ring
treated (autocorrelation function).]
.NORMALIZE UNDER THE MASK (Y/N): Y
[For Y, input rings are normalized to compensate for the negative
stain effect.]
.NUMBER OF GROUPS, NUMBER OF ITERATIONS: 5,30
[Number of groups the images will be divided into and upper limit of
iterations permitted (to avoid infinite loop in the case of lack of
convergence)]
.OBJECT OUTPUT FILENAME TEMPLATE: obj***
[Enter template for name of the document files where all the objects
belonging to the same cluster will be stored.]
.DOCUMENT FILE NAME: apca001
[Document file with classification results. It contains 4 columns:
1.File number 2.Rot. angle 3.Distance 4.Group number Real number Note that From the Results of to handle sign of angle total classification gaps in file should NOT be average. series. reversed in formation. of average. If the distance (in column #3) is negative, the image has to be mirrored.]
NOTES
Example of the SPIDER procedure using 'AP CM'.
; b22.apc
; Rotate particles and calculate group averages
; number of particles
X92=338
; number of groups
X91=3
AP CA
rts/pur***
1-x92
5,14
0
F
Y
X91,50
clas/select***
clas/apca001
DO LB1 I=1,X92
UD IC,X0,X21,X22,X23,X24
clas/apca001
; Rotate and mirror particles
; rts/pur - input image series, rts/apc - rotated images
IF (X23.GT.0.0) THEN
RT SQ
rts/pur{***X21}
rts/apc{***X21}
X22
(0,0)
ELSE
RT SQ
rts/pur{***X21}
_1
X22
(0,0)
MR
_1
rts/apc{***X21}
Y
ENDIF
LB1
; Calculate the average for each goup (only if there are more than 2 particles)
DO LB4 X71=1,X91
; Check whether the file exists
IQ FI,X72
clas/select{***X71}
IF(X72.EQ.0.0) GOTO LB4
; Get number of images in this group
UD N,X72
clas/select{***X71}
IF(X72.LE.2) GOTO LB4
AS DC
rts/apc***
clas/select{***X71}
A
clas/avg{***X71}
clas/var{***X71}
LB4
EN
© Copyright Notice / Enquiries: spider@wadsworth.org