JASPAR Motif#

class lightmotif.JasparMotif#

A motif loaded from a JASPAR or JASPAR16 file.

The JASPAR database stores motifs with a FASTA-like header line containing the motif name and description, and one line per matrix column prefixed by the alphabet symbol that contains the count matrix.

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

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