java.lang.Object
htsjdk.samtools.cram.encoding.readfeatures.Bases
All Implemented Interfaces:
ReadFeature, Serializable

public final class Bases extends Object implements Serializable, ReadFeature
See Also:
  • Field Details

  • Constructor Details

    • Bases

      public Bases(int position, byte[] sequence)
  • Method Details

    • getBases

      public byte[] getBases()
    • setBases

      public void setBases(byte[] bases)
    • getOperator

      public byte getOperator()
      Description copied from interface: ReadFeature
      Read features are distinguished by operator, similar to cigar operator.
      Specified by:
      getOperator in interface ReadFeature
      Returns:
      type of the read feature
    • getPosition

      public int getPosition()
      Specified by:
      getPosition in interface ReadFeature
      Returns:
      zero-based position in the read
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object