ALLCools.plot.genome_track.GtfTrack
Contents
ALLCools.plot.genome_track.GtfTrack
¶
This GtfTrack class replaced the original pygenometracks class It supports read-in a gffutils database, rather than parse very time
Module Contents¶
- class ReadGtf(file_path, prefered_name='transcript_name', merge_transcripts=True)[source]¶
Bases:
object
Reads a gtf file.
Example: gtf = ReadGtf(“file.gtf”) for interval in gtf:
print interval.start
- class GtfTrack(*args, **kwarg)[source]¶
Bases:
pygenometracks.tracks.BedTrack.BedTrack
The GenomeTrack object is a holder for all tracks that are to be plotted. For example, to plot a bedgraph file a new class that extends GenomeTrack should be created.
It is expected that all GenomeTrack objects have a plot method.
- BOOLEAN_PROPERTIES = ['labels', 'merge_transcripts', 'global_max_row', 'arrowhead_included', 'all_labels_inside',...[source]¶