[][src]Module varlociraptor::utils

Structs

ReferenceBuffer

A lazy buffer for reference sequences.

Enums

Overlap

Describes whether read overlaps a variant in a valid or invalid (too large overlap) way.

Constants

NUMERICAL_EPSILON

Functions

collect_prob_dist

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

collect_variants

Collect variants from a given ´bcf::Record`.

events_to_tags
evidence_kass_raftery_to_letter
filter_by_threshold

Filter a VCF record stream by a minimum threshold on the sum of posterior probabilities of a given set of Events. The threshold should be an informative false discovery rate (FDR) threshold, e.g. determined with the varlociraptor FDR control functionality.

filter_calls

Filter calls by a given function.

generalized_cigar
is_repeat_variant

Returns true if given variant is located in a repeat region.

max_prob

Return the greater of two given probabilities.

select

Select values with given indices from a slice and return them as an iterator.

tags_prob_sum

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