Class ReferenceBases
java.lang.Object
org.broadinstitute.hellbender.utils.reference.ReferenceBases
- All Implemented Interfaces:
Serializable
ReferenceBases stores the bases of the reference genome for a particular interval.
This class requires the bases to be encoded at 8 bits per base.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
byte[]
getBases()
getSubset
(SimpleInterval subsetInterval) getSubset returns only the bases of the interval passed in.int
hashCode()
toString()
-
Constructor Details
-
ReferenceBases
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getBases
public byte[] getBases() -
getInterval
-
getSubset
getSubset returns only the bases of the interval passed in.- Parameters:
subsetInterval
- , the subset to be returned- Returns:
- the subset of ReferenceBases
-