Usage
"callVariants"(x, tally.param, calling.filters = VariantCallingFilters(...), post.filters = FilterRules(), ...)
"callVariants"(x, ...)
"callVariants"(x, calling.filters = VariantCallingFilters(...), post.filters = FilterRules(), ...)
VariantCallingFilters(read.count = 2L, p.lower = 0.2, p.error = 1/1000)
Arguments
x
Either a path to an indexed bam, a BamFile
object, or a VRanges
as returned by tallyVariants
.
tally.param
Parameters controlling the variant tallying step,
as typically constructed by TallyVariantsParam
.
calling.filters
Filters used in the calling step, typically constructed with
VariantCallingFilters
, see arguments listed below.
post.filters
Filters that are applied after the initial calling step. These
consider the set of variant calls as a whole and remove those with
suspicious patterns.
read.count
Require at least this many high quality reads with
the alternate base. The default value is designed to catch sequencing
errors where coverage is too low to rely on the LRT. Increasing this
value has a significant negative impact on power.
p.lower
The lower bound on the binomial probability for a true
variant.
p.error
The binomial probability for a sequencing error (default
is reasonable for Illumina data with the default quality cutoff).
...
Arguments to pass to VariantCallingFilters
.