TRANSFAC Motif#

class lightmotif.TransfacMotif#

A motif loaded from a TRANSFAC file.

The TRANSFAC database stores motif information in an EMBL-like file that contains the count matrix for the motif, as well as optional metadata such as accession, description, creation date or bibliography.

accession#

The accession of the motif, if any.

Type:

str or None

counts#

The count matrix for this motif.

This may be None if the motif was loaded from a format that does not store counts but frequencies, such as the uniprobe format.

Type:

CountMatrix or None

description#

The description of the motif, if any.

Type:

str or None

id#

The identifier of the motif, if any.

Type:

str or None

name#

An optional name for the motif.

Type:

str or None

protein#

True if the motif is a protein motif.

Type:

bool

pssm#

The scoring matrix for this motif.

Type:

ScoringMatrix

pwm#

The weight matrix for this motif.

Type:

WeightMatrix