snapatac2.PyDNAMotifScanner#

class snapatac2.PyDNAMotifScanner#

Python object for scanning DNA sequences with a motif.

Attributes

id

The unique identifier of the motif.

name

The name of the motif.

Methods

exist(seq[, pvalue, rc])

Check if the motif exists in the given sequence above the specified p-value threshold.

exists(seqs[, pvalue, rc])

Batch check if the motif exists in the given sequences above the specified p-value threshold.

find(seq[, pvalue])

Find motif occurrences in the given sequence above the specified p-value threshold.

with_background(seqs[, pvalue])

Create a motif test object using background sequences.