Skip to content

Instantly share code, notes, and snippets.

View gaoyishu's full-sized avatar

YesGod gaoyishu

  • Shenzhen
View GitHub Profile
@davidliwei
davidliwei / gtf2bed.py
Created August 18, 2011 23:44
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.
'''