java.lang.Object
org.broadinstitute.hellbender.utils.read.Fragment
All Implemented Interfaces:
htsjdk.samtools.util.Locatable

public class Fragment extends Object implements htsjdk.samtools.util.Locatable
All available evidence coming from a single biological fragment. Either one read or a read pair.
  • Constructor Details

    • Fragment

      public Fragment(GATKRead read)
    • Fragment

      public Fragment(org.apache.commons.lang3.tuple.Pair<GATKRead,GATKRead> pair)
  • Method Details

    • create

      public static Fragment create(List<GATKRead> reads)
    • createAndAvoidFailure

      public static Fragment createAndAvoidFailure(List<GATKRead> reads)
    • getReads

      public List<GATKRead> getReads()
    • getContig

      public String getContig()
      Specified by:
      getContig in interface htsjdk.samtools.util.Locatable
    • getStart

      public int getStart()
      Specified by:
      getStart in interface htsjdk.samtools.util.Locatable
    • getEnd

      public int getEnd()
      Specified by:
      getEnd in interface htsjdk.samtools.util.Locatable