The possible errors returned by parsing and printing functions.
type [ `read_name_not_null_terminated of string
       | `reference_information_name_not_null_terminated of string
       | `reference_information_overflow of int * string
       | `wrong_int32 of string
       | `wrong_magic_number of string ] 
The possible non-gzip-related errors encountered while parsing a
      BAM file.
 
type [ `wrong_auxiliary_data of
           [ `array_size of int
           | `null_terminated_hexarray
           | `null_terminated_string
           | `out_of_bounds
           | `unknown_type of char
           | `wrong_int32 of string ] * string ] 
The potential failures while parsing the optional content in BAM
      alignments.
 
type [ `wrong_cigar of string | `wrong_cigar_length of int ] 
The potential failures while parsing the so-called CIGAR operations
 
type [ `cannot_get_sequence of Biocaml_sam.alignment
       | `header_item_not_first of string
       | `reference_name_not_found of Biocaml_sam.alignment * string ] 
Inconsistency errors that may happen while trnasforming a
      Sam.item to a raw_item.
 
type [ `cannot_get_sequence of Biocaml_sam.alignment
       | `header_item_not_first of string
       | `header_line_not_first of int
       | `header_line_without_version of (string * string) list
       | `header_line_wrong_sorting of string
       | `invalid_header_tag of int * string
       | `invalid_tag_value_list of int * string list
       | `read_name_not_null_terminated of string
       | `reference_information_name_not_null_terminated of string
       | `reference_information_overflow of int * string
       | `reference_name_not_found of Biocaml_sam.alignment * string
       | `reference_sequence_not_found of Biocaml_bam.raw_alignment
       | `wrong_auxiliary_data of
           [ `array_size of int
           | `null_terminated_hexarray
           | `null_terminated_string
           | `out_of_bounds
           | `unknown_type of char
           | `wrong_int32 of string ] * string
       | `wrong_cigar of string
       | `wrong_cigar_length of int
       | `wrong_flag of Biocaml_bam.raw_alignment
       | `wrong_int32 of string
       | `wrong_magic_number of string
       | `wrong_mapq of Biocaml_bam.raw_alignment
       | `wrong_pnext of Biocaml_bam.raw_alignment
       | `wrong_pos of Biocaml_bam.raw_alignment
       | `wrong_qname of Biocaml_bam.raw_alignment
       | `wrong_tlen of Biocaml_bam.raw_alignment ] 
The union of all the errors.