Package picard.util.IntervalList
Class IntervalListScattererByBaseCount
java.lang.Object
picard.util.IntervalList.IntervalListScattererByBaseCount
- All Implemented Interfaces:
IntervalListScatterer
- Direct Known Subclasses:
IntervalListScattererWithoutSubdivision,IntervalListScattererWithSubdivision
public abstract class IntervalListScattererByBaseCount
extends Object
implements IntervalListScatterer
a Baseclass for scatterers that scatter by uniqued base count.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdeduceIdealSplitWeight(htsjdk.samtools.util.IntervalList intervalList, int nCount) A method that determines the ideal target "weight" of the output IntervalList.longintervalWeight(htsjdk.samtools.util.Interval interval) A method that defines the "weight" of an interval list for the purpose of scattering.longlistWeight(htsjdk.samtools.util.IntervalList intervalList) A method that defines the "weight" of an interval for the purpose of scattering.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface picard.util.IntervalList.IntervalListScatterer
preprocessIntervalList, scatter, takeSome
-
Constructor Details
-
IntervalListScattererByBaseCount
public IntervalListScattererByBaseCount()
-
-
Method Details
-
intervalWeight
public long intervalWeight(htsjdk.samtools.util.Interval interval) Description copied from interface:IntervalListScattererA 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:
intervalWeightin interfaceIntervalListScatterer
-
listWeight
public long listWeight(htsjdk.samtools.util.IntervalList intervalList) Description copied from interface:IntervalListScattererA 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:
listWeightin interfaceIntervalListScatterer
-
deduceIdealSplitWeight
public int deduceIdealSplitWeight(htsjdk.samtools.util.IntervalList intervalList, int nCount) Description copied from interface:IntervalListScattererA method that determines the ideal target "weight" of the output IntervalList.- Specified by:
deduceIdealSplitWeightin interfaceIntervalListScatterer- Parameters:
intervalList- theIntervalListthat is about to get splitnCount- the scatter count into which to split intervalList- Returns:
- The ideal "weight" of the output
IntervalList's
-