cpg_flow.targets

This module initializes the cpg_flow.targets package and imports key classes and functions.

The import order is crucial to avoid circular imports.

Classes: Target: Represents a target in the CPG flow. Sex: Enum representing the sex of an individual. PedigreeInfo: Contains pedigree information for individuals. SequencingGroup: Represents a group of sequencing data. Dataset: Represents a dataset in the CPG flow. Cohort: Represents a cohort of individuals. MultiCohort: Represents multiple cohorts.

Functions: seq_type_subdir: Helper function to get the subdirectory for a given sequencing type.

 1# ruff: noqa: F401, I001
 2"""
 3This module initializes the `cpg_flow.targets` package and imports key classes and functions.
 4
 5The import order is crucial to avoid circular imports.
 6
 7Classes:
 8    Target: Represents a target in the CPG flow.
 9    Sex: Enum representing the sex of an individual.
10    PedigreeInfo: Contains pedigree information for individuals.
11    SequencingGroup: Represents a group of sequencing data.
12    Dataset: Represents a dataset in the CPG flow.
13    Cohort: Represents a cohort of individuals.
14    MultiCohort: Represents multiple cohorts.
15
16Functions:
17    seq_type_subdir: Helper function to get the subdirectory for a given sequencing type.
18"""
19
20# Note: the import order below is important in order to avoid circular imports
21from cpg_flow.targets.target import Target
22from cpg_flow.targets.helpers import seq_type_subdir
23from cpg_flow.targets.types import Sex
24from cpg_flow.targets.pedigree_info import PedigreeInfo
25from cpg_flow.targets.sequencing_group import SequencingGroup
26from cpg_flow.targets.dataset import Dataset
27from cpg_flow.targets.cohort import Cohort
28from cpg_flow.targets.multicohort import MultiCohort