module Error:sig
..end
Fasta
module
are defined here. Type t
is the union of all errors, and subsets
of this are defined as needed to specify precise return types for
various functions.
`empty_line pos
- an empty line was found in a position pos
where it is not allowed.`incomplete_input (lines,s)
- the input ended
prematurely. Trailing contents, which cannot be used to fully
construct an item, are provided: lines
is the complete lines
parsed and s
is any final string not ending in a newline.`malformed_partial_sequence s
- indicates that s
could not
be parsed into a valid (partial) sequence value.`unnamed_char_seq x
- a char_seq
value x
was found without
a preceding header section.`unnamed_int_seq x
- an int_seq
value x
was found without
a preceding header section.typestring_to_raw_item =
[ `empty_line of Biocaml_pos.t
| `incomplete_input of Biocaml_pos.t * string list * string option
| `malformed_partial_sequence of string ]
raw_item
.typet =
[ `empty_line of Biocaml_pos.t
| `incomplete_input of Biocaml_pos.t * string list * string option
| `malformed_partial_sequence of string
| `unnamed_char_seq of Biocaml_fasta.char_seq
| `unnamed_int_seq of Biocaml_fasta.int_seq ]
val sexp_of_string_to_raw_item : string_to_raw_item -> Sexplib.Sexp.t
val string_to_raw_item_of_sexp : Sexplib.Sexp.t -> string_to_raw_item
val string_to_raw_item_of_sexp__ : Sexplib.Sexp.t -> string_to_raw_item
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val t_of_sexp__ : Sexplib.Sexp.t -> t