Skip to content

Commit 9119d88

Browse files
committed
Minor edits on docstring
1 parent e5e0400 commit 9119d88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/tests/beagle_numba.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,13 @@ def compute_forward_matrix(ref_h, query_h, trans_probs, mismatch_probs):
367367
@njit
368368
def compute_backward_matrix(ref_h, query_h, trans_probs, mismatch_probs):
369369
"""
370-
Implement backward algorithm to compute a backward probablity matrix of size (m, h).
370+
Implement Li and Stephens backward algorithm.
371371
372372
Reference haplotypes and query haplotype are subsetted to genotyped positions.
373373
So, they are a matrix of size (m, h) and an array of size m, respectively.
374374
375+
This computes a backward probablity matrix of size (m, h).
376+
375377
In BEAGLE 4.1, the values are kept one position at a time. Here, we keep the values
376378
at all the positions.
377379

0 commit comments

Comments
 (0)