Project

General

Profile

First-time autoscreening setup » History » Version 13

Anchi Cheng, 08/09/2022 06:08 PM

1 10 Anchi Cheng
h2. First-time Leginon setup
2 1 Anchi Cheng
3 10 Anchi Cheng
Run MSi-Ptolemy and start a new session. This session can be used for setting up and as the example session that the autoscreen base its settings and stage z height on.
4 1 Anchi Cheng
5 10 Anchi Cheng
# Start the session as usual.
6
# Set z to the height that is typical for this scope's eucentric height.
7
# Acquire a grid atlas for the next step.
8
9 6 Anchi Cheng
h2. Setup Square Targeting Node
10 4 Anchi Cheng
11
h3. Set, in Blobs Settings, the script to run as */path_to/sq_finder.sh*
12
13 13 Anchi Cheng
h3. Set the limits of the square area range in "Thresholded" settings.
14
15
You can set it directly.  However, it is easier to select a number of examples targets including the smallest and the largest grid square you will choose and then click on the auto square finding tool on the toolbar.  Leginon will use the example targets to set the limits of the square area.
16
17
For screening multiple grids, it is best to select a large filter range in cover all possible values.
18
19
*Filter Key Used* can be any of the displayed blob stats.  For cryo grids, this is usually "Size" since it is the best key to indicate general ice thickness.  Some users use "Mean" to select stain thickness in negatively stained grids.
20
21 1 Anchi Cheng
h3. Define target area size sampling  in the settings next to "acquisition" target panel.
22
23
Enter
24
# Maximal number of squares to select
25
# Number of target group to sample
26 13 Anchi Cheng
# Choose group definition
27 1 Anchi Cheng
28 13 Anchi Cheng
For example, total of 6 squares selected in 3 groups means the program divided out all blob squares with valid area range into 3  groups.  It then choose 2 blob squares in each group with highest score given by Ptolemy as the output square targets.  High score in Ptolemy result means it is more likely to be a good square.
29 1 Anchi Cheng
30 13 Anchi Cheng
Group definition has two choices: equal value delta and equal target count. Default is equal value delta.
31 1 Anchi Cheng
32 13 Anchi Cheng
* *Equal value delta grouping* depends on the "Thresholded" settings.  If we use the values in the figure below, delta = (10951.1-2251.02)/3.  Th first group will have blob squares in size range of 10951.1 to 10951.1+ delta. Up to two targets will be selected in there.  If there are no targets in this size range, then no targets will be output.  The advantage of this is that the sampled targets will still be covering small, medium, and large size even if the size distribution is highly skewed.
33
34
* *Equal target number grouping* sorts all blob squares by the filter-key in "Thresholded" settings, and divide them into 3 bins of equal number before sampling with highest score within each.  This guarantees Max. number of targets to be reached but may end up with targets all at similar size if the size distribution is highly skewed.
35 2 Anchi Cheng
36 4 Anchi Cheng
!Square_FindingGUI.png!
37
38
h3.  Activate auto finding in the main settings dialog.
39
40
Shortest path can be applied in ordering the resulting targets as well.
41 1 Anchi Cheng
42 6 Anchi Cheng
!ProcessingSettings.png!
43 1 Anchi Cheng
44 6 Anchi Cheng
h2. Setup Exposure Targeting Node
45
46 10 Anchi Cheng
h3. Define Hole Settings
47 6 Anchi Cheng
48
* the script to run as */path_to/hl_finder.sh* or whatever path your shell script is located.
49
* the json key for threshold the result.  For Ptolemy, this should be "score"
50
* the minimal key value to accept.  For Ptolemy, the probability score range is 0-1.  We tend to use a very small number to only rule out the obvious bad holes. 0.01, for example.
51 9 Anchi Cheng
!score_finder.png!
52 6 Anchi Cheng
53
h3. Define Ice thickness thresholding
54
55
Like JAHC template hole finder, you can narrow the selection in Leginon with hole statistics calculation and create template for convolution.  The interface is similar to JAHC hole finder.
56
57
h3. Define target sampling
58
59 1 Anchi Cheng
For screening, you may not want all targets found to be acquired.  Use Acquisition Target Sampling section to achieve this:
60
61
{{include(Settings for Target Sampling)}}
62 10 Anchi Cheng
63
h2. (Optional) Specify and setup auto aperture selection for nodes that need to be specified.
64
65
If you want objective aperture to be retracted only during Grid imaging, set in its advanced settings to
66
67
!aperture_settings.png!