Preprocessing: pp#
Preprocessing module diagram#
Append base context annotations to |
|
|
Build per-reference masked layers for base-context sites. |
|
Append mismatch frequency metadata and variable-site flags per reference. |
|
Append mismatch annotations by aligning full reference sequences. |
Append a layer recording per-read, per-position variant calls at reference mismatch sites. |
|
Binarize SMF values using thresholds from |
|
Estimate and optionally plot library complexity. |
|
Append position-level coverage metadata per reference category. |
|
Add position-level Youden thresholds and optional ROC plots. |
|
Calculate per-read length statistics and store them in |
|
|
Add methylation/deamination statistics for each read. |
|
Append layers to |
Filter an AnnData object on NaN proportion in a matrix axis. |
|
Filter reads whose longest internal indel exceeds a threshold. |
|
|
Filter AnnData by coordinates, read length, quality, and mapping metrics. |
|
Filter reads based on per-read modification thresholds. |
Flag duplicate reads with demux-aware keeper preference. |
|
|
Invert the AnnData object along the column axis in-place. |
Flag deaminase PCR-chimeric reads from per-read strand-switch metrics. |
|
Load a sample sheet CSV and map metadata into |
|
Execute bounded preprocessing work units into derived partition stores. |
|
Preprocess UMI annotations: validate, filter, and cluster UMIs. |
|
Reindex genomic coordinates by adding per-reference offsets. |
|
Subsample an AnnData object by observation categories. |
|
Bipartite graph analysis for U1×U2 UMI cluster pairing QC. |
partitioned_executor implements the bounded-task partitioned preprocessing pipeline used when a
partitioned raw/spatial spine is available (see the smftools preprocess CLI tutorial); the other
newly listed modules back the CIGAR-indel filter, deaminase PCR-chimera labeling, variant/mismatch
annotation, and UMI preprocessing features described there.