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:
GenomicResourceImplementation,InfoImplementationMixinClass used to represent gene score resource implementations.
- calc_statistics_hash() bytes[source]
Compute the statistics hash.
This hash is used to decide whether the resource statistics should be recomputed.
- collect_index_info() tuple[tuple[str, ...], tuple[str, ...]][source]
Collect resource info for FTS index building.
Returns a (header, row) pair where header contains field names and row contains the corresponding values for this resource. Label keys/values are appended after the fixed fields.
- create_statistics_build_tasks(**kwargs: Any) list[TaskDesc][source]
Create tasks for calculating resource statistics for task graph.
- 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'