dae.genomic_scores package

Subpackages

Submodules

dae.genomic_scores.scores module

class dae.genomic_scores.scores.GenomicScoresRegistry(scores: dict[str, ScoreDesc])[source]

Bases: object

Genomic scores registry allowing access to genomic scores histograms.

static build_genomic_scores_registry(pipeline: AnnotationPipeline) GenomicScoresRegistry[source]

Build a genomic scores registry from an annotation pipeline.

get_scores() list[tuple[str, ScoreDesc]][source]

Return all genomic scores histograms.

class dae.genomic_scores.scores.ScoreDesc(name: str, resource_id: str, source: str, hist: NullHistogram | CategoricalHistogram | NumberHistogram, description: str, help: str, small_values_desc: str | None, large_values_desc: str | None)[source]

Bases: object

Data class to describe genomic scores in GenomicScoresDb.

description: str
static from_json(data: dict[str, Any]) ScoreDesc[source]

Build a ScoreDesc from a JSON.

help: str
hist: NullHistogram | CategoricalHistogram | NumberHistogram
large_values_desc: str | None
name: str
resource_id: str
small_values_desc: str | None
source: str
to_json() dict[str, Any][source]

Module contents