From 1e11d0ea0fd68a7b16dfb208217a442ad95909e9 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Wed, 5 May 2021 18:18:20 +0000
Subject: Added a number of new metadata items to the mapping loading page,
such as covariates and permutation/bootstrap numbers
---
wqflask/wqflask/templates/loading.html | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
(limited to 'wqflask')
diff --git a/wqflask/wqflask/templates/loading.html b/wqflask/wqflask/templates/loading.html
index 926f258d..69610f34 100644
--- a/wqflask/wqflask/templates/loading.html
+++ b/wqflask/wqflask/templates/loading.html
@@ -15,12 +15,31 @@
n = {{ start_vars.n_samples }}
Method = {% if start_vars.method == "gemma" %}GEMMA{% else %}{{ start_vars.method }}{% endif %}
+ {% if start_vars.num_perm | int > 0 %}
+ # Permutations = {{ start_vars.num_perm }}
+ {% endif %}
+ {% if start_vars.num_bootstrap | int > 0 %}
+
+ # Bootstrap = {{ start_vars.num_bootstrap }}
+ {% endif %}
{% if start_vars.transform != "" %}
- transform = {{ start_vars.transform }}
+ transform = {{ start_vars.transform }}
{% endif %}
+ {% if start_vars.maf != "" and start_vars.method != "reaper" %}
+
MAF >= {{ start_vars.maf }}
+ {% endif %}
+ {% if start_vars.covariates != "" and start_vars.method != "reaper" %}
+
+ {% set covariate_list = start_vars.covariates.split(",") %}
+ Trait Covariates: {% for covariate in covariate_list %}{% set this_covariate = covariate.split(":")[0] %}{{ this_covariate }}{% if not loop.last %}, {% endif %}{% endfor %}
+ {% endif %}
+ {% if start_vars.control_marker != "" and start_vars.do_control == "true" and start_vars.method != "gemma" %}
+
+ Marker Covariate: {{ start_vars.control_marker }}
+ {% endif %}
{% else %}