This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Using bedtools to identify genes that have overlapping chip-seq peaks

I was interested to know if bedtools can be used to retrieve gene names from multiple files that have shared peaks overlap. I am new to bedtools and I just wanted to confirm that this is indeed possible and if anyone can recommend any resources in addition to the manual. Cheers

bedtools chip-seq

If you provide a bedtools-compatible file (BED, GTF) that contains the gene names then yes. For more details one would need details on your files.

I now have a bed file consisting of my target peaks in the following format:

chrI Start Stop

How could I go about assigning the corresponding gene ID's to the peak?

I tried bedtools annotate and all it gave me was the coverage -Cheers

This approach worked

Can you elaborate on how this answer related to the question? OP is asking about intersection, you mention a tool for a differential analysis. Edit: Moved this answer to comment as (imho) does not answer the question. Please comment if inappropriate.

You can use the bedtools intersect function to find those peaks that overlap between multiple bed files. You can then use the closest function in bedtools to annotate the nearest gene to those peaks.

0 answers

No answers yet.

Log in to answer this question.