Package Bio :: Package motifs :: Module transfac
[hide private]
[frames] | no frames]

Module transfac

source code

Parsing TRANSFAC files
Classes [hide private]
A Bio.motifs.transfac.Motif stores the information in one TRANSFAC motif. This class inherits from the Bio.motifs.Motif base class, as well as from a Python dictionary. All motif information found by the parser is stored as attributes of the base class when possible; see the Bio.motifs.Motif base class for a description of these attributes. All other information associated with the motif is stored as (key, value) pairs in the dictionary, where the key is the two-letter fields as found in the TRANSFAC file. References are an exception: These are stored in the .references attribute.
A Bio.motifs.transfac.Record stores the information in a TRANSFAC matrix table. The record inherits from a list containing the individual motifs.
Functions [hide private]
record = read(handle)
source code
Write the representation of a motif in TRANSFAC format
source code
Variables [hide private]
  __package__ = 'Bio.motifs'