This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Splitting .bed file by genomic location

Hi, pretty simple question - wondering about the easiest way to take a single .bed file and split the ranges into those at defined mm10 promoters and those that are intergenic/intronic. With the promoter being +/- 2kb from the TSS? Thanks!

chip-seq r bed promoter

Do you already have the co-ordinates of the defined promoters?; or are you just saying that, generally, you are assuming that they are +/- 2kb from the TSS?

I am just generally trying to cover a large enough area to exclude most promoter elements, maybe +/-2.5kb is even more appropriate.

Any other ideas? Thanks!

You could download a reference template of genes and promoter regions from the UCSC Table Browser in BED format, and then use bedtools intersect, or something like that, in order to overlap your current regions to the actual defined promoters.

How can I fetch promoter sequence upstream of a gene?

Kevin

0 answers

No answers yet.

Log in to answer this question.