pub fn collect_prob_dist<E: Event>(
    calls: &mut Reader,
    events: &[E],
    vartype: &VariantType
) -> Result<Vec<NotNan<f64>>, Box<dyn Error>>
Expand description

Collect distribution of posterior probabilities from a VCF file that has been written by libprosic.

Arguments

  • calls - BCF reader with libprosic calls
  • events - the set of events to sum up for a particular site
  • vartype - the variant type to consider