The size of each bin in nucleotides
Get the bin number corresponding to a query ReferenceRegion.
Get the bin number corresponding to a query ReferenceRegion.
the query ReferenceRegion
whether to use the start or end point of region to pick the bin
Get the bin number corresponding to the end of the query ReferenceRegion.
Get the bin number corresponding to the start of the query ReferenceRegion.
Given a bin number, return its corresponding ReferenceRegion.
The total number of bins induced by this partition.
A map containing the length of each contig
Partition a genome into a set of bins.
Note that this class will not tolerate invalid input, so filter in advance if you use it.
The size of each bin in nucleotides
A map containing the length of each contig