flemingtonlab / SpliceTools

GNU General Public License v3.0
18 stars 5 forks source link

How to generate BED12 annotation? #5

Closed leli-li closed 1 year ago

leli-li commented 1 year ago

Hi,

Can you tell me how to generate BED12 annotation from a gtf format? Thank you!

mbaddoo commented 1 year ago

Hello @leli-li -

There are a number of ways you can convert gtf to BED12. One of the easier ways to achieve is to use the attached python script (remove .txt extension after downloading) for the conversion.

Usage: python gtf2bed.py input.gtf > output.bed

gtf2bed.py.txt

Best- :)