You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I do not understand what kmer2seq in motif_utils.py wants to do, but currently it is only concatenating the first bases of each kmer, plus the last kmer as it is, triggering the AssertionError in the function. If anyone is looking at this, changing the function (lazily) to this worked for me:
def kmer2seq(kmers):
"""
Convert kmers to original sequence
Arguments:
kmers -- str, kmers separated by space.
Returns:
seq -- str, original sequence.
"""
kmers_list = kmers.split(" ")
seq = "".join(kmers_list)
return seq
The text was updated successfully, but these errors were encountered:
Maybe I do not understand what
kmer2seq
inmotif_utils.py
wants to do, but currently it is only concatenating the first bases of each kmer, plus the last kmer as it is, triggering the AssertionError in the function. If anyone is looking at this, changing the function (lazily) to this worked for me:The text was updated successfully, but these errors were encountered: