MINFLUX kinesin

Analysis › MINFLUX › Workflow · version 1

Quality cuts, trace starts left out, the two colours registered and joined into molecules, an ROI per walking kinesin and its steps, in one run.

What it does

Takes a two-colour MINFLUX kinesin measurement from its localizations to the steps of each molecule that walks: MINFLUX's quality cuts, each trace's unsettled start left out, the two colours put on top of each other and joined into molecules, an ROI per walking kinesin, and their steps.

It is a chain (also called a pipeline or workflow): the plugins it runs, one after the other, each with its own settings in a section of this panel, folded behind show the steps. Six settings are shown at the top:

The pages of the plugins explain the methods; this one what running them together does. Because it is a chain, it can be edited, saved under another name, and run over many files in a batch.

It runs on one colour too: there step 4 has nothing to join, and the ROIs and steps are of each trace (tid).

Open the tracking measurement and, beside it, the bead measurement taken before it (File > Open: both measurements of the .msr, or both files), and run it on a layer that shows the tracking.

How it works

1. Localizations. The layers step shows the localizations, not merged traces: pairing and steps are made of localizations. Its filter stays as the Render tab has it.

2. Quality. Quality filter sets MINFLUX's cfr and efo cuts from the data.

3. Trace starts. Trace statistics finds each trace's start, while it settles (tail rule moving molecule: until the rolling spread of its steps settles), per colour, and writes it as in_tail; the next layers step leaves it out.

4. Colours. MINFLUX dual colour measures the offset between the colours, moves the second colour onto the first, and joins the traces of both colours into molecules, pair_id.

5. Kinesins. Segment regions with the MINFLUX kinesin preset makes an ROI of every molecule of 20 localizations or more that walks, drawn as its track and turned along it, and annotated in the keyword list colours (single, dual; apart comes from Find steps). With keep non-tracks the molecules that do not walk get ROIs too, unused, to look at.

6. Steps. Find steps on pair_id, each colour with its own steps on one clock and in one frame (two colours on auto), along the direction each molecule walks in, on the used ROIs only (only ROIs' traces): the step sizes and dwell times pooled over them, and a row per kinesin, with how its two colours move together (comove_share). To orient the ROIs by where each moves, and to mark the molecules in both colours that do not move as one apart, run Find steps as a per-region step in the ROI manager and apply its proposals.

In detail

Which molecules walk. kinesins kept is a condition on each molecule's track, measured on its localizations in time order: n_locs, displacement_nm, velocity_nm_per_s, eccentricity, linearity, n_colours and the others from an id attribute lists. The default, n_locs >= 20 and displacement_nm >= 100 and linearity >= 0.8, asks for a molecule that moved 100 nm with its position along the track rising steadily with time. linearity is the squared correlation of that position with time: near 1 for a motor walking on; near 0 for one stuck, or diffusing to and fro along its microtubule, which is as elongated. In the two-colour kinesin data this was made on, the 17 tracks that walked 100 to 270 nm had 0.8 to 0.98, at 200 to 600 nm/s. Add and n_colours == 2 for the molecules seen in both colours, which a two-colour step analysis needs (or tick both colours only); leave out the linearity for every longer track.

Why not a region filter before the steps. An id column's measurements never see the region filter – a molecule's own numbers do not depend on which molecules are shown – so Find steps takes the ROIs' molecules through its own only ROIs' traces.

Nothing changes until the end. The chain runs on a copy of the session; the table, the ROIs and the results reach the session only when the whole chain has succeeded.

Output

Parameters

settingdefaultwhat it does
merge blinks (more)
grouping
not mergedWhether every step reads merged blinks, unless the step says otherwise: as each layer has it in the Render tab, or not. Choices: as each layer; merged; not merged
layers
   layers
   layers.layers
{'grouped': False, 'start': 'keep', 'bounds': []}One block per layer: whether it merges blinks, where its bounds start from, and rows of field, lo, hi (either may be empty); a quantile row takes lo and hi as fractions, resolved per file; a required row stops a file that lacks the field.
   remove filtered
   layers.remove
offDrop the localizations no layer keeps from the table, and so from the saved file.
   merge blinks (more)
   layers.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
quality
   cfr
   quality.cfr
onAn upper bound at the median plus k robust sigmas.
   k
   quality.k
2 sigmaRobust standard deviations above the median. 0.5 to 10 sigma
   efo
   quality.efo
onAn upper bound at the valley before the two-molecule peak.
   merge blinks (more)
   quality.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
trace starts
   id attribute
   trace_starts.id_column
tidThe traces; auto: tid, else track_id, else cluster_id.
trace start (tail)
      tail rule
      trace_starts.tail.rule
moving moleculeStill: until the trace comes within reach of its settled position; moving: until its steps' rolling std settles. Choices: none; still molecule; moving molecule
      numbers without the tail
      trace_starts.tail.without_tail
onMeasure each trace on its settled part.
      settled from
      trace_starts.tail.reference_from
20Still: the localization the settled position starts at. 1 to 10000
      settled over
      trace_starts.tail.reference_window
30Still: localizations whose median is the settled position. 3 to 10000
      reach
      trace_starts.tail.k
3 sigmaStill: within this many robust sigmas of the settled position. 0.5 to 20 sigma
      rolling window
      trace_starts.tail.rolling_window
10Moving: steps the rolling std is taken over. 3 to 1000
      settled below
      trace_starts.tail.rolling_limit_nm
7 nmMoving: the rolling std of the steps below which the trace has settled. at least 0.1 nm
   cut after cfr above
   trace_starts.cfr_limit
00: off; else a trace ends at its first cfr above this (MINFLUX). 0 to 10
   write the rotated track
   trace_starts.write_rotated
offx_rot_nm, y_rot_nm on the localizations (the long axis on x, forward in time), and the track's angle and length.
   write the tail
   trace_starts.write_tail
onin_tail (and after_cfr) on the localizations, to filter or colour by.
   merge blinks (more)
   trace_starts.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
without the starts
   layers
   without_the_starts.layers
{'grouped': False, 'start': 'keep', 'bounds': [{'field': 'in_tail', 'lo': 0, 'hi': 0}]}One block per layer: whether it merges blinks, where its bounds start from, and rows of field, lo, hi (either may be empty); a quantile row takes lo and hi as fractions, resolved per file; a required row stops a file that lacks the field.
   remove filtered
   without_the_starts.remove
offDrop the localizations no layer keeps from the table, and so from the saved file.
   merge blinks (more)
   without_the_starts.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
colours
offset
      offset from
      colours.offset.source
autoAuto: the bead measurements if one is open, else the molecules themselves. Choices: auto; bead measurements; the molecules (fit); a named transformation; typed; none
      beads before
      colours.offset.before
autoThe bead measurement taken before the tracking; auto: the last one.
      beads after
      colours.offset.after
autoOne taken after it, interpolated between the two; auto: the first one after, if any.
      MBM colour drift
      colours.offset.mbm_drift
onThe colours' drift against each other over time, from MBM beads recorded in both colours.
      drift knot spacing (more)
      colours.offset.knot_s
120 sThe colour drift's spline, a coefficient this often. 5 to 10000 s
      moving from (more)
      colours.offset.still_nm
30 nmA molecule moving less is still: it tells the offset, not the lead along the track.
      dx
      colours.offset.dx_nm
0 nmColour 1 - colour 0, typed.
      dy
      colours.offset.dy_nm
0 nmColour 1 - colour 0, typed.
      transformation
      colours.offset.named
-A named transformation that puts colour 1 onto colour 0.
pairing
      match within
      colours.pairing.max_dt_ms
5 msA colour-1 localization is matched with the colour-0 one nearest in time, if this close. at least 0.01 ms
      apart at most
      colours.pairing.max_distance_nm
30 nmHow far apart a match may be, the offset taken off. at least 1 nm
      for a share of
      colours.pairing.min_fraction
0.5The share of the matches that must be that close. 0 to 1
      matched at least
      colours.pairing.min_matched
10 locsTwo traces with fewer matches are not one molecule. at least 1 locs
      overlap at least (more)
      colours.pairing.min_overlap_s
0 sTwo traces measured together for less are not one.
   move colour 1 onto colour 0
   colours.apply
onOff: only measure and pair, the positions as they are.
   keep as
   colours.name
–The name the constant offset is kept under for Transform; empty: by the colours.
   merge blinks (more)
   colours.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
kinesins
   preset
   kinesins.preset
MINFLUX kinesinA structure's values, which fill the settings; -: the settings as they stand.
   method
   kinesins.method
from an id attributeHow the regions are found. Choices: circle template; beads; from an id attribute; positions from a file; like examples
circle template
      shape
      kinesins.circle.shape
discA ring of localizations, or a filled disc. Choices: ring; disc
      min radius
      kinesins.circle.min_radius_nm
30 nmThe smallest radius looked for; equal to the max for one radius. at least 1 nm
      max radius
      kinesins.circle.max_radius_nm
150 nmThe largest radius looked for. at least 1 nm
      ring width
      kinesins.circle.ring_width_nm
15 nmHalf the width of the ring's band, and the width of the filter's ring. at least 1 nm
      judge on precision (more)
      kinesins.circle.precision_nm
20 nmThe fits and the far test use only localizations more precise than this. at least 0.1 nm
      bin (more)
      kinesins.circle.bin_nm
10 nmPixel size of the density image that is filtered. at least 0.1 nm
beads
      min photons
      kinesins.beads.min_photons
5000Localizations dimmer than this are not beads.
      min length
      kinesins.beads.min_fraction
0.25A bead is seen in at least this fraction of the frames. 0 to 1
      maximum jump (more)
      kinesins.beads.max_jump_nm
150 nmThe farthest a bead moves between the frames it is seen in. at least 1 nm
      memory (more)
      kinesins.beads.memory
50 framesFrames a bead may be missing from its track.
from an id attribute
      attribute
      kinesins.ids.column
autoAn id attribute of the table; -1 is in no region.
      at least
      kinesins.ids.min_size
20 locsThe localizations an id needs to become an ROI. at least 1 locs
      the cluster's own outline
      kinesins.ids.outline
onEach ROI the convex hull of its cluster; off: only the centre, with the ROI manager's circle or square.
      an ROI holds
      kinesins.ids.membership
its id aloneIts shape: every localization inside, whatever its id; its id: that id's localizations only, as a track whose path others cross. Choices: what is in its shape; its id alone
      draw it as
      kinesins.ids.draw
a trackIn the ROI manager: a line through its localizations in frame order, or the hull round them; auto: a track for a track attribute. Choices: auto; a track; an outline
      keep
      kinesins.ids.keep
displacement_nm >= 100 and linearity >= 0.8Which ids become ROIs, by their trace's values, e.g. eccentricity >= 3 and displacement_nm >= 300 for motors; empty: all.
      only in both colours
      kinesins.ids.both_colours
offOnly the ids seen in both colours of a two-colour table (MINFLUX dual colour's pair_id).
      angle
      kinesins.ids.angle
long axis, forward in timeThe ROI's angle from its trace: for directed tracks (motors); none for diffusion, where it means nothing. Choices: none; long axis, forward in time; first to last localization
positions from a file
      file
      kinesins.file.path
–A table with x_nm and y_nm, and optionally the file each position belongs to.
like examples
      examples
      kinesins.similar.examples
used ROIsWhich ROIs are the examples; never those this method made. Choices: used ROIs; all ROIs; a keyword
      keyword list
      kinesins.similar.keyword_list
-The ROI keyword list that marks the examples.
      keyword
      kinesins.similar.keyword
–The keyword the examples have in that list.
      compare
      kinesins.similar.compare
n_locs, rmsd_nmThe values a candidate must share with the examples, comma separated.
      spread
      kinesins.similar.spread
2 SDA candidate's values lie within the examples' mean plus or minus this many standard deviations. at least 0.1 SD
   keep
   kinesins.keep
n_locs >= 10Which candidates become ROIs, e.g. n_ring >= 4 and 40 <= radius_nm <= 70; empty: all.
   keep rejected
   kinesins.keep_rejected
offAdd the candidates keep rejects as ROIs that are not used, to look at them.
   replace earlier ROIs
   kinesins.replace
onRemove the ROIs this segmenter made on the file before finding them again.
   merge blinks (more)
   kinesins.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
steps
   id attribute
   steps.id_column
autoThe traces; auto: tid, else track_id, else cluster_id.
   at least
   steps.min_locs
20 localizationsShorter traces are passed over. at least 4 localizations
   method
   steps.method
AutoStepFinderAutoStepFinder: greedy fit and S-score, fast; BNP-Step: the number of steps learned by Bayesian sampling, slower. Choices: AutoStepFinder; BNP-Step (Bayesian)
AutoStepFinder
      threshold
      steps.autostepfinder.threshold
0.15A round is accepted when its S-score peaks above this; lower finds more steps. 0 to 10
      overshoot
      steps.autostepfinder.overshoot
1Takes this many times the steps the S-score finds (SMAP's coarseness). 0.1 to 3
BNP-Step
      sweeps
      steps.bnp.sweeps
400Gibbs sampling sweeps, started from AutoStepFinder's steps; more is slower and settles better. 20 to 100000
      step prior
      steps.bnp.height_nm
0 nmThe prior width of a step; 0: three times each trace's noise.
   levels
   steps.stat
meanA plateau's level: its points' mean or median. Choices: mean; median
   split/merge to
   steps.step_nm
0 nm0: off; else merge steps smaller and split steps larger than this expected size.
   two colours
   steps.colours
autoAuto: in a two-colour table each colour of a molecule its own steps, both in colour 0's frame and on one clock. Choices: auto; each its own steps; as one trace
moving together
      window
      steps.comove.window_s
0.5 sThe two colours' lines fitted in windows this long; 0: one line over the whole time both are seen (frames where there is no time_s).
      directions within (more)
      steps.comove.max_angle_deg
30 °The angle between the colours' directions in a window. 0 to 180 °
      speeds within (more)
      steps.comove.max_ratio
1.5 ×The faster colour's speed over the slower one's. at least 1 ×
      lines within (more)
      steps.comove.max_distance_nm
50 nmThe distance between the lines at the window's centre.
      judged from (more)
      steps.comove.min_travel_nm
30 nmA window is judged when each colour is seen for as long as the motor takes to travel this: a few steps.
      together from
      steps.comove.min_share
0.5A molecule moves together when this share of its moving windows match; else its ROI is proposed 'apart'. 0 to 1
   only ROIs' traces
   steps.in_rois
onOnly the ids the ROI manager's used ROIs hold (an ROI of its id alone): the kinesins Segment regions found.
   track axis from (more)
   steps.axis
its moving partsThe direction it walks in where it moves, or the long axis of all its localizations, stuck parts included. Choices: its moving parts; all its localizations
   moving window (more)
   steps.window_s
0.1 sWhere it moves is judged from its mean position over windows this long (frames where there is no time_s). at least 0.0001 s
   moving from (more)
   steps.min_speed
100 nm/sTwo windows in a row this much faster than standing still count as moving (nm per frame where there is no time_s).
   output (more)
   steps.output
region tableA region table only; plateau and step_level on the localizations; or a file of one localization per plateau. Choices: region table; plateaus on the localizations; steps as a file
   localizations as a line (more)
   steps.line
onThe traces' localizations joined in time order in the figure; off, as dots.
   guide lines every (more)
   steps.guide_nm
16 nmThin grey lines behind the traces this far apart, from the first plateau: a ruler for the steps; 0: none.
   smoothing (more)
   steps.smooth_stat
running medianThe figure's smoothed line (its 'smoothed' tick): a running median or mean. Choices: running median; running mean
   smooth over (more)
   steps.smooth_n
9 localizationsThe running window of the smoothed line. 2 to 1000 localizations
   merge blinks (more)
   steps.use_grouping
not mergedThis plugin only works with blinks not merged. Choices: auto; merged; not merged
show the steps
show_steps
offEvery step's settings, not only the ones this chain asks.