diff options
author | Alexander_Kabui | 2023-01-23 13:08:57 +0300 |
---|---|---|
committer | Alexander_Kabui | 2023-01-23 13:08:57 +0300 |
commit | 6bb9f94ea49a6c098744fe2d710a781263f8c5af (patch) | |
tree | 11fbae379b3cf4833ac562fe12f0cb6e41ec3f99 /wqflask | |
parent | 84e8138c6111d7ddf3928c52200342180db2b205 (diff) | |
download | genenetwork2-6bb9f94ea49a6c098744fe2d710a781263f8c5af.tar.gz |
init fetch all probeset datasets
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/correlation/correlation_file_generator.py | 13 |
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() |