snapatac2.PyDNAMotif.with_nucl_prob#

PyDNAMotif.with_nucl_prob(a=0.25, c=0.25, g=0.25, t=0.25)#

Create a motif scanner with specified nucleotide background probabilities.

Parameters:
  • a (float) – Background probability of nucleotide A. Default is 0.25.

  • c (float) – Background probability of nucleotide C. Default is 0.25.

  • g (float) – Background probability of nucleotide G. Default is 0.25.

  • t (float) – Background probability of nucleotide T. Default is 0.25.

Returns:

A DNA motif scanner object.

Return type:

PyDNAMotifScanner