List of all members.
Public Member Functions |
def | __init__ |
def | __enter__ |
def | __exit__ |
def | __iter__ |
def | open |
def | close |
def | save |
def | read |
def | write |
Public Attributes |
| path |
| filehandle |
| format |
| fields |
| assembly |
| chrmeta |
| info |
Detailed Description
Metaclass regrouping the track properties. Subclasses for each specific format
are in `btrack/text.py` and are instanciated when ``btrack.track()`` is called on a file.
.. attribute:: path
Path to the file the Track was generated from.
.. attribute:: filehandle
The Python opened file object from the file found in *self.path*. Can read() and write() it.
.. attribute:: format
Format of the file the track was generated from.
.. attribute:: fields
Fields defining the info contained in the track items.
.. attribute:: assembly
GenRep assembly ID.
.. attribute:: chrmeta
A dictionary with information about the species' chromosomes, or a genrep assembly name.
.. attribute:: info
A dictionary with meta-data about the track, e.g. data type, such as::
{'datatype': 'signal'}
Member Function Documentation
def bbcflib::btrack::Track::__enter__ |
( |
|
self |
) |
|
Called when evaluating the 'with' statement.
def bbcflib::btrack::Track::__iter__ |
( |
|
self |
) |
|
Iterates on the list of features.
The documentation for this class was generated from the following file:
- /home/rougemon/Data/pipelines/libv2/bbcflib/bbcflib/btrack/__init__.py