From fb01efa96365cd649ac1a0892ac79bd371ddb405 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 20 Jul 2022 20:53:31 +0000 Subject: Change mapping results table (minus Interval Analyst) to use new create_datatable.js code and load table from JSON row data --- wqflask/wqflask/templates/mapping_results.html | 229 ++++++++++++++----------- 1 file changed, 130 insertions(+), 99 deletions(-) diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 29e9002d..55d18cba 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -65,7 +65,7 @@
-
+

Map Viewer: Whole Genome


Population: {{ dataset.group.species|capitalize }} {{ dataset.group.name }}
Database: {{ dataset.fullname }}
@@ -258,63 +258,10 @@

-
- - - - - - - {% if LRS_LOD == "-logP" %} - - {% else %} - - {% endif %} - - {% if 'additive' in trimmed_markers[0] %} - - {% endif %} - {% if 'dominance' in trimmed_markers[0] and dataset.group.genetic_type != "riset" %} - - {% endif %} - - +
+
- {% for marker in trimmed_markers %} - - - - - {% if LRS_LOD == "LOD" or LRS_LOD == "-logP" %} - {% if 'lod_score' in marker %} - - {% else %} - - {% endif %} - {% else %} - {% if 'lod_score' in marker %} - - {% else %} - - {% endif %} - {% endif %} - - {% if 'additive' in marker %} - {% if geno_db_exists == "True" %} - - {% else %} - - {% endif %} - {% endif %} - {% if 'dominance' in marker and dataset.group.genetic_type != "riset" %} - - {% endif %} - - {% endfor %} +
@@ -376,59 +323,143 @@ + + {% if mapping_method == "gemma" or mapping_method == "reaper" %} {% endif %}