package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.0.tar.gz
md5=497e3f2f7128a6ca347d66848da38a3d
sha512=4a76ebbafda3bc944afaff40d69791dfe153a0638ef5d7e6e1bc962b7f991d9545cd0af2d7930b39f8b31dbf067d0603cfa03d9b7a49396ab1ae452df47fd1f3

doc/biocaml.unix/Biocaml_unix/Seq_range/index.html

Module Biocaml_unix.Seq_range

Range 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 ... end
module Make (S : Identifier) : sig ... end
include sig ... end
val compare : t -> t -> int
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val make : Core_kernel.String.t -> int -> int -> t Core_kernel.Or_error.t
val seq : t -> Core_kernel.String.t
val size : t -> int
val to_string : t -> string

String representation of a sequence range, as <seq>:<start>-<end>

val of_string : string -> t Core_kernel.Or_error.t

Parses a string representation of a sequence range, as <seq>:<start>-<end>

OCaml

Innovation. Community. Security.