Class IntervalListScattererByBaseCount

    • Constructor Detail

      • IntervalListScattererByBaseCount

        public IntervalListScattererByBaseCount()
    • Method Detail

      • intervalWeight

        public long intervalWeight​(htsjdk.samtools.util.Interval interval)
        Description copied from interface: IntervalListScatterer
        A method that defines the "weight" of an interval list for the purpose of scattering. The class will attempt to create sublists that all have similar weights.
        Specified by:
        intervalWeight in interface IntervalListScatterer
      • listWeight

        public long listWeight​(htsjdk.samtools.util.IntervalList intervalList)
        Description copied from interface: IntervalListScatterer
        A method that defines the "weight" of an interval for the purpose of scattering. The class will attempt to create sublists that all have similar weights. This method need to estimate the change in any sublists weight due to the possible of the provided interval.
        Specified by:
        listWeight in interface IntervalListScatterer
      • deduceIdealSplitWeight

        public int deduceIdealSplitWeight​(htsjdk.samtools.util.IntervalList intervalList,
                                          int nCount)
        Description copied from interface: IntervalListScatterer
        A method that determines the ideal target "weight" of the output IntervalList.
        Specified by:
        deduceIdealSplitWeight in interface IntervalListScatterer
        Parameters:
        intervalList - the IntervalList that is about to get split
        nCount - the scatter count into which to split intervalList
        Returns:
        The ideal "weight" of the output IntervalList's