GenomeComb
cg regcollapse ?options? region_file1 ...
Collapses overlapping regions in one (sorted) or more region files
Collapses overlapping regions in one (sorted) or more region files, resulting in a region file (written to stdout) with non-overlapping regions covering the same total region as the source file(s). Overlaps between regions are cut at the overlap. Non overlapping regions keep the annotation (columns other than the ones indicated the region) of the original. Overlap regions get the annotation of the highest scoring region if a score column is available. If not, overlap regions are annotated with a (comma separated) list of the distinct values in the original annotations of the overlapping regions.
Regions