EIYBrowse.tracks.location module

The location module contains the LocationTrack class, which defines a track for showing an axis with genomic position in basepair co-ordinates.

class EIYBrowse.tracks.location.LocationTrack(color='#000000', fontsize=10, name_rotate=False)

Bases: EIYBrowse.tracks.base.Track

Track for displaying location in genomic co-ordinates.

get_config(region, browser)
plot(region, plot_ax, label_ax=None)

Public method that sets the name of the track to the chromosome and calls the parent classes plot method (which in turn calls the private _plot function