The number of equally-sized regions into which the total genomic space is partitioned; the total number of partitions is numParts + 1, with the "+1" resulting from one extra partition that is used to capture null or UNMAPPED values of the ReferencePosition type.
a map relating sequence-name to length and indicating the set and length of all extant sequences in the genome.
Computes the partition for a key.
Computes the partition for a key.
A key to compute the partition for.
The partition that this key belongs to.
IllegalArgumentException
if the key is not a ReferencePosition, or
(ReferencePosition, _) tuple.
This is the total number of partitions for both mapped and unmapped positions.
This is the total number of partitions for both mapped and unmapped positions. All unmapped positions go into the last partition.
parts
The number of equally-sized regions into which the total genomic space is partitioned; the total number of partitions is numParts + 1, with the "+1" resulting from one extra partition that is used to capture null or UNMAPPED values of the ReferencePosition type.
a map relating sequence-name to length and indicating the set and length of all extant sequences in the genome.
GenomicPositionPartitioner partitions ReferencePosition objects into separate, spatially-coherent regions of the genome.
This can be used to organize genomic data for computation that is spatially distributed (e.g. GATK and Queue's "scatter-and-gather" for locus-parallelizable walkers).
The number of equally-sized regions into which the total genomic space is partitioned; the total number of partitions is numParts + 1, with the "+1" resulting from one extra partition that is used to capture null or UNMAPPED values of the ReferencePosition type.
a map relating sequence-name to length and indicating the set and length of all extant sequences in the genome.