From c30c4ed7afaf6e312476506a63db74541d019260 Mon Sep 17 00:00:00 2001 From: Lei Yan Date: Wed, 5 Feb 2014 13:30:21 -0600 Subject: On branch master --- wqflask/maintenance/dataset/specials.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'wqflask') diff --git a/wqflask/maintenance/dataset/specials.py b/wqflask/maintenance/dataset/specials.py index 9caba879..52a2389f 100644 --- a/wqflask/maintenance/dataset/specials.py +++ b/wqflask/maintenance/dataset/specials.py @@ -46,10 +46,27 @@ def bxd_correlations(): print "Get %d probesetxrefs" % (len(probesetxrefs)) # for probesetxref in probesetxrefs: + # probesetid = probesetxref[0] probesetdataid = probesetxref[1] probeset = probesets.get_probeset(probesetid) + ProbeSetId = probeset[0] + ProbeSetName = probeset[1] + # Geno Name Overlap Number Pearson r Pearson p Spearman r Spearman p probesetdata = probesets.get_probesetdata(probesetdataid) + # + for geno in genos: + genoname = geno['locus'] + outputfile.write("%s\t" % probeSetid) + outputfile.write("%s\t" % ProbeSetName) + outputfile.write("%s\t" % GenoName) + outputfile.write("%s\t" % "Overlap Number") + outputfile.write("%s\t" % "Pearson r") + outputfile.write("%s\t" % "Pearson p") + outputfile.write("%s\t" % "Spearman r") + outputfile.write("%s\t" % "Spearman p") + outputfile.write("\n") + outputfile.flush() # outputfile.close() -- cgit v1.2.3