[−][src]Function varlociraptor::model::evidence::fragments::n_fragment_positions
pub fn n_fragment_positions(
insert_size: u32,
left_read_len: u32,
right_read_len: u32,
window: u32
) -> u32
Calculate the number of positions a fragment can have in a given window according to Sahlin et al. biorxiv 2015 (http://biorxiv.org/content/biorxiv/early/2015/08/04/023929.full.pdf).
Arguments
insert_size
- observed insert size according to read mapperleft_read_len
- read length of left readright_read_len
- read length of right readwindow
- size of the considered sampling window (total, symmetric around the event)