From fee748220f4149a4ecccb8e8cc7cdba21374f2d0 Mon Sep 17 00:00:00 2001 From: "hanna.julienne" Date: Tue, 12 Jan 2021 13:03:54 +0100 Subject: [PATCH] put inf as ld_score value for typed snps --- raiss/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raiss/windows.py b/raiss/windows.py index 1b0ebd8..b0257e8 100644 --- a/raiss/windows.py +++ b/raiss/windows.py @@ -72,7 +72,7 @@ def prepare_zscore_for_imputation(ref_panel, zscore): zscore = realigned_zfiles_on_panel(ref_panel, zscore) zscore['Var'] = -1.0 zscore['Nsnp_to_impute'] = -1 - zscore['ld_score'] = -1.0 + zscore['ld_score'] = np.inf #zscore = zscore.loc[zscore.index.intersection(ref_panel.index)] return zscore -- GitLab