bioin.motif.profile_most_probable_kmer_with_pseudocount

bioin.motif.profile_most_probable_kmer_with_pseudocount(text, k, motif_profile)[source]

Find a profile-most probable k-mer in a string. With pseudocount.

Parameters:
  • text (str) – genome string.
  • k (int) – length of the k-mer.
  • motif_profile (dict) – a 4 * k matrix profile (i.e. profile matrix).
Returns:

String, a profile-most probable k-mer in text.