divergence_variant_calls: Calls nt positions at which a BAM file differs from a base...

divergence_variant_callsR Documentation

Calls nt positions at which a BAM file differs from a base BAM file

Description

The pileup of the first BAM file is compared to the consensus of the second BAM file and positions at which there are disagreements are called

Usage

divergence_variant_calls(BAMfile, b_BAMfile, min_divergence_freq = 0.02)

Arguments

BAMfile

BAM file

b_BAMfile

base BAM file to which BAMfile is to be compared

min_divergenece_freq

minimum frequency for which divergence is called

Details

insertions are ignored in calling divergent positions

Value

A numeric vector of called nt positions.


SLeviyang/RegressHaplo documentation built on June 1, 2022, 10:48 p.m.