module Error:
sig
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.`sequence_is_too_long s
- indicates that s
is longer than
allowed by `max_items_per_line.`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 Biocaml_pos.t * string
| `sequence_is_too_long of Biocaml_pos.t * string ]
Biocaml_fasta.raw_item
.typet =
[ `empty_line of Biocaml_pos.t
| `incomplete_input of Biocaml_pos.t * string list * string option
| `malformed_partial_sequence of Biocaml_pos.t * string
| `sequence_is_too_long of Biocaml_pos.t * 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
end