Testing with protein leads to TypeError
noamteyssier opened this issue · 2 comments
noamteyssier commented
daquang commented
I pushed an update. Changing line 152 to convert the number to cpu. Can you check if this update works?
Also, I've never done motif discovery with proteins before, so I'm very interested in your results.
noamteyssier commented
So I was able to get it running by editing lines 153, 320, 330, and 342 in Mixture.py by converting to cpu.
One last update is in utils.py in the print statement of the PPM to make it relative to the number of letters in the alphabet and not just the 4 DNA sequences.
I'm just back from the holidays so I will be comparing the results I receive with YAMDA with those of MEME and keep you updated!