All errors generated by any function in the
Fastq module
are defined here.
`sequence_and_qualities_do_not_match (position, sequence,
qualities) - given sequence and qualities at given position
are of different lengths.
`wrong_name_line x - name line x does not start with '@'
`wrong_comment_line _ - comment line does not start with '+'
`incomplete_input (position, lines, s) - the input ended
prematurely. Trailing contents, which cannot be used to fully
construct an item, are provided: lines is any complete lines
parsed and s is any final string not ending in a newline.
type fasta_pair_to_fastq = [ `cannot_convert_to_phred_score of int list
| `sequence_names_mismatch of string * string ]
type parsing = [ `incomplete_input of Biocaml_pos.t * string list * string option
| `sequence_and_qualities_do_not_match of Biocaml_pos.t * string * string
| `wrong_comment_line of Biocaml_pos.t * string
| `wrong_name_line of Biocaml_pos.t * string ]
The parsing errors.
type t = [ `cannot_convert_to_phred_score of int list
| `incomplete_input of Biocaml_pos.t * string list * string option
| `sequence_and_qualities_do_not_match of Biocaml_pos.t * string * string
| `sequence_names_mismatch of string * string
| `wrong_comment_line of Biocaml_pos.t * string
| `wrong_name_line of Biocaml_pos.t * string ]
Union of all possible errors.
val t_to_string : t -> string
Transform error to a human-readable string.