item_to_raw =
  [ `cannot_get_sequence of Sam.alignment
  | `header_item_not_first of string
  | `reference_name_not_found of Sam.alignment * string ]