package biotk

  1. Overview
  2. Docs

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

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

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

val overlap : t -> GLoc.t -> int
val to_seq : t -> GLoc.t Stdlib.Seq.t
val of_seq : GLoc.t Stdlib.Seq.t -> t

of_seq 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.