Average peak center of three peaks using pybedtools?
0
0
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!

ChIP-Seq gene alignment sequence genome • 1.9k views
ADD COMMENT
0
Entering edit mode

What do you mean by average peak centre ? Use mergeBed to get the ends of merged coordinates and then get the center.

ADD REPLY
0
Entering edit mode

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?

ADD REPLY

Login before adding your answer.

Traffic: 1686 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6