Provides easy read/write access to genomic tracks in a fashion that is independent from the underlying format. Requires Python 2.6 or higher. Currently the following formats are implemented:
More formats can be added easily.
To get access to the information contained inside an already existing genomic track, you would do the following whatever the format of the track is:
import track
with track.load('tracks/rp_genes.bed') as rp:
data = rp.read('chr3')