Skip to main content
. Author manuscript; available in PMC: 2015 Nov 1.
Published in final edited form as: Theor Popul Biol. 2014 Aug 18;0:35–48. doi: 10.1016/j.tpb.2014.08.002

Table 3.

The IBD process under SMC′

1: Initialize
2:  As in Table 1
3: while x < L
4: ← 0 ▹ The current total segment length
5: repeat
6:    ▹ Draw distance to next recombination; not necessarily a new segment
7:   Draw 0 ~ Exp(2Nt)
8:    + 0
9:   st
10:   Draw new TMRCA t with PDF qSMC′(t|s) (Eq. (6))
11: until ts
12: if (x + ) > L
13:    ← (Lx)
14: if > m
15:   nmnm + 1
16:   fmfm + /L
17: xx +