aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander_Kabui2023-01-23 13:08:57 +0300
committerAlexander_Kabui2023-01-23 13:08:57 +0300
commit6bb9f94ea49a6c098744fe2d710a781263f8c5af (patch)
tree11fbae379b3cf4833ac562fe12f0cb6e41ec3f99 /wqflask
parent84e8138c6111d7ddf3928c52200342180db2b205 (diff)
downloadgenenetwork2-6bb9f94ea49a6c098744fe2d710a781263f8c5af.tar.gz
init fetch all probeset datasets
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/correlation_file_generator.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/wqflask/wqflask/correlation/correlation_file_generator.py b/wqflask/wqflask/correlation/correlation_file_generator.py
new file mode 100644
index 00000000..f9421a65
--- /dev/null
+++ b/wqflask/wqflask/correlation/correlation_file_generator.py
@@ -0,0 +1,13 @@
+def get_probesetfreezes(conn,inbredsetid=1):
+
+
+ with conn.cursor() as cursor:
+ cursor.execute(
+ "SELECT ProbeSetFreeze.Id, ProbeSetFreeze.Name, ProbeSetFreeze.FullName "
+ "FROM ProbeSetFreeze, ProbeFreeze "
+ "WHERE ProbeSetFreeze.ProbeFreezeId=ProbeFreeze.Id "
+ "AND ProbeFreeze.InbredSetId=%s",
+ (inbredsetid,)
+ )
+
+ return cursor.fetchall()