Construct empty SAM header
Parse SAM header given in plain text.
Zero-based index of sequence. If such sequence does not exist in the header, returns -1.
Dictionary of @SQ lines. Removal is not allowed, you can only replace the whole dictionary.
Get header text representation in SAM format (includes trailing '\n')
Packs message in the following format:
MsgPack array with elements
Dictionary keys are the same as in SAM format.
Header text representation in SAM ("%s") or JSON format ("%j").
Includes trailing '\n'.
Array of @CO lines
Format version
Dictionary of @PG lines
Dictionary of @RG lines
Sorting order
Represents SAM header