Class DownsampleableSparkReadShard

java.lang.Object
org.broadinstitute.hellbender.tools.DownsampleableSparkReadShard
All Implemented Interfaces:
htsjdk.samtools.util.Locatable, Serializable, Iterable<GATKRead>, Shard<GATKRead>

public final class DownsampleableSparkReadShard extends Object implements Shard<GATKRead>, Serializable
A simple shard implementation intended to be used for splitting reads by partition in Spark tools
See Also:
  • Constructor Details

    • DownsampleableSparkReadShard

      public DownsampleableSparkReadShard(ShardBoundary boundaries, Iterable<GATKRead> reads, ReadsDownsampler downsampler)
      Parameters:
      boundaries - the boundary defining the shard
      reads - the records overlapping the shard
      downsampler - the downsampler to use (may be null, which signifies that no downsampling is to be performed)
  • Method Details