Entering edit mode
11.6 years ago
PoGibas
5.1k
Example from UCSC track:
bin name chrom strand txStart txEnd cdsStart cdsEnd exonCount exonStarts exonEnds
73 TCONS_l2_00002368 chr1 - 89294 237877 237877 237877 2 89294,236614, 90404,237877,
585 TCONS_l2_00002369 chr1 - 89550 91105 91105 91105 2 89550,90286, 90050,91105,
How to combine exonStarts with corresponding exonEnds to get only exon's bed file?
chr1 89294 90404
chr1 236614 237877
chr1 89550 90050
chr1 90286 91105
I was using bedtools for some time and didn't know it had such a cool feature.
I specifically created a biostars account so that I could upvote this reply. Thank you very much!