Function to create function to check SAMRecord for exclusion in filtered BAM file.
Function to create function to check SAMRecord for exclusion in filtered BAM file.
The returned function evaluates all filtered-in SAMRecord to false.
iterator yielding Feature objects
input BAM file
whether to filter out reads with same name outside target region (default: true)
minimum MapQ of reads in target region to filter out (default: 0)
read group IDs of reads in target region to filter out (default: all IDs)
expected size of elements to contain in the Bloom filter
expected Bloom filter false positive rate
function that checks whether a SAMRecord or String is to be excluded
Creates a list of intervals given an input File
Creates a list of intervals given an input File
input interval file
Function to filter input BAM and write its output to the filesystem
Function to filter input BAM and write its output to the filesystem
filter function that evaluates true for excluded SAMRecord
input BAM file
output BAM file
whether to write excluded SAMRecords to their own BAM file