Bio.motifs.clusterbuster module

Parse Cluster Buster position frequency matrix files.

class Bio.motifs.clusterbuster.Record(iterable=(), /)

Bases: list

Class to store the information in a Cluster Buster matrix table.

The record inherits from a list containing the individual motifs.

__str__(self)

Return a string representation of the motifs in the Record object.

Bio.motifs.clusterbuster.read(handle)

Read motifs in Cluster Buster position frequency matrix format from a file handle.

Cluster Buster motif format: http://zlab.bu.edu/cluster-buster/help/cis-format.html

Bio.motifs.clusterbuster.write(motifs)

Return the representation of motifs in Cluster Buster position frequency matrix format.