Format
BED
Tab-separated intervals: chrom, start, end and optional name, score, strand. Start is 0-based and end is exclusive, so a 1 bp feature at position 100 is written 99-100.
Extensions: .bed, .bed.gz · Coordinates: 0-based-half-open · Specification
From BED
No conversions from this format yet.
To BED
- How to Convert GTF to BED (and Keep Your Coordinates Right)
gtf2bed subtracts one from the start coordinate for you; a naive awk one-liner won't, and that gap costs you a silent off-by-one bug three steps downstream.