- <init>
- build
Decides on compression methods to use for the given records.
- buildFrequencies
Build an array of substitution frequencies for the given CRAM records.
- getByteSizeRangeOfTagValues
- getDataForTag
- getTagType
Tag id is and integer where the first byte is its type and the other 2 bytes
represent the name. For
- getTagValueByteSize
Calculate byte size of a tag value based on it's type and value class
- getUnusedByte
Find a byte value never mentioned in the array
- updateSubstitutionCodes
Given the records update the substitution matrix with actual substitution codes.
- buildEncodingForTag
Build an encoding for a specific tag for given records.
- buildTagEncodingForSize
Used by buildEncodingForTag to create a ByteArrayLenEncoding with
CanonicalHuffmanIntegerEncoding an
- buildTagEncodings
Iterate over the records and for each tag found come up with an encoding. Tag
encodings are register