Workflow

In this section you will learn how to process single molecule videos to obtain single molecule coordinates and intensity-time traces. Exported data are further used in modules Trace processing and Histogram analysis for data analysis.

The procedure includes four steps:

  1. Create a video-based project
  2. Localize bright spots
  3. Transform spots coordinates
  4. Create intensity-time traces

Create a video-based project

The first step in processing a single molecule video is to create a new video-based project. This implies to import the video file and register the associated experiment settings. Informing MASH about the particular experiment settings is crucial to adapt the software functionalities to your own experiment setup.

After the project creation is completed, it is recommended to save it to a .mash file that should regularly be overwritten in order to keep traceability and access to the results.

In theory, the software is compatible with:

  • an unlimited number of video channels,
  • an unlimited number of alternated lasers,
  • FRET calculations for an unlimited number of FRET pairs.

To create a new video-based project:

  1. Open the experiment settings window by pressing New project in the project management area and selecting import video.

  2. Import a multi-channel video file or multiple single-channel video files and define your experiment setup by configuring tabs:

    Import
    Channels
    Lasers
    Calculations
    Divers

    If necessary, modify settings in Calculations and Divers any time after project creation.

  3. Finalize the creation of your project by pressing Save; the experiment settings window now closes and the interface switches to module Video processing.

  4. Save modifications to a .mash file by pressing Save project in the project management area.


Localize bright spots

Bright spots coordinates are different from single molecule coordinates to the extent that molecule coordinates are paired across all video channels and spots coordinates concern individual channels. Spot detection in single molecule videos (SMV) is often made more complicated by the presence of competitive background noise and by the variation of single molecule brightness in time.

To get rid of brightness variations in time and smooth the background noise, video frames are averaged into one average image.

Average image and spot detection

To increase the contrast between bright spots and background, and thus ease spot detection, the average image can be treated with image filters. MASH offers a set of basic or smFRET-specific image filters that can be used for such purpose. Some image filters can also be used as background correction on the video prior creating intensity-time traces; see Remarks for more details.

Finally, spot detection is performed on the filtered average image with the Spotfinder tool.

To localize bright spots in the SMV:

  1. If necessary, set parameters in Filter settings and apply the image filter by pressing Add. Filters can be cumulated and are managed in the Filter list.

  2. If necessary, calculate an average image alternative to standards, i.e., on the full video frame range, by setting parameters in Average image and pressing Go.

  3. Detect bright spots by configuring the Spotfinder tool for each channel and pressing Find.


Transform spots coordinates

To obtain single molecules coordinates, spots coordinates must be transformed into other channels. This implies the calculation of a spatial transformation specific to your setup.

The transformation from one channel to another uses a combination of symmetry operations which is specific to the recording setup. It is calculated from an already co-localized set of coordinates called the reference coordinates. These coordinates are mapped manually using a reference image where reference samples emits in all channels.

Map reference coordinates

The quality of the mapping, and thus the transformation, is judged by eye from the superposition of the original and transformed reference images. In the case of a 2-channel experiment, the original image is colored in red and the transformed image in green. If the transformation is correct, reference emitters will appear as yellow dots on a dark background. If the quality is poor, red and green dots will be visible and the operation must be repeated with a more thorough mapping in terms of position accuracy, image coverage or number of mapped positions.

Transform spots coordinates

To calculate and export the spatial transformation:

  1. Load the reference image and open the mapping tool by pressing Map.

  2. Map positions in every channels with the mapping tool and save the mapping by closing the tool.

  3. Calculate the transformation by pressing Calc..

  4. Load the reference image by pressing View and judge the transformation quality; if the quality is not satisfying, return to step 2 by increasing the number of mapped position or homogenizing the image coverage.

  5. Export the transformation to a .mat file for use in future projects by pressing Save; this will allow you to skip steps 1-4 next time.

  6. Recalculate and export the transformation whenever the setup is realigned.

To transform spots coordinates:

  1. Transform the spots coordinates by pressing Transform.

Create intensity-time traces

Intensities are calculated by summing up the brightest pixels in a square area around the molecule coordinates. The operation is repeated on every video frame to build the single molecule intensity-time traces.

After intensity integration is completed, intensity trajectories become immediately available for Trace processing and Histogram analysis.

To calculate intensity-time traces:

  1. Set parameters in Integration parameters

  2. Press CALCULATE TRACES to calculate intensity-time traces and refresh data in modules Trace processing and Histogram analysis; see Remarks for more details.


Remarks

Even though background correction is more accurate when performed in module Trace processing, some image filters can be used as background correction in Video processing; see Filters for more information. To do so, the background-corrected video must be exported to a file and the current project abadonned. A new video-based project must be created using the new video file in order to generate background-corrected intensity-time traces. In this specific case, background correction must be deactivated later in module Trace processing; see Background correction for more information.

Creating intensity-time traces can be a slow process if not enough free RAM is available; see Calculate intensity-time traces for more information.