20 #ifndef __NONOVERLAP_REGIONS_H__ 21 #define __NONOVERLAP_REGIONS_H__ 47 void add(int32_t start, int32_t end);
62 bool findRight(int32_t pos);
70 bool findLeft(int32_t pos);
73 std::list< std::pair<int32_t, int32_t> > myRegions;
74 std::list< std::pair<int32_t, int32_t> >::iterator myRegionIter;
75 std::list< std::pair<int32_t, int32_t> >::iterator myTmpIter;
94 void add(
const char* chrom, int32_t start, int32_t end);
100 bool inRegion(
const char* chrom, int32_t pos);
106 std::map<std::string, NonOverlapRegionPos> myRegions;
bool inRegion(int32_t pos)
Return whether or not the position was found within a region.
void add(int32_t start, int32_t end)
End position is not included in the region.
This class contains a list of non-overlapping regions, just positions, not including chromosomes (see...
This class contains a list of non-overlapping regions.