Skip to content

Prioritisation result types

DiseasePrioritisationResult dataclass

Store rank data for known diseases.

Attributes:

Name Type Description
phenopacket_path Path

Path to the phenopacket.

disease ProbandDisease

The proband disease.

rank int

The assigned rank for the disease. Defaults to 0.

Source code in src/pheval/analyse/prioritisation_result_types.py
39
40
41
42
43
44
45
46
47
48
49
50
51
52
@dataclass
class DiseasePrioritisationResult:
    """
    Store rank data for known diseases.

    Attributes:
        phenopacket_path (Path): Path to the phenopacket.
        disease (ProbandDisease): The proband disease.
        rank (int): The assigned rank for the disease. Defaults to 0.
    """

    phenopacket_path: Path
    disease: ProbandDisease
    rank: int = 0

GenePrioritisationResult dataclass

Store rank data for causative genes.

Attributes:

Name Type Description
phenopacket_path Path

Path to the phenopacket.

gene str

The causative gene.

rank int

The assigned rank for the gene. Defaults to 0.

Source code in src/pheval/analyse/prioritisation_result_types.py
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
@dataclass
class GenePrioritisationResult:
    """
    Store rank data for causative genes.

    Attributes:
        phenopacket_path (Path): Path to the phenopacket.
        gene (str): The causative gene.
        rank (int): The assigned rank for the gene. Defaults to 0.
    """

    phenopacket_path: Path
    gene: str
    rank: int = 0

VariantPrioritisationResult dataclass

Store rank data for variants.

Attributes:

Name Type Description
phenopacket_path Path

Path to the phenopacket.

variant GenomicVariant

The genomic variant.

rank int

The assigned rank for the variant. Defaults to 0.

Source code in src/pheval/analyse/prioritisation_result_types.py
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@dataclass
class VariantPrioritisationResult:
    """
    Store rank data for variants.

    Attributes:
        phenopacket_path (Path): Path to the phenopacket.
        variant (GenomicVariant): The genomic variant.
        rank (int): The assigned rank for the variant. Defaults to 0.
    """

    phenopacket_path: Path
    variant: GenomicVariant
    rank: int = 0