Skip to main content
. Author manuscript; available in PMC: 2017 Jul 25.
Published in final edited form as: Genet Epidemiol. 2017 Mar 20;41(4):332–340. doi: 10.1002/gepi.22040

1. Divide the given chromosomal region into M sliding windows with K variants per window and a sliding step of K/2

2. for each sliding window wl do

3. estimate 1dl¯ and ln2dl

4. if
(1d¯l<=ln2dl)
do

5. return(NULL)

6. end if

7. else do

8. define index t←0

9. while (1d¯l>ln2dl) do

10. sort distances dl in an decreasing order

11. remove dl [t]

12. determine the chromosomal position of the removed gap: p[dl [t]]

13. t← t + 1

14. end while

15. return {p[dl[t]]}

16. end else

17. end for

18. sort {p[dl[t]]} in an increasing order and group variants according to spatial breaks