continue
siteNotCommon = True
+ #TODO: as handed to me this is O(n^m) - probably could be better...
+ #TODO: if there are multiple matches will count them but only write the first match to the file
for (rstart, rstop, rline) in siteDict[chrom]:
if regionsOverlap(start, stop, rstart, rstop):
commonSites += 1
if __name__ == "__main__":
- main(sys.argv)
+ main(sys.argv)
\ No newline at end of file