From b9d52198d2f1825fa6415625e7bbe4181de9a020 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Thu, 27 Jan 2022 10:25:27 +0300 Subject: minor template fixes --- wqflask/wqflask/templates/ctl_setup.html | 131 +++++++++++------------- wqflask/wqflask/templates/gn3_ctl_results.html | 133 ++++++++----------------- 2 files changed, 99 insertions(+), 165 deletions(-) diff --git a/wqflask/wqflask/templates/ctl_setup.html b/wqflask/wqflask/templates/ctl_setup.html index b9fe1656..caaf6300 100644 --- a/wqflask/wqflask/templates/ctl_setup.html +++ b/wqflask/wqflask/templates/ctl_setup.html @@ -1,86 +1,69 @@ {% extends "base.html" %} {% block title %}CTL analysis{% endblock %} - -{% block content %} +{% block content %} +
- {% if request.form['trait_list'].split(",")|length < 2 %} - - {% else %} -

CTL analysis

- CTL analysis is published as open source software, if you are using this method in your publications, please cite:

- Arends D, Li Y, Brockmann GA, Jansen RC, Williams RW, Prins P
- Correlation trait locus (CTL) mapping: Phenotype network inference subject to genotype.
- The Journal of Open Source Software (2016)
- Published in -

- -
- - - - -
- -
- -
+ {% if request.form['trait_list'].split(",")|length < 2 %} +{% else %} +

CTL analysis

+CTL analysis is published as open source software, if you are using this method in your publications, please cite:

+Arends D, Li Y, Brockmann GA, Jansen RC, Williams RW, Prins P
+Correlation trait locus (CTL) mapping: Phenotype network inference subject to genotype.
+The Journal of Open Source Software (2016)
+Published in +

+ + +
+ +
+ +
- - -
- -
+
+ +
-
- + + +
- - -
- -
- -
- -
- -
- -
- + +
+ +
- -
-
- -
+
+ +
+ +
+
+
+
+
- - - - +
+ {% endif %}
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/wqflask/wqflask/templates/gn3_ctl_results.html b/wqflask/wqflask/templates/gn3_ctl_results.html index 08944b0f..ca45fe76 100644 --- a/wqflask/wqflask/templates/gn3_ctl_results.html +++ b/wqflask/wqflask/templates/gn3_ctl_results.html @@ -1,119 +1,72 @@ {% extends "base.html" %} {% block title %}Ctl results{% endblock %} {% block content %} - - -
-
-

CTL/QTL Plots for Individual Traits

-

{{ctl_plots|length}} phenotypes as input

- +

CTL/QTL Plots for Individual Traits

+

{{ctl_plots|length}} phenotypes as input

+
+ - - - - -
- -
- +
-

Ctl line plot

-

Plot the CTL for genome-wide CTL on all traits (the output of CTLscan).

- +

Ctl line plot

+

Plot the CTL for genome-wide CTL on all traits (the output of CTLscan).

- -
-
- - - - - -
- - - -
- -
    - - {% for trait in phenotypes %} - - - {% set trait_data = trait.split(':') %} - - -
  1. {{trait_data[0]}}
  2. - - - {% endfor %} -
-
- +
+
+ +
+
+
    + {% for trait in phenotypes %} + {% set trait_data = trait.split(':') %} +
  1. {{trait_data[0]}}
  2. + {% endfor %} +
+
-

Significant CTL

-

Network figure

- -
- -

Use tools like cytoscape to visualize the network

- -Download Sif file - -Download Node file +
+

Use tools like cytoscape to visualize the network

+ Download Sif file + Download Node file
- - -
- @@ -121,8 +74,6 @@