tracts.driver_utils#
Functions
|
Computes a function that takes in optimizer parameters, converts them to physical parameters using the model's parameter handler, and returns the violation score for those parameters. |
|
Computes a function that takes in optimizer parameters, converts them to physical parameters using the model's parameter handler, and returns the migration matrices for those parameters. |
|
Loads the driver file and validates that it contains all required parameters for the inference. |
|
Loads the demographic model based on the specifications in the driver file. |
|
Loads the population data based on the specifications in the driver file. |
|
Locates the file path for a given filename by searching in multiple locations. |
|
Creates output graphs to compare data and the theoretical tract length distribution inferred by the model. |
|
Parses a chromosome specification and returns a list of chromosome numbers. |
|
Parses the individual filenames based on the provided format and locates their paths. |
|
Produces a 1-dimensional array of starting parameters for optimization in physical units, for every parameter in base_model_parameters. |
|
Classes
|
Configuration for the inference process. |
|
Configuration for the samples used in the inference. |
|
Configuration for the starting parameters used in the optimization. |