pub fn consprob_trained<T>(
    thread_pool: &mut Pool,
    seqs: &Vec<&[usize], Global>,
    min_basepair_prob: f32,
    min_match_prob: f32,
    produces_struct_profs: bool,
    produces_match_probs: bool,
    train_type: TrainType
) -> (Vec<AlignfoldProbMatsAvg<T>, Global>, HashMap<(usize, usize), MatchProbMats<T>, BuildHasherDefault<AHasher>, Global>)where
    T: HashIndex,