Module Biocaml_genomeMap.LMap

module LMap: sig .. end
A set of locations with an attached value on each of them

type ('a, 'b) t 
val enum : ('a, 'b) t ->
('a Biocaml_genomeMap.location * 'b) Batteries.Enum.t
val of_enum : ('a Biocaml_genomeMap.location * 'b) Batteries.Enum.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
closest loc lmap returns the location in lmap which is the closest to loc, along with its annotation and the actual (minimal) distance. Throws Not_found if there is no location in lmap that comes from the same sequence than loc.