aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/dataset/specials.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/maintenance/dataset/specials.py')
-rw-r--r--wqflask/maintenance/dataset/specials.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/wqflask/maintenance/dataset/specials.py b/wqflask/maintenance/dataset/specials.py
index ba9598fe..0273d24d 100644
--- a/wqflask/maintenance/dataset/specials.py
+++ b/wqflask/maintenance/dataset/specials.py
@@ -101,11 +101,8 @@ def bxd_correlations():
probeset = probesets.get_probeset(probesetid)
probesetname = probeset[1]
probesetdata = probesets.get_probesetdata(probesetdataid)
- print probesetdata
probesetdata = zip(*probesetdata)
probesetdata = utilities.to_dic([strain.lower() for strain in probesetdata[1]], probesetdata[2])
- print probesetdata
- return
#
for geno in genos:
genoname = geno['locus']
@@ -113,7 +110,14 @@ def bxd_correlations():
outputfile.write("%s\t" % probesetname)
outputfile.write("%s\t" % genoname)
#
+ dic1 = geno['dicvalues']
+ dic2 = probesetdata
+ keys, values1, values2 = utilities.overlap(dic1, dic2)
+ print keys
+ print values1
+ print values2
+ return
#
outputfile.write("%s\t" % "Overlap Number")
outputfile.write("%s\t" % "Pearson r")