Preprocessing: pp#
BAM/Fragment file processing#
|
Convert a BAM file into a sorted fragment file. |
|
Import fragment files and compute basic QC metrics. |
|
Import base-pair values into an AnnData object. |
|
Import chromatin contacts into an AnnData object. |
|
Call valid cells from feature counts using the OrdMag algorithm. |
Matrix operation#
|
Generate a cell-by-genomic-bin count matrix. |
|
Generate a cell-by-peak count matrix. |
|
Generate a cell-by-gene activity matrix. |
|
Filter cells by fragment-count and TSS-enrichment QC thresholds. |
|
Select informative genomic features for downstream analysis. |
|
Build a Euclidean k-nearest-neighbor graph for observations. |
Doublet removal#
|
Score ATAC-seq cells for doublet likelihood with Scrublet. |
|
Remove cells classified as doublets. |
Data Integration#
|
Correct batch effects with centroid-based mutual nearest neighbors. |
|
Correct batch effects in an embedding with Harmony. |
|
Integrate batch-specific embeddings with Scanorama. |