Usage
"bam_tally"(x, param, ...)
"bam_tally"(x, param, ...)
variantSummary(x, read_pos_breaks = NULL, high_base_quality = 0L, keep_ref_rows = FALSE, read_length = NA_integer_)
Arguments
x
a BamFile object or string path to a BAM file to read
param
The BamTallyParam object with
parameters for the tally operation.
read_pos_breaks
The breaks, like those passed to cut
for aggregating the per-read position counts. If NULL, no per-cycle
counts are returned. high_base_quality
The minimum mapping quality for a
read to be counted as high quality.
keep_ref_rows
Whether to keep the rows describing only the
reference calls, i.e., where ref and alt are the same. These are
useful when one needs the reference counts even when there are no
alts at that position.
read_length
The expected read length. If the read length is NA,
the MDFNE (median distance from nearest end) statistic will NOT be
calculated.
...
Arguments that override settings in param.