Nucleic acid sequences. A nucleic acid code is any of A, C, G, T,
U, R, Y, K, M, S, W, B, D, H, V, N, or X. See IUB/IUPAC standards for
further information. Gaps are not supported. Internal representation
uses uppercase, but constructors are case-insensitive. By convention
the first nucleic acid in a sequence is numbered 1.
module Biocaml_seq: sigtype t
exception Bad of string
val nth : t -> int -> charnth t i returns the ith nucleic acid in sequence t. Raise
Failure if i is out of range.val to_string : t -> stringof_string.val is_nucleic_acid : char -> boolval slice : int -> int -> t -> t slice first last t returns the sub-sequence, or slice, of t
starting from index first to last (inclusive). Raise Failure if
indices out of range or if first > last.val fold_lefti : ('a -> int -> char -> 'a) -> 'a -> t -> 'aval of_buffer_unsafe : Buffer.t -> t val of_string_unsafe : string -> t Biocaml_seq.is_nucleic_acid, else returned sequence is
ill-formed and behavior of operations on it are undefined.end