Biocaml_unix.Seq_rangeRange on a sequence, where the sequence is represented by an identifier.
This datatype can be used to represent genomic regions with a triplet (chromosome, start, end) as can be found in say, BED files. The Seq_range.Make functor offers some genericity for the choice of the type representing a sequence identifier, while the module offers the most frequent case when the identifier is a simple string.
Most operations on Seq_range.t are simple extensions of operations on Range.t.
module type Identifier = sig ... endmodule Make (S : Identifier) : sig ... endinclude sig ... endtype t = Core_kernel.String.t * Range.tval t_of_sexp : Sexplib0.Sexp.t -> tval sexp_of_t : t -> Sexplib0.Sexp.tval make : Core_kernel.String.t -> int -> int -> t Core_kernel.Or_error.tval seq : t -> Core_kernel.String.tval size : t -> intval to_string : t -> stringString representation of a sequence range, as <seq>:<start>-<end>
val of_string : string -> t Core_kernel.Or_error.tParses a string representation of a sequence range, as <seq>:<start>-<end>