diff options
Diffstat (limited to 'wqflask')
-rwxr-xr-x | wqflask/wqflask/views.py | 7 | ||||
-rwxr-xr-x | wqflask/wqflask/wgcna/__init__.py | 0 | ||||
-rw-r--r-- | wqflask/wqflask/wgcna/wgcna_analysis.py | 12 |
3 files changed, 18 insertions, 1 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index acbbf203..cd186078 100755 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -46,6 +46,9 @@ from wqflask.interval_mapping import interval_mapping from wqflask.correlation import show_corr_results from wqflask.correlation_matrix import show_corr_matrix from wqflask.correlation import corr_scatter_plot + +from wqflask.wgcna import wgcna_analysis + from utility import temp_data from base import webqtlFormData @@ -176,6 +179,8 @@ def help(): @app.route("/wgcna", methods=('POST',)) def wcgna(): + print("In wgcna, request.form is:", request.form) + template_vars = wgcna_analysis.WGCNA(request.form) return render_template("wgcna_results.html") @app.route("/news") @@ -327,7 +332,7 @@ def marker_regression_page(): 'mapmethod_rqtl_geno', 'mapmodel_rqtl_geno' ) - print("Random Print too see if it is running:", initial_start_vars) + print("Marker regression called with initial_start_vars:", initial_start_vars) start_vars = {} for key, value in initial_start_vars.iteritems(): if key in wanted or key.startswith(('value:')): diff --git a/wqflask/wqflask/wgcna/__init__.py b/wqflask/wqflask/wgcna/__init__.py new file mode 100755 index 00000000..e69de29b --- /dev/null +++ b/wqflask/wqflask/wgcna/__init__.py diff --git a/wqflask/wqflask/wgcna/wgcna_analysis.py b/wqflask/wqflask/wgcna/wgcna_analysis.py new file mode 100644 index 00000000..824b943c --- /dev/null +++ b/wqflask/wqflask/wgcna/wgcna_analysis.py @@ -0,0 +1,12 @@ + + +class WGCNA(object): + def __init__(self, start_vars): + print("Initialization of WGCNA") + + def run_wgcna(self): + print("Starting WGCNA analysis") + + def process_wgcna_results(self, results): + print("Processing WGCNA output") + |