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/GenomeMap/Make/Selection/index.html

Module Make.Selection

A collection of non-overlapping regions (e.g. a set of CpG islands)

type t
val empty : t
val add : t -> location -> t
val inter : t -> t -> t
val union : t -> t -> t
val diff : t -> t -> t
val size : t -> int
val intersects : t -> location -> bool

intersects loc sel returns true if loc has a non-empty intersection with sel, and false otherwise.

val overlap : t -> location -> int
val to_stream : t -> location Stream.t
val of_stream : location Stream.t -> t

of_stream e computes a selection (i.e. a set of non overlapping locations) as the union of the locations contained in e

OCaml

Innovation. Community. Security.