Entering edit mode
8.6 years ago
Kevin_Smith
▴
10
I have the data of three peaks in bed files, How I can find the average center across all three peaks using pybedtools? I will appreciate very much any help with a script.
Thanks in advance!
What do you mean by average peak centre ? Use mergeBed to get the ends of merged coordinates and then get the center.
What do you mean by "data of three peaks in bed files"? Do you mean you have three bed files, each of which contains many peaks?