aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn3/api/gemma.py25
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