Skip to content

Instantly share code, notes, and snippets.

View ttgump's full-sized avatar
:octocat:

Tian Tian ttgump

:octocat:
View GitHub Profile
@ttgump
ttgump / gtf2bed.py
Created March 22, 2016 06:25 — forked from davidliwei/gtf2bed.py
Converting Cufflinks predictions (.GTF) into .BED annotations
#!/usr/bin/env python3
'''
gtf2bed.py converts GTF file to BED file.
Usage: gtf2bed.py {OPTIONS} [.GTF file]
History
Nov.5th 2012:
1. Allow conversion from general GTF files (instead of only Cufflinks supports).
2. If multiple identical transcript_id exist, transcript_id will be appended a string like "_DUP#" to separate.
'''