From ded3da3a48c1d55643a5b49a165334340b02cf6d Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 17 Feb 2021 00:38:18 +0300 Subject: Add stubbed gemma endpoints --- gn3/api/gemma.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gn3') diff --git a/gn3/api/gemma.py b/gn3/api/gemma.py index 30d486f..d0cf5f8 100644 --- a/gn3/api/gemma.py +++ b/gn3/api/gemma.py @@ -9,3 +9,28 @@ gemma = Blueprint("gemma", __name__) def index() -> str: """Test endpoint""" return jsonify(result="hello world") + + +@gemma.route("/version") +def get_version(): + pass + + +@gemma.route("/k-compute/", methods=["POST"]) +def run_k_compute(token) -> str: + pass + + +@gemma.route("/lmm/gwa//", methods=["POST"]) +def run_gwa(token, k_file_name) -> str: + pass + + +@gemma.route("/pheno-permutation/", methods=["POST"]) +def run_pheno_permutation(token) -> str: + pass + + +@gemma.route("/lmm2/loco/", methods=["POST"]) +def run_gemma_with_loco(token) -> str: + pass -- cgit v1.2.3