Closed:Generate BED12 file from genomic coordinates
1
0
Entering edit mode
3.5 years ago
Barry Digby ★ 1.3k

Hi all,

As the title suggests, is it possible to generate a bed12 file given a genomic range?

Here are some examples;

Standard bed file:

chr22   20564449    20566817    circrna 0   +

I would like to generate a bed12 file from the underlying sequence that would ultimately result in:

chr22   20564449    20566817    circrna 0   +   20564449    20564449    0,0,0   2   239,351 0,2017

Screenshot-from-2020-10-07-20-09-12

Red: genomic range, Blue: GTF, Black: desired bed12 output

I have also considered if the genomic range is intronic, in which case the sequence is represented as 1 exon block:

Screenshot-from-2020-10-07-20-13-53


The goal here is to use bedtools getfasta with the -split flag to retrieve the concatenated exon sequences / intron sequence.

Thanks,

Barry

ucsc bedtools bed12 • 332 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1819 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