Skip to content

Commit

Permalink
Add new section
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Mar 5, 2024
1 parent 2724c5a commit 6ada6ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/tests/beagle_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ def compute_emission_probability(mismatch_prob, is_match, *, num_alleles=2):
return em_prob


""" Replication of BEAGLE's implementation of the Li and Stephens HMM. """


@njit
def compute_forward_matrix(
ref_h, query_h, trans_probs, mismatch_probs, *, num_alleles=2
Expand Down

0 comments on commit 6ada6ba

Please sign in to comment.