I have the following bed file
chr1 18551 18579 chr1 18559 18583 chr1 18966 18991 chr1 18966 18991 chr1 18966 18993
I want to expand the coordinates to generate a new file that lists every single coordinate individually. For example:
chr1 18551 18552 chr1 18552 18553 ... chr1 18578 18579
I want it to do this for every single bed coordinate, and put all if it in a single file. Any help? I've played around with Bedtools slop, but it wasn't doing exaclty what I needed.