gain.gene_scores.implementations package
Submodules
gain.gene_scores.implementations.gene_scores_impl module
- class gain.gene_scores.implementations.gene_scores_impl.GeneScoreImplementation(resource: GenomicResource)[source]
Bases:
ScoreImplementationBaseClass used to represent gene score resource implementations.
- calc_info_hash() bytes[source]
Compute and return the info hash.
- calc_statistics_hash() bytes[source]
Compute the statistics hash.
This hash is used to decide whether the resource statistics should be recomputed.
- create_statistics_build_tasks(**kwargs: Any) list[TaskDesc][source]
Create tasks for calculating resource statistics for task graph.
Kept abstract: gene and genomic scores build statistics with genuinely different task shapes (a single DataFrame scan versus a region-split DAG), so each family provides its own.
- get_info(**kwargs: Any) str[source]
Construct the contents of the implementation’s HTML info page.
- get_statistics_info(**kwargs: Any) str[source]
Construct the contents of the implementation’s HTML statistics info page.
- styles_template_name: ClassVar[str] = 'gene_score_styles.jinja'
- template_name: ClassVar[str] = 'gene_score.jinja'