Get GC content for a list of intervals in a bed file
1
0
Entering edit mode
9.2 years ago

I have a list of intervals in bed file format eg

chr      chromStart       chromEnd
chr1     13223            13999
chr2     1111             22222

etc.

I would like to ascertain the GC density within the whole interval (or just before, just after etc- basically wherever I specify). Is there a way to do this easily from a bed file ( I don't have raw sequences) for all the intervals at the same time?

sequencing • 4.8k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode
9.2 years ago

You can do this easily enough in R. Here's a script that demonstrates how to do that for genes in a GTF file. A BED file would be even simpler.

ADD COMMENT

Login before adding your answer.

Traffic: 2338 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