dae.genomic_resources.statistics package
Submodules
dae.genomic_resources.statistics.base_statistic module
- class dae.genomic_resources.statistics.base_statistic.Statistic(statistic_id: str, description: str)[source]
Bases:
object
Base class genomic resource statistics.
Statistics are generated using task graphs and aggregate values from a large amount of data. Each statistic should have a clearly defined single unit of data to process (for example, a nucleotide in a reference genome).
- description: str
- abstract static deserialize(content: str) Statistic [source]
Create a statistic from serialized data.
- finish() None [source]
Perform final calculations for the statistic.
This step is optional.
This is called when resource iteration is complete.
Can also be used when creating more complex resources via deserialization.
- statistic_id: str
dae.genomic_resources.statistics.min_max module
- class dae.genomic_resources.statistics.min_max.MinMaxValue(score_id: str, min_value: float = nan, max_value: float = nan, count: int = 0)[source]
Bases:
Statistic
Statistic that calculates Min and Max values in a genomic score.
- static deserialize(content: str) MinMaxValue [source]
Create a statistic from serialized data.