CUSUM+¶
The CUSUM algorithm (used by OpenNanopore for example) [] is available in MOSAIC. In contrast with other algorithms available in MOSAIC, this approach does not leverage system information in the analysis. This however results in a faster estimation of single- and multi-level events, compared with ADEPT 2-State and ADEPT. You can read about the CUSUM algorithm here.
Some known issues with CUSUM:
If the duration of a sub-event is shorter than a five RC constants, the averaging will underestimate the extent of the current change. For longer events, CUSUM should achieve very similar output to the fitting employed elsewhere in MOSAIC.
CUSUM assumes an instantaneous transition between current states. As a result, if the RC rise time of the system is large, CUSUM can trigger and detect intermediate states. This can usually be mitigated by optimizing the algorithm sensitivity settings.
If an event is very long, CUSUM will detect a state transistion even if there is no real change, leading to an artificially high number of states. This is a consequence of false positives from using a statistical t-test. In some cases this can be mitigated by reducing the sensitivity.
Settings that control the algorithm are defined through the settings file, as described the Optimizing Settings section. Upon successfully analyzing an event, cusumPlus generates meta-data the describes the individual states in the event. A representative example of one such event is shown in the figure below.
Algorithm Settings¶
Metadata Output¶
The cusumPlus algorithm outputs meta-data that characterizes every processed event. Similar to the ADEPT algorithm, this information is stored in a SQLite_ database and is available for further processing (see Database Structure and Query Syntax).
Column Name |
Column Type |
Description |
|---|---|---|
recIDX ProcessingStatus OpenChCurrent NStates CurrentStep BlockDepth EventStart EventEnd EventDelay StateResTime ResTime AbsEventStart ProcessTime TimeSeries |
INTEGER TEXT REAL INTEGER REAL_LIST REAL_LIST REAL REAL REAL_LIST REAL_LIST REAL REAL REAL REAL_LIST |
Record index. Status of the analysis. Open channel current in pA. Number of detected states. Blocked current steps in pA. BlockedCurrent/OpenChCurrent for each state. Event start in ms. Event end in ms. Start time of each state in ms. Residence time of each state in ms. EventEnd-EventStart in ms. Global event start time in ms. Event processing time in ms. (OPTIONAL) Event time-series. |