Struct libprosic::model::SingleCaller [] [src]

pub struct SingleCaller<A: AlleleFreqs, P: Model<A>> { /* fields omitted */ }

Joint variant calling model, combining two latent variable models.

Methods

impl<A: AlleleFreqs, P: Model<A>> SingleCaller<A, P>
[src]

Create new JointModel.

Arguments

  • sample - sample
  • prior_model - prior model

Calculate pileup and marginal probability for given variant.

Arguments

  • chrom - the chromosome of the variant
  • start - the starting position of the variant
  • variant - the variant

Returns

The SinglePileup, or an error message.