[Biopython-dev] [Bug 2947] Bio.HMM calculates wrong viterbi path

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Feb 10 20:02:42 UTC 2011


http://bugzilla.open-bio.org/show_bug.cgi?id=2947





------- Comment #14 from walter_gillett at yahoo.com  2011-02-10 15:02 EST -------
I have checked in a fix on my github branch to the bug mentioned in comment #4:
in the Viterbi recursion to determine state path probabilities, we must
consider states that lead *to* the current state, not those that are reachable
*from* it. See comments for this checkin:
https://github.com/wgillett/biopython/commit/f8b0b94ad7ffadbf9aa923bc6273822328cb9f01
. Forgot to mention in the comments that I also fixed a bug in the
allow_transition method and added a unit test for that method.


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list