Function libprosic::call::pairwise::call
[−]
[src]
pub fn call<A, B, P, M, R, W, X>(inbcf: &R, outbcf: &W, events: &[PairEvent<A, B>], complement_event: Option<&ComplementEvent>, pair_model: &mut PairModel<A, B, P>, omit_snvs: bool, omit_indels: bool, max_indel_len: Option<u32>, outobs: Option<&X>) -> Result<(), Box<Error>> where A: AlleleFreqs, B: AlleleFreqs, P: PairModel<A, B>, R: AsRef<Path>, W: AsRef<Path>, X: AsRef<Path>Call variants with the given model.
Arguments
inbcf- path to BCF/VCF with preprocessed variant calls ("-"for STDIN).outbcf- path to BCF/VCF with results ("-"for STDOUT).events- events to callcomplement_event- optional complementary event to call (e.g. absent)joint_model- calling model to useomit_snvs- omit single nucleotide variantsomit_indels- omit indelsoutobs- optional path where to store observations as JSON
Returns
Result object with eventual error message.