tracts.driver_utils.load_population#
- load_population(driver_path, driver_spec, script_dir=None, allosome_labels=None)#
Loads the population data based on the specifications in the driver file.
- Parameters:
driver_path (
str) – The path to the driver yaml file.driver_spec (
InferenceConfig) – The configuration for the inference process, as specified in the driver file.script_dir (
str|Path|None) – The directory containing the script.allosome_labels (
Optional[List[str]]) – A list of allosome chromosome names.