module LMap: sig .. end
A set of locations with an attached value on each of them
type ('a, 'b) t
val to_stream : ('a, 'b) t ->
('a Biocaml_genomeMap.location * 'b) Stream.t
val of_stream : ('a Biocaml_genomeMap.location * 'b) Stream.t ->
('a, 'b) t
val intersects : 'a Biocaml_genomeMap.location -> ('a, 'b) t -> bool
intersects loc lmap returns true if loc has a non-empty
intersection with one of the locations in lmap, and returns
false otherwise
val closest : 'a Biocaml_genomeMap.location ->
('a, 'b) t ->
('a Biocaml_genomeMap.location * 'b * int) option
closest loc lmap returns the location in lmap that is the
closest to loc, along with its annotation and the actual (minimal)
distance. Returns None if there is no location in lmap
that comes from the same sequence than loc.
val intersecting_elems : 'a Biocaml_genomeMap.location ->
('a, 'b) t ->
('a Biocaml_genomeMap.location * 'b) Stream.t
intersecting_elems loc lmap returns an enumeration of elements
in lmap whose location intersects with loc.