This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Distance Between Peaks in Macs Peak-calling data

I have run Macs Peak-calling for different time points on yeast data sets. Now I want to know the distance between the neighboring peaks in a file for each time point ( There are a number of peaks in each file and I want to know the distance between each neighboring peak). Using some tool in Linux or maybe R.

chip-seq

1 answer

Bedtools should do the job for you: http://bedtools.readthedocs.org/en/latest/

Check for "bedtools spacing" or "bedtools closest with -d and -io options".

Log in to answer this question.