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.

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.

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