package biocaml

  1. Overview
  2. Docs
The OCaml Bioinformatics Library

Install

Dune Dependency

Authors

Maintainers

Sources

biocaml-0.11.2.tbz
sha256=fae219e66db06f81f3fd7d9e44717ccf2d6d85701adb12004ab4ae6d3359dd2d
sha512=f6abd60dac2e02777be81ce3b5acdc0db23b3fa06731f5b2d0b32e6ecc9305fe64f407bbd95a3a9488b14d0a7ac7c41c73a7e18c329a8f18febfc8fd50eccbc6

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

Module Biocaml_unix.Seq_rangeSource

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.

Sourcemodule type Identifier = sig ... end
Sourcemodule Make (S : Identifier) : sig ... end
include sig ... end
Sourceval compare : t Base__Ppx_compare_lib.compare
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval make : Core.String.t -> int -> int -> t Core.Or_error.t
Sourceval seq : t -> Core.String.t
Sourceval size : t -> int
Sourceval to_string : t -> string

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

Sourceval of_string : string -> t Core.Or_error.t

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

OCaml

Innovation. Community. Security.