ALLCools.sandbox.igv.Session

Module Contents

get_panel_int(panel)[source]
class Session(genome='mm10', hasGeneTrack='false', hasSequenceTrack='true', locus='chr1:19000000-19100000', version='8', refseq_track=True)[source]

Bases: ALLCools.sandbox.igv.BaseClass.Element

An XML element.

This class is the reference implementation of the Element interface.

An element’s length is its number of subelements. That means if you want to check if an element is truly empty, you should check BOTH its length AND its text attribute.

The element tag, attribute names, and attribute values can be either bytes or strings.

tag is the element name. attrib is an optional dictionary containing element attributes. extra are additional element attributes given as keyword arguments.

Example form:

<tag attrib>text<child/>…</tag>tail

__add_resources(self)[source]
__add_data_panel(self)[source]
__add_feature_panel(self)[source]
__add_other_routine(self)[source]
__add_resource(self, path)[source]
__add_sequence_track(self)[source]
__add_refseq_gene(self)[source]
add_data_track(self, track_kws, data_range_kws, panel='Data')[source]
add_feature_track(self, track_kws, panel='Feature')[source]