let intersects sel (k,r) = Option.value_map (Map.find sel k) ~default:false ~f:(fun x -> Range.(Biocaml_iset.intersects_range x r.lo r.hi))