dae.enrichment_tool.resource_implementations package

Submodules

dae.enrichment_tool.resource_implementations.enrichment_resource_impl module

class dae.enrichment_tool.resource_implementations.enrichment_resource_impl.EnrichmentBackgroundResourceImplementation(resource: GenomicResource, background: BaseEnrichmentBackground)[source]

Bases: GenomicResourceImplementation, InfoImplementationMixin

Provides class for enrichment background resource implementation.

add_statistics_build_tasks(task_graph: TaskGraph, **kwargs: Any) list[Task][source]

Add tasks for calculating resource statistics to a task graph.

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.

property files: set[str]

Return a list of resource files the implementation utilises.

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.

property resource_id: str
dae.enrichment_tool.resource_implementations.enrichment_resource_impl.build_gene_weights_enrichment_background(resource: GenomicResource) EnrichmentBackgroundResourceImplementation[source]
dae.enrichment_tool.resource_implementations.enrichment_resource_impl.build_samocha_enrichment_background(resource: GenomicResource) EnrichmentBackgroundResourceImplementation[source]

Module contents