[][src]Function varlociraptor::utils::tags_prob_sum

pub fn tags_prob_sum(
    record: &mut Record,
    tags: &[String],
    vartype: Option<&VariantType>
) -> Result<Vec<Option<LogProb>>>

Sum up in log space the probabilities of the given tags for all variants of vartype in the given BCF record.

Arguments

  • record - BCF record
  • tags - tags of the set of events to sum up for a particular site and variant
  • vartype - the variant type to consider