iscc.data.DNA ¶
DNA(breadth='wgs', target_genes='all', data_mode='counts', depth_model='dm', n_reads=None, seed=42, batch_label=None, fpr=None, fnr=None, **hyper_overrides)
Bases: Assay
Base DNA assay: breadth + the shared DNABatch coverage core.
Holds the breadth / locus-selection logic and assembles the per-locus ground truth
(copy number + true alt fraction) that the bulk / single-cell subclasses pass through
the shared depth + allele layers. Subclasses set the amplification regime via
mode_defaults (large-kappa Binomial for bulk; small-kappa Beta-Binomial + ADO for sc).
The canonical home for the shared constructor parameters below: both
bulkDNA and scDNA forward them here.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
breadth
|
str
|
Capture breadth, one of |
"wgs"
|
target_genes
|
all
|
Overrides the breadth's default locus set. A list/array selects exactly those loci; a
float in (0, 1] a random fraction of loci; |
"all"
|
data_mode
|
str
|
Output mode. |
"counts"
|
depth_model
|
str
|
Per-locus depth-emission model: |
"dm"
|
n_reads
|
int
|
Total read budget. Bulk uses it for the pooled library (default |
None
|
seed
|
int
|
RNG seed. Fixes the technical signature (GC->coverage curve, capture efficiency, per-batch depth shift, error rates, and — single-cell — ADO / doublets) and the cell/locus selection. |
42
|
batch_label
|
str
|
Batch/library/chip label; defaults to |
None
|
fpr
|
float
|
Legacy alias mapped to |
None
|
fnr
|
float
|
Legacy parameter; accepted for signature parity but unused by the current model. |
None
|
**hyper_overrides
|
float
|
Any |
{}
|
Methods:
| Name | Description |
|---|---|
mode_defaults |
Amplification-regime defaults for this modality (overridden by subclasses). |
mode_defaults ¶
Amplification-regime defaults for this modality (overridden by subclasses).