diff options
author | BonfaceKilz | 2021-02-17 00:38:18 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-02-24 14:20:29 +0300 |
commit | ded3da3a48c1d55643a5b49a165334340b02cf6d (patch) | |
tree | 3cedb468cc4a632e3b3846599f65034c0c3005e4 /gn3/api | |
parent | 3a6fc87d180963e27bb0b0e78aea5415a00fdd33 (diff) | |
download | genenetwork3-ded3da3a48c1d55643a5b49a165334340b02cf6d.tar.gz |
Add stubbed gemma endpoints
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/gemma.py | 25 |
1 files changed, 25 insertions, 0 deletions
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/<token>", methods=["POST"]) +def run_k_compute(token) -> str: + pass + + +@gemma.route("/lmm/gwa/<token>/<k_file_name>", methods=["POST"]) +def run_gwa(token, k_file_name) -> str: + pass + + +@gemma.route("/pheno-permutation/<token>", methods=["POST"]) +def run_pheno_permutation(token) -> str: + pass + + +@gemma.route("/lmm2/loco/<token>", methods=["POST"]) +def run_gemma_with_loco(token) -> str: + pass |