cmuts sub¶
Purpose¶
Background subtraction of mismatch, insertion, deletion, and termination rates.
Requires¶
A treated sample
An untreated sample
Each must be a cmuts-compatible HDF5 file holding at least one of the four rates that cmuts works with.
Usage¶
cmuts sub -o difference.h5 treated.h5 untreated.h5
Each untreated rate is subtracted from its treated counterpart when both are present. The result is NaN if either input is NaN there. A negative difference is raised to zero, unless --keep-negative is given.
Note
Subtraction and clipping is the maximum likelihood estimator for non-negative treatment-mediated rates under a mixture model.
If any dataset does not match the expected shape or the stored sequences do not match, the program exits early.
Output¶
Dataset |
Source |
|---|---|
Treated less untreated. |
|
Propagated from the inputs. |
|
Treated less untreated. |
|
Propagated from the inputs. |
|
Treated less untreated. |
|
Propagated from the inputs. |
|
Treated less untreated. |
|
Propagated from the inputs. |
|
Summed over the inputs. |
|
Copied from the inputs. |
|
Summed over the inputs. |
|
Summed over the inputs. |
|
Summed over the inputs. |
|
Summed over the inputs. |
|
Summed over the inputs. |
|
Summed over the inputs. |
|
Summed over the inputs. |
Warning
High coverage in the output does not imply high-quality data, since it is insensitive to imbalances in the treated and untreated experiments. Either ensure each experiment separately has high coverage or use the signal-to-noise ratio as a more robust quality metric.
CLI Options¶
Arguments¶
Argument |
Description |
|---|---|
|
the treated sample |
|
the untreated background |
Input and output¶
Option |
Description |
|---|---|
|
write results to this file (required) |
|
replace the output file if it already exists |
Subtraction¶
Option |
Description |
|---|---|
|
do not clip negative values after subtraction |
Information¶
Option |
Description |
|---|---|
|
show this help and exit |
|
show the version and exit |
Advanced¶
Accepted, and left out of --help.
Option |
Description |
|---|---|
|
describe every argument as JSON and exit |
|
describe the output format as JSON and exit |