[][src]Function varlociraptor::utils::collect_prob_dist

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

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

Arguments

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