Make check_inputs to do most of the work to prepare the data and parameters for the HMM algorithms. It now checks num_alleles; sets prob_recombination and prob_mutation; and calls the functions to get emission probability matrices. This leads to reduction in redundant code in the rest of api.py.
Make
check_inputs
to do most of the work to prepare the data and parameters for the HMM algorithms. It now checksnum_alleles
; setsprob_recombination
andprob_mutation
; and calls the functions to get emission probability matrices. This leads to reduction in redundant code in the rest ofapi.py
.