This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Merge overlapped gene coordinates in bed file format

Hi

I have a bed format file which looks like this:

geneid start stop

geneA 100 250

geneA 120 320

geneA 240 600

geneB 1100 1800

geneB 1110 1600

geneB 1500 1700

and I would like to merge the overlapping intervals as follow:

geneid start stop

geneA 100 600

geneB 1100 1800

Are there any tools which I can use to merge such a file format?

Thanks

chip-seq

1 answer

Log in to answer this question.