Repository 'hotspots'
hg clone https://toolshed.g2.bx.psu.edu/repos/nanettec/hotspots

Changeset 0:0b383b61074d (2016-03-18)
Next changeset 1:ee4662eeb8c8 (2016-03-18)
Commit message:
Uploaded
added:
hotspots/._.DS_Store
hotspots/._Rplots.txt
hotspots/._hotspots.py
hotspots/._hotspots.xml
hotspots/._readme.txt
hotspots/._threshold_chisq.txt
hotspots/Rplots.txt
hotspots/hotspots.py
hotspots/hotspots.xml
hotspots/readme.txt
hotspots/test-data/._.DS_Store
hotspots/test-data/input/._.DS_Store
hotspots/test-data/input/._all_classification_test.txt
hotspots/test-data/input/._cis_classification_test.txt
hotspots/test-data/input/._frequency.txt
hotspots/test-data/input/._frequency_summary.txt
hotspots/test-data/input/._sliding_frequency.txt
hotspots/test-data/input/._sliding_lookup.txt
hotspots/test-data/input/._trans_classification_test.txt
hotspots/test-data/input/all_classification_test.txt
hotspots/test-data/input/cis_classification_test.txt
hotspots/test-data/input/frequency.txt
hotspots/test-data/input/frequency_summary.txt
hotspots/test-data/input/sliding_frequency.txt
hotspots/test-data/input/sliding_lookup.txt
hotspots/test-data/input/trans_classification_test.txt
hotspots/test-data/output/._.DS_Store
hotspots/test-data/output/._Rplots.zip
hotspots/test-data/output/._all_eQTL_lists.txt
hotspots/test-data/output/._all_hotspots_out.txt
hotspots/test-data/output/._cis_eQTL_lists.txt
hotspots/test-data/output/._cis_hotspots_out.txt
hotspots/test-data/output/._full_summary.txt
hotspots/test-data/output/._trans_eQTL_lists.txt
hotspots/test-data/output/._trans_hotspots_out.txt
hotspots/test-data/output/Rplots.zip
hotspots/test-data/output/all_eQTL_lists.txt
hotspots/test-data/output/all_hotspots_out.txt
hotspots/test-data/output/cis_eQTL_lists.txt
hotspots/test-data/output/cis_hotspots_out.txt
hotspots/test-data/output/full_summary.txt
hotspots/test-data/output/trans_eQTL_lists.txt
hotspots/test-data/output/trans_hotspots_out.txt
hotspots/threshold_chisq.txt
hotspots/tool_dependencies.xml
b
diff -r 000000000000 -r 0b383b61074d hotspots/._.DS_Store
b
Binary file hotspots/._.DS_Store has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/._Rplots.txt
b
Binary file hotspots/._Rplots.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/._hotspots.py
b
Binary file hotspots/._hotspots.py has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/._hotspots.xml
b
Binary file hotspots/._hotspots.xml has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/._readme.txt
b
Binary file hotspots/._readme.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/._threshold_chisq.txt
b
Binary file hotspots/._threshold_chisq.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/Rplots.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/Rplots.txt Fri Mar 18 05:26:20 2016 -0400
[
@@ -0,0 +1,215 @@
+#setwd("/Users/nanettecoetzer/Documents/Bioinformatics/MAIZE_project/eQTL_pipeline/April_2012_pipeline_scripts/July_2012/output_July")
+
+d.all <- read.table("all_hotspots_out.txt", header=T, sep="\t")
+d.cis <- read.table("cis_hotspots_out.txt", header=T, sep="\t")
+d.trans <- read.table("trans_hotspots_out.txt", header=T, sep="\t")
+
+t <- read.table("full_summary.txt", header=F, sep="\t")
+thresh.all = as.numeric(paste(t[12,2]))
+thresh.cis = as.numeric(paste(t[15,2]))
+thresh.trans = as.numeric(paste(t[18,2]))
+
+chr_ends <- c()
+for (i in 1:d.all[dim(d.all)[1],2]) {
+ k = d.all[d.all[,2]==i,]
+ chr_ends <- c(chr_ends,k[dim(k)[1],1])
+}
+num.chr = length(chr_ends)
+
+prev.i = 0
+chr_ends.mid = c()
+for (i in chr_ends) {
+ n = floor((i-prev.i)/2)
+ chr_ends.mid = c(chr_ends.mid,prev.i+n)
+ prev.i = i
+}
+
+chrvector = c()
+for (j in 1:num.chr) {
+ chrvector = c(chrvector,paste("chr",j,sep=""))
+}
+
+excess.all = d.all[(d.all[,9]=='*'),]
+excess.cis = d.cis[(d.cis[,9]=='*'),]
+excess.trans = d.trans[(d.trans[,9]=='*'),]
+
+##########################  all eQTL  #########################
+# plot eQTL per cM --> all
+
+m = sort(d.all[,6],TRUE)[1]
+s = sort(d.all[,6],TRUE)[2]
+if (m > (s+100)) {
+ max_eqtl_freq = s
+ }
+if (m <= (s+100)) {
+ max_eqtl_freq = m
+ }
+
+pdf("genome_wide_EcM_all.pdf",width=12)
+
+par(mfrow=c(1,1))
+plot(cbind(d.all[,1],d.all[,6]),type="h",ylab="eQTL per cM",main="Frequency plot",xlab="Sliding window bins (4 to 5.9 cM each)",lwd=1.5, ylim = c(-(0.03*m), m), col="black")
+
+lines(cbind(excess.all[,1],excess.all[,6]),col="red",type="h",lwd=1.5)
+
+dotted = c(0,chr_ends[1:length(chr_ends)]+0.5)
+abline(h=thresh.all)
+abline(v=dotted,lty="dotted",col="grey2",lwd=2)
+
+text(chr_ends.mid,rep(-(max_eqtl_freq*0.03),num.chr),labels=chrvector,cex=0.8)
+
+dev.off()
+
+pdf("chr_plots_EcM_all.pdf",width=12)
+
+if (num.chr <= 6) {
+ par(mfrow=c(2,3))
+ }
+if (num.chr>6 & num.chr<=9) {
+ par(mfrow=c(3,3))
+ }
+if (num.chr>9 & num.chr<=12) {
+ par(mfrow=c(3,4))
+ }
+if (num.chr>12 & num.chr<=15) {
+ par(mfrow=c(3,5))
+ }
+if (num.chr>15 & num.chr<=20) {
+ par(mfrow=c(4,5))
+ }
+prev_k <- 0
+#m = max_eqtl_freq
+for (k in chr_ends) {
+ nr = which(k == chr_ends)
+ plot(cbind(d.all[(prev_k+1):k,1],d.all[(prev_k+1):k,6]),type="l",ylab="eQTL per cM",main=paste("Chr ",nr),xlab="Sliding window bins",lwd=1.5, ylim = c(-(0.03*s), s), col="black")
+ dotted = c(prev_k,k+1)
+ abline(h=thresh.all)
+ abline(v=dotted,lty="dotted",col="grey2",lwd=2)
+
+ sub_excess = excess.all[excess.all[,2]==nr,]
+ lines(cbind(sub_excess[,1], sub_excess[,6]),col="red",type="h",lwd=1.5)
+ prev_k <- k
+}
+
+dev.off()
+
+
+##########################  cis eQTL  #########################
+# plot eQTL per cM --> cis
+
+m = sort(d.cis[,6],TRUE)[1]
+s = sort(d.cis[,6],TRUE)[2]
+if (m > (s+100)) {
+ max_eqtl_freq = s
+ }
+if (m <= (s+100)) {
+ max_eqtl_freq = m
+ }
+
+pdf("genome_wide_EcM_cis.pdf",width=12)
+
+par(mfrow=c(1,1))
+plot(cbind(d.cis[,1],d.cis[,6]),type="h",ylab="eQTL per cM",main="Frequency plot",xlab="Sliding window bins (4 to 5.9 cM each)",lwd=1.5, ylim = c(-(0.03*m), m), col="black")
+
+lines(cbind(excess.cis[,1],excess.cis[,6]),col="red",type="h",lwd=1.5)
+
+dotted = c(0,chr_ends[1:length(chr_ends)]+0.5)
+abline(h=thresh.cis)
+abline(v=dotted,lty="dotted",col="grey2",lwd=2)
+
+text(chr_ends.mid,rep(-(max_eqtl_freq*0.03),num.chr),labels=chrvector,cex=0.8)
+
+dev.off()
+
+pdf("chr_plots_EcM_cis.pdf",width=12)
+
+if (num.chr <= 6) {
+ par(mfrow=c(2,3))
+ }
+if (num.chr>6 & num.chr<=9) {
+ par(mfrow=c(3,3))
+ }
+if (num.chr>9 & num.chr<=12) {
+ par(mfrow=c(3,4))
+ }
+if (num.chr>12 & num.chr<=15) {
+ par(mfrow=c(3,5))
+ }
+if (num.chr>15 & num.chr<=20) {
+ par(mfrow=c(4,5))
+ }
+prev_k <- 0
+#m = max_eqtl_freq
+for (k in chr_ends) {
+ nr = which(k == chr_ends)
+ plot(cbind(d.cis[(prev_k+1):k,1],d.cis[(prev_k+1):k,6]),type="l",ylab="eQTL per cM",main=paste("Chr ",nr),xlab="Sliding window bins",lwd=1.5, ylim = c(-(0.03*s), s), col="black")
+ dotted = c(prev_k,k+1)
+ abline(h=thresh.cis)
+ abline(v=dotted,lty="dotted",col="grey2",lwd=2)
+
+ sub_excess = excess.cis[excess.cis[,2]==nr,]
+ lines(cbind(sub_excess[,1], sub_excess[,6]),col="red",type="h",lwd=1.5)
+ prev_k <- k
+}
+
+dev.off()
+
+##########################  trans eQTL  #########################
+# plot eQTL per cM --> trans
+
+m = sort(d.trans[,6],TRUE)[1]
+s = sort(d.trans[,6],TRUE)[2]
+if (m > (s+100)) {
+ max_eqtl_freq = s
+ }
+if (m <= (s+100)) {
+ max_eqtl_freq = m
+ }
+
+pdf("genome_wide_EcM_trans.pdf",width=12)
+
+par(mfrow=c(1,1))
+plot(cbind(d.trans[,1],d.trans[,6]),type="h",ylab="eQTL per cM",main="Frequency plot",xlab="Sliding window bins (4 to 5.9 cM each)",lwd=1.5, ylim = c(-(0.03*m), m), col="black")
+
+lines(cbind(excess.trans[,1],excess.trans[,6]),col="red",type="h",lwd=1.5)
+
+dotted = c(0,chr_ends[1:length(chr_ends)]+0.5)
+abline(h=thresh.trans)
+abline(v=dotted,lty="dotted",col="grey2",lwd=2)
+
+text(chr_ends.mid,rep(-(max_eqtl_freq*0.03),num.chr),labels=chrvector,cex=0.8)
+
+dev.off()
+
+pdf("chr_plots_EcM_trans.pdf",width=12)
+
+if (num.chr <= 6) {
+ par(mfrow=c(2,3))
+ }
+if (num.chr>6 & num.chr<=9) {
+ par(mfrow=c(3,3))
+ }
+if (num.chr>9 & num.chr<=12) {
+ par(mfrow=c(3,4))
+ }
+if (num.chr>12 & num.chr<=15) {
+ par(mfrow=c(3,5))
+ }
+if (num.chr>15 & num.chr<=20) {
+ par(mfrow=c(4,5))
+ }
+prev_k <- 0
+#m = max_eqtl_freq
+for (k in chr_ends) {
+ nr = which(k == chr_ends)
+ plot(cbind(d.trans[(prev_k+1):k,1],d.trans[(prev_k+1):k,6]),type="l",ylab="eQTL per cM",main=paste("Chr ",nr),xlab="Sliding window bins",lwd=1.5, ylim = c(-(0.03*s), s), col="black")
+ dotted = c(prev_k,k+1)
+ abline(h=thresh.trans)
+ abline(v=dotted,lty="dotted",col="grey2",lwd=2)
+
+ sub_excess = excess.trans[excess.trans[,2]==nr,]
+ lines(cbind(sub_excess[,1], sub_excess[,6]),col="red",type="h",lwd=1.5)
+ prev_k <- k
+}
+
+dev.off()
b
diff -r 000000000000 -r 0b383b61074d hotspots/hotspots.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/hotspots.py Fri Mar 18 05:26:20 2016 -0400
[
b'@@ -0,0 +1,550 @@\n+"""\n+@summary: Get lists of eQTLs liked to significant hotspots\n+\n+@author: nanette.coetzer@gmail.com\n+@version 0.1\n+\n+"""\n+import optparse, sys\n+import subprocess\n+import tempfile\n+import os, re\n+\n+def stop_err( msg ):\n+    sys.stderr.write( "%s\\n" % msg )\n+    sys.exit()\n+ \n+def __main__():\n+    #Parse Command Line\n+    parser = optparse.OptionParser()\n+    parser.add_option("-a", "--rscript1", default=None, dest="rscript1", \n+                      help="R script 1")\n+    parser.add_option("-b", "--rscript2", default=None, dest="rscript2", \n+                      help="R script 2")\n+    parser.add_option("-i", "--input1", default=None, dest="input1", \n+                      help="Gene and eQTL frequency per bin table")\n+    parser.add_option("-j", "--input2", default=None, dest="input2", \n+                      help="Gene and eQTL sliding frequency")\n+    parser.add_option("-k", "--input3", default=None, dest="input3", \n+                      help="Frequency summary file")\n+    parser.add_option("-l", "--input4", default=None, dest="input4", \n+                      help="all eQTL classification file")\n+    parser.add_option("-m", "--input5", default=None, dest="input5", \n+                      help="cis-eQTL classification file")\n+    parser.add_option("-n", "--input6", default=None, dest="input6", \n+                      help="trans-eQTL classification file")\n+    parser.add_option("-g", "--input7", default=None, dest="input7", \n+                      help="Sliding map file")\n+    \n+    parser.add_option("-o", "--output1", default=None, dest="output1", \n+                      help="Unbiased all eQTL hotspots result file")\n+    parser.add_option("-p", "--output2", default=None, dest="output2", \n+                      help="List of all eQTLs per hotspot")\n+    parser.add_option("-q", "--output3", default=None, dest="output3", \n+                      help="Unbiased cis eQTL hotspots result file")\n+    parser.add_option("-r", "--output4", default=None, dest="output4", \n+                      help="List of cis eQTLs per hotspot")\n+    parser.add_option("-s", "--output5", default=None, dest="output5", \n+                      help="Unbiased trans eQTL hotspots result file")\n+    parser.add_option("-t", "--output6", default=None, dest="output6", \n+                      help="List of trans eQTLs per hotspot")\n+    parser.add_option("-u", "--output7", default=None, dest="output7", \n+                      help="Full summary file")\n+    parser.add_option("-v", "--output8", default=None, dest="output8", \n+                      help="zip folder with R plots")\n+    (options, args) = parser.parse_args()\n+\n+    try:\n+        open(options.input1, "r").close()\n+    except TypeError, e:\n+        stop_err("You need to supply the Gene and eQTL frequency file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the Gene and eQTL frequency file:\\n" + str(e))\n+        \n+    try:\n+        open(options.input2, "r").close()\n+    except TypeError, e:\n+        stop_err("You need to supply the Gene and eQTL sliding window frequency file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the Gene and eQTL sliding window frequency file:\\n" + str(e))\n+\n+    try:\n+        open(options.input3, "r").close()\n+    except TypeError, e:\n+        stop_err("You need to supply the Frequency summary file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the Frequency summary file:\\n" + str(e))\n+\n+    try:\n+        open(options.input4, "r").close()\n+    except TypeError, e:\n+        stop_err("You need to supply the all eQTL classification file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the all eQTL classification file:\\n" + str(e))\n+\n+    try:\n+        open(options.input5, "r").close()\n+    except TypeError, e:\n+        stop_err("You need to supply the cis-eQTL classification file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the cis-eQTL class'..b'ts_results_cis.write("\\n\\n= = = = =   Hotspot "+str(hid)+"  chr "+str(chr)+"\tsliding.ids: "+str(sl_ids)+"\tint.ids: "+str(lu_ids)+"\tnr.eQTL: "+str(freq_count)+"   = = = = =\\n")\n+\tfor l in lu_ids:\n+\t    intpos = lookup_tmp_dict[str(l)]\n+\t    eqtl = open(options.input5,\'r\')  # eqtls.txt \n+\t    for eqtlline in eqtl:\n+\t    \tel = eqtlline.strip().split("\\t")\n+\t    \tif not el[2].startswith("c"):\n+\t    \t    pos = [el[2],str(round(float(el[8]),4))]\n+\t    \t    if intpos == pos:\n+\t\t\tgene_lists_results_cis.write("\\t".join(el)+"\\n")\n+\t    eqtl.close()\n+    gene_lists_results_cis.close()\n+    \n+    # WRITE gene_lists_results --> trans\n+    for i in range(0,len(hotspot_slID_dict_trans.keys())):\n+    \thid = hotspot_slID_dict_trans.keys()[i]\n+\tsl_ids = hotspot_slID_dict_trans[int(i)+1]\n+\tlu_ids = []\n+\tfor j in sl_ids:\n+\t    for k in sl_lookup_dict[str(j)]:\n+\t        if int(k.strip()) not in lu_ids:\n+\t\t    lu_ids.append(int(k.strip()))\n+\tchr = lookup_tmp_dict[str(lu_ids[0])][0]\n+\tfreq_count = 0\n+\tfor luid in lu_ids:\n+\t    freq_count = freq_count + freq_dict_trans[str(luid)]\n+\t#tot_in_hotspots = tot_in_hotspots + freq_count\n+\tgene_lists_results_trans.write("\\n\\n= = = = =   Hotspot "+str(hid)+"  chr "+str(chr)+"\tsliding.ids: "+str(sl_ids)+"\tint.ids: "+str(lu_ids)+"\tnr.eQTL: "+str(freq_count)+"   = = = = =\\n")\n+\tfor l in lu_ids:\n+\t    intpos = lookup_tmp_dict[str(l)]\n+\t    eqtl = open(options.input6,\'r\')  # eqtls.txt \n+\t    for eqtlline in eqtl:\n+\t    \tel = eqtlline.strip().split("\\t")\n+\t    \tif not el[2].startswith("c"):\n+\t    \t    pos = [el[2],str(round(float(el[8]),4))]\n+\t    \t    if intpos == pos:\n+\t\t\tgene_lists_results_trans.write("\\t".join(el)+"\\n")\n+\t    eqtl.close()\n+    gene_lists_results_trans.close()\n+    \n+    \n+    ########################################## R plots ##########################################\n+    \n+    # Create temp direcotry\n+    tempdir = tempfile.mkdtemp()\n+\n+    # copy INPUT file to the temp directory\n+    s = "cp %s %s/all_hotspots_out.txt" %(options.output1, tempdir)\n+    subprocess.call(s, shell=True)\n+    s = "cp %s %s/cis_hotspots_out.txt" %(options.output3, tempdir)\n+    subprocess.call(s, shell=True)\n+    s = "cp %s %s/trans_hotspots_out.txt" %(options.output5, tempdir)\n+    subprocess.call(s, shell=True)\n+    s = "cp %s %s/full_summary.txt" %(options.output7, tempdir)\n+    subprocess.call(s, shell=True)\n+\n+    # create R script => save in temp directory\n+    # generate new header\n+    new_script = open(tempdir+"/new_script.r","w")\n+    header = "setwd(\\"%s\\")" %tempdir\n+    new_script.write(header+"\\n")\n+    # add script body\n+    \n+    script = open(options.rscript2,"r")\n+    for line in script:\n+        new_script.write(line.strip()+"\\n")\n+    new_script.close()\n+    \n+    # run R script from temp directory\n+    s = "R CMD BATCH %s/new_script.r out.txt" %tempdir\n+    subprocess.call(s, shell=True)\n+\n+    tempdir2 = tempfile.mkdtemp()\n+    #os.system("mv %s/genome_wide_EcM10G.pdf %s/genome_wide_EcM10G.pdf" %(tempdir,tempdir2))\n+    #os.system("mv %s/chr_plots_EcM10G.pdf %s/chr_plots_EcM10G.pdf" %(tempdir,tempdir2))\n+    os.system("mv %s/genome_wide_EcM_all.pdf %s/genome_wide_EcM_all.pdf" %(tempdir,tempdir2))\n+    os.system("mv %s/chr_plots_EcM_all.pdf %s/chr_plots_EcM_all.pdf" %(tempdir,tempdir2))\n+    os.system("mv %s/genome_wide_EcM_cis.pdf %s/genome_wide_EcM_cis.pdf" %(tempdir,tempdir2))\n+    os.system("mv %s/chr_plots_EcM_cis.pdf %s/chr_plots_EcM_cis.pdf" %(tempdir,tempdir2))\n+    os.system("mv %s/genome_wide_EcM_trans.pdf %s/genome_wide_EcM_trans.pdf" %(tempdir,tempdir2))\n+    os.system("mv %s/chr_plots_EcM_trans.pdf %s/chr_plots_EcM_trans.pdf" %(tempdir,tempdir2))\n+    s = "zip -j %s/output.zip %s/*" %(tempdir,tempdir2)\n+    subprocess.call(s, shell=True)\n+    \n+    # move the zipped temp directory to options.output\n+    os.system("mv %s/output.zip %s" %(tempdir,options.output8))\n+    \n+    \n+\n+    ##############################################\n+    \n+if __name__=="__main__": \n+    __main__()\n+\n+\n+\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/hotspots.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/hotspots.xml Fri Mar 18 05:26:20 2016 -0400
[
b'@@ -0,0 +1,230 @@\n+<tool id="hotspots5" name="Identify eQTL hotspots" version="5.0.0">\n+\t<description>using permutation threshold and chi-squared test</description>\n+\t<command interpreter="python">\n+            hotspots.py --rscript1 \\$R_SCRIPT_PATH/hotspots/threshold_chisq.txt --rscript2 \\$R_SCRIPT_PATH/hotspots/Rplots.txt --input1 $input1 --input2 $input2 --input3 $input3 --input4 $input4 --input5 $input5 --input6 $input6 --input7 $input7 --output1 $output1 --output2 $output2 --output3 $output3 --output4 $output4 --output5 $output5 --output6 $output6 --output7 $output7 --output8 $output8\n+\t</command>\n+        <inputs>\n+\t    <param label="Frequency per bin file" name="input1" type="data" format="tabular" help="A tabular file with cM and bp positions, as well as the number of eQTL and genes for each interval"></param>\n+\t    <param label="Sliding frequency file" name="input2" type="data" format="tabular" help="A tabular file with the gene and eQTL frequency per sliding window interval"></param>\n+\t    <param label="Frequency summary file" name="input3" type="data" format="tabular" help="A tabular file with the total number of genes, eQTLs, cM and number of permutations."></param>\n+\t    <param label="all eQTL classification file" name="input4" type="data" format="tabular" help="A tabular classification file with all eQTL"></param>\n+\t    <param label="cis- eQTL classification file" name="input5" type="data" format="tabular" help="A tabular classification file with only cis eQTL"></param>\n+\t    <param label="trans eQTL classification file" name="input6" type="data" format="tabular" help="A tabular classification file with only trans eQTL"></param>\n+\t    <param label="Sliding-lookup map file" name="input7" type="data" format="tabular" help="A tabular file mapping sliding window IDs to lookup table IDs"></param>\n+\t</inputs>\n+\t<outputs>\n+                <data format="tabular" name="output1" />\n+\t\t<data format="tabular" name="output2" />\n+\t\t<data format="tabular" name="output3" />\n+\t\t<data format="tabular" name="output4" />\n+\t\t<data format="tabular" name="output5" />\n+\t\t<data format="tabular" name="output6" />\n+\t\t<data format="tabular" name="output7" />\n+\t\t<data format="zip" name="output8" />\n+\t</outputs>\n+\t<requirements>\n+\t\t<requirement type="set_environment">R_SCRIPT_PATH</requirement>\n+\t</requirements>\n+\t<tests>\n+          <test>\n+          </test>\n+\t</tests>\n+\t<help>\n+\t\t\n+**What it does**\n+\n+Identify the max number of eQTL expected by chance per cM using a permutation approach.\n+\n+Eliminate differential gene density as an explanatory factor for eQTL hotspots, by performing a chi-squared test per bin.\n+\n+* Calculate the proportion of genes to eQTLs, use this as the population estimates and test the null hypothesis that the number of genes and eQTLs in each interval is consistent.\n+\n+* Mark bins where the expected number (genes + eQTLs) of every interval is not 5 or more (assumption for chi-squared test). For these bins the chi-squared test cannot be performed.\n+\n+Extract lists of eQTLs linked to each unbiased eQTL hotspot.\n+\n+Genome wide eQTL freqeuncy plots. \n+\n+-------\n+\n+**Example input files**\n+\n+Frequency per bin file: frequency of all, cis and trans eQTLs and genes, each row correspond to a 2cM (or smaller) interval (11 columns; only a part of the file is shown)::\n+\n+ int.id  chr     marker  interval        cM      bp        length_cM    num.eQTL.all\tnum.eQTL.cis    num.eQTL.trans\tnum.genes\n+ 1       1       1       0.0001  \t0.0     2038278 \t2.0     94.0    \t2.0     \t64.0    \t12.0\n+ 2       1       1       0.0201  \t2.0     2466324 \t2.0     17.0    \t3.0     \t11.0    \t34.0\n+ 3       1       1       0.0401  \t4.0     2894370 \t2.0     8.0     \t2.0     \t5.0     \t29.0\n+ 4       1       1       0.0601  \t6.0     3322416 \t1.53    11.0    \t5.0     \t3.0     \t10.0\n+ 5       1       2       0.0754  \t7.53    3649871 \t2.0     27.0    \t6.0     \t19.0    \t18.0\n+ 6       1       2       0.0954  \t9.53    4095673 \t2.0     8.0     \t4.0     \t3.0    '..b'    \t \t47.0    \t64.0    \t11.75   \t\t0       \t0              \n+\n+\n+eQTL/gene lists extracted for significant hotspots (Only the first 3 eQTLs linked to hotspots 1 - 5 are shown).\n+The chromosome, list of IDs and number of eQTLs in each hotspot is given in the header.\n+Three output file like this are generated, for all, cis and trans eQTLs respectively::\n+\n+ = = = = =   Hotspot 1    chr 1    sliding.ids: [17, 18]    int.ids: [19, 20, 21, 22]    nr.eQTL: 257   = = = = =\t\t\t\t\t\t\t\t\t\t\t\t\n+ geneA    639     1       3       0.2878  4       0.3872  3       0.3478  13.7958496      0.110934        0.487661\t parentB      no_result\t  19      NA\n+ geneL   800     1       3       0.2478  4       0.4072  3       0.3478  24.2128991      0.2848178       0.4639009       parentB      no_result   19      NA\n+ geneB   382     1       3       0.2878  4       0.3872  3       0.3478  13.7048724      0.1522281       0.3023807       parentB      trans   \t  19      757\n+ geneD   457     1       3       0.2678  4       0.4072  3       0.3478  16.2210425      0.1537186       0.3527068       parentA      trans   \t  19      722\n+ geneE   381     1       3       0.2678  4       0.4272  3       0.3478  19.2398655      0.1747831       0.4636225       parentA      cis    \t  19      16\n+\n+ \xe2\x80\xa6\t\t\t\t\t\t\t\t\t\t\t\t\n+\n+ = = = = =   Hotspot 2    chr 1    sliding.ids: [36, 37]    int.ids: [43, 44, 45, 46]    nr.eQTL: 268   = = = = =\t\t\t\t\t\t\t\t\t\t\t\t\n+ geneW    146     1       8       0.6998  9       0.9588  8       0.7798  17.6058658      0.168243        0.3517602       parentA      cis        43      41\n+ geneP    510     1       8       0.6998  8       0.7998  8       0.7798  48.9321454      0.6530789       0.7453719       parentB      trans      43      566\n+ geneF    231     1       8       0.7598  8       0.7998  8       0.7798  13.2268263      0.1715268       0.4169803       parentB      trans      43      491\n+ geneY    480     1       7       0.6922  8       0.7998  8       0.7798  71.8820179      0.7463132       0.8353116       parentB      no_result  43      NA\n+ geneG    652     1       8       0.7798  8       0.7798  8       0.7798  11.5596194      0.1168083       0.3429812       parentB      trans      43      753\n+ geneJ    760     1       8       0.6998  9       0.9188  8       0.7798  22.0870242      0.2083328       0.396835        parentA      cis        43      49\n+\n+ \xe2\x80\xa6\t\t\t\t\t\t\t\t\t\t\t\t\n+\n+\n+Full summary file (2 columns; 11 rows)::\n+\n+ Total number of eQTLs (all)     \t\t\t31549\n+ Total number of cis-eQTLs       \t\t\t4863\n+ Total number of trans-eQTLs     \t\t\t21428\n+ Total number of genes   \t\t\t\t31036\n+ Total number of cM      \t\t\t\t1861.57\n+ Expected number of eQTL per cM (all)    \t\t16.95\n+ Expected number of cis-eQTL per cM      \t\t2.61\n+ Expected number of trans-eQTL per cM    \t\t11.51\n+ Expected number of genes per cM \t\t\t16.67\n+ User specified number of permutations   \t\t10\n+ Number of intervals per sliding window  \t\t2\n+ Calculated permutation threshold for all eQTL (eQTL/cM) \t\t\t 33.55\n+ Chi-squared test population estimate for all eQTL (genes:eQTL)  \t\t 0.496:0.504\n+ Chi-squared test assumption for all eQTL: min number of [eQTL + genes] in bin   10.08\n+ Calculated permutation threshold for all eQTL (eQTL/cM) \t\t\t 10.55\n+ Chi-squared test population estimate for cis-eQTL (genes:eQTL)  \t\t 0.865:0.135\n+ Chi-squared test assumption for cis-eQTL: min number of [eQTL + genes] in bin   36.91\n+ Calculated permutation threshold for all eQTL (eQTL/cM) \t\t\t 27.55\n+ Chi-squared test population estimate for trans-eQTL (genes:eQTL)        \t 0.592:0.408\n+ Chi-squared test assumption for trans-eQTL: min number of [eQTL + genes] in bin 12.24\n+\n+\n+Frequency plots of the eQTLs where significant hotspots are marked in red. The plot is generated using R and saved in pdf format.\n+\n+(i) Hotspot genome-wide plot [three plots are generated: all eQTL, cis eQTL and trans eQTL]\n+\n+(ii) Hotspot chr plots - eQTL / cM  [three plots are generated: all eQTL, cis eQTL and trans eQTL]\n+\n+        </help>\n+</tool>\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/readme.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/readme.txt Fri Mar 18 05:26:20 2016 -0400
b
@@ -0,0 +1,30 @@
+======================================================================
+hotspots
+======================================================================
+### This is the sixth tool in the eQTL backend pipeline: 
+lookup, classification, frequency, sliding window frequency, hotspots, GO enrichment
+
+Link to the workflow (for import into Galaxy): http://chewbacca.bi.up.ac.za:8080/u/nanette/w/back-end-workflow-2
+
+Identify the max number of eQTL expected by chance per cM using a permutation approach.
+
+Eliminate differential gene density as an explanatory factor for eQTL hotspots, by performing a chi-squared test per bin.
+
+* Calculate the proportion of genes to eQTLs, use this as the population estimates and test the null hypothesis that the number of genes and eQTLs in each interval is consistent.
+* Mark bins where the expected number (genes + eQTLs) of every interval is not 5 or more (assumption for chi-squared test). For these bins the chi-squared test cannot be performed.
+
+Extract lists of eQTLs linked to each unbiased eQTL hotspot.
+
+Genome wide eQTL freqeuncy plots.
+
+---------------
+Installation
+---------------
+
+The eQTL backend pipeline is available for: 
+* command line usage
+* integration into Galaxy servers
+
+
+Requirements:  Python 2.7
+ R 3.1.1
\ No newline at end of file
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/._.DS_Store
b
Binary file hotspots/test-data/._.DS_Store has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._.DS_Store
b
Binary file hotspots/test-data/input/._.DS_Store has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._all_classification_test.txt
b
Binary file hotspots/test-data/input/._all_classification_test.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._cis_classification_test.txt
b
Binary file hotspots/test-data/input/._cis_classification_test.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._frequency.txt
b
Binary file hotspots/test-data/input/._frequency.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._frequency_summary.txt
b
Binary file hotspots/test-data/input/._frequency_summary.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._sliding_frequency.txt
b
Binary file hotspots/test-data/input/._sliding_frequency.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._sliding_lookup.txt
b
Binary file hotspots/test-data/input/._sliding_lookup.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/._trans_classification_test.txt
b
Binary file hotspots/test-data/input/._trans_classification_test.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/all_classification_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/all_classification_test.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,20207 @@\n+gene\tindex\tchr\tstart_marker\tstart_int\tend_marker\tend_int\tpeak_marker\tpeak_int\tpeakLR\trsq\trtsq\tadditive\tclassification\teQTL_bin\tgene_bin\toverlap_score\tstatus\n+A_92_P033089\t106\t10\t3\t0.4045\t5\t0.6791\t4\t0.5206\t13.0002477\t0.1067186\t0.2802598\t-80.0805117\ttrans\t966\tNA\t0\t.\n+A_92_P031976\t434\t6\t2\t0.0847\t3\t0.2153\t3\t0.1455\t13.000651\t0.0881461\t0.3710748\t502.7692948\ttrans\t616\tNA\t0\t.\n+A_92_P008649\t343\t4\t10\t1.0217\t10\t1.1078\t10\t1.1039\t13.0012249\t0.1168611\t0.3068127\t-101.8310204\ttrans\t454\t422\t0\t.\n+A_92_P004129\t384\t1\t19\t2.1956\t20\t2.4956\t19\t2.3414\t13.0022994\t0.1372476\t0.1985604\t-688.0268455\ttrans\t128\t921\t0\t.\n+A_92_P032943\t267\t9\t7\t1.2023\t8\t1.2277\t8\t1.2052\t13.0026682\t0.0862225\t0.3794662\t278.1351403\ttrans\t917\t37\t0\t.\n+A_92_P002895\t12\t9\t5\t0.7541\t7\t1.0008\t6\t0.9414\t13.0027526\t0.0930497\t0.4398714\t143.1894827\ttrans\t903\t72\t0\t.\n+A_92_P040365\t481\t1\t26\t3.1849\t26\t3.2304\t26\t3.2304\t13.0028129\t0.1384379\t0.3574616\t23.7730182\ttrans\t176\t190\t0\t.\n+A_92_P009612\t136\t3\t15\t1.7987\t16\t1.9859\t16\t1.9054\t13.0031456\t0.0747767\t0.5652323\t457.4900153\tno_result\t375\tNA\t0\t.\n+A_92_P008076\t25\t10\t7\t0.8522\t8\t0.9377\t8\t0.9063\t13.0041169\t0.1104605\t0.2566297\t-60.5295597\tno_result\t988\tNA\t0\t.\n+A_92_P018433\t132\t3\t7\t0.748\t9\t0.8995\t8\t0.7815\t13.0043828\t0.0626292\t0.5546714\t345.7247206\ttrans\t313\t750\t0\t.\n+A_92_P035857\t518\t1\t21\t2.613\t22\t2.7486\t22\t2.7081\t13.0045279\t0.1591619\t0.4865428\t33.7112026\ttrans\t147\t712\t0\t.\n+A_92_P012578\t170\t1\t18\t1.9588\t19\t2.1583\t19\t2.0214\t13.0045345\t0.0945191\t0.3378131\t-57.7018789\ttrans\t112\t1015\t0\t.\n+A_92_P025134\t214\t6\t15\t1.6569\t16\t1.8776\t15\t1.7631\t13.0045691\t0.1167311\t0.4518913\t215.5135226\ttrans\t703\t433\t0\t.\n+A_92_P037198\t124\t9\t2\t0.2079\t3\t0.4415\t3\t0.3151\t13.0047172\t0.0640671\t0.7350557\t83.9944292\ttrans\t870\t833\t0\t.\n+A_92_P010442\t320\t10\t7\t0.8465\t8\t0.9649\t8\t0.9063\t13.0051077\t0.0980313\t0.3066852\t-332.527382\ttrans\t988\t95\t0\t.\n+A_92_P015247\t311\t6\t4\t0.3093\t5\t0.3966\t5\t0.3587\t13.005418\t0.125825\t0.2141499\t-47.2725585\ttrans\t628\t860\t0\t.\n+A_92_P017777\t5\t6\t3\t0.2111\t4\t0.3506\t4\t0.2904\t13.0054359\t0.0607557\t0.6003568\t-74.8073523\tno_result\t624\tNA\t0\t.\n+A_92_P041648\t351\t4\t3\t0.3035\t3\t0.3589\t3\t0.356\t13.0064326\t0.1153208\t0.2599071\t137.8778955\ttrans\t412\t41\t0\t.\n+A_92_P026923\t500\t5\t18\t1.9543\t19\t2.0355\t19\t2.0355\t13.006598\t0.088789\t0.3903182\t133.8448897\tno_result\t606\tNA\t0\t.\n+A_92_P039569\t352\t8\t6\t0.8226\t10\t1.0608\t7\t0.8332\t13.0066823\t0.1175886\t0.6019598\t-127.2694449\ttrans\t821\t974\t0\t.\n+A_92_P015117\t93\t5\t16\t1.6502\t17\t1.8238\t16\t1.7432\t13.0072436\t0.1204211\t0.3959499\t-302.2973742\ttrans\t590\t811\t0\t.\n+A_92_P002090\t336\t2\t6\t0.9418\t7\t1.0898\t7\t1.0104\t13.0072574\t0.111461\t0.6145661\t-25.0109808\ttrans\t231\t898\t0\t.\n+A_92_P012219\t150\t10\t3\t0.4532\t5\t0.6082\t5\t0.53\t13.0079146\t0.1127018\t0.5864812\t-62.5427459\ttrans\t967\t436\t0\t.\n+A_92_P036063\t519\t1\t10\t1.0693\t11\t1.2418\t11\t1.1271\t13.008592\t0.0949896\t0.3371266\t-148.063877\ttrans\t62\t336\t0\t.\n+A_92_P014796\t529\t6\t7\t0.6452\t9\t0.7742\t8\t0.6928\t13.0093805\t0.0579355\t0.6721388\t-508.6256881\tno_result\t646\tNA\t0\t.\n+A_92_P034129\t182\t8\t7\t0.9025\t9\t1.0199\t9\t0.9932\t13.0095561\t0.1027429\t0.353676\t68.4588641\ttrans\t830\t800\t0\t.\n+A_92_P028959\t228\t2\t13\t1.6649\t13\t1.6825\t13\t1.6825\t13.0097735\t0.0884723\t0.5560641\t74.6480519\ttrans\t268\t657\t0\t.\n+A_92_P016167\t328\t10\t7\t0.8438\t8\t0.9545\t8\t0.9063\t13.0103922\t0.0894848\t0.3591821\t-301.0957034\ttrans\t988\t766\t0\t.\n+A_92_P001933\t26\t9\t5\t0.7771\t6\t0.9627\t5\t0.8906\t13.0107657\t0.1425694\t0.2899345\t772.1797927\tcis\t900\t902\t0.885421378894\tfull\n+A_92_P003843\t535\t3\t9\t0.8706\t10\t1.1541\t10\t1.0342\t13.010776\t0.1062364\t0.4520568\t136.3361926\ttrans\t327\t671\t0\t.\n+A_92_P002749\t150\t5\t18\t1.9223\t19\t2.0355\t19\t2.0155\t13.0110982\t0.1165234\t0.2387505\t-128.3356503\ttrans\t605\t676\t0\t.\n+A_92_P027425\t300\t1\t3\t0.2802\t8\t0.7251\t7\t0.6322\t13.0111128\t0.1500484\t0.487598\t55.2828593\ttrans\t35\t724\t0\t.\n+A_92_P026756\t187\t1\t18\t1.9528\t19\t2.1501\t19\t2.0614\t13.0111907\t0.1743192\t0.3832909\t1782.863853\ttrans\t114\t445\t0\t.\n+A_92_P008749\t131\t9\t5\t0.7534\t6\t0.9681\t6\t0.9214\t13.0112685\t0.1011288\t0.2828048\t131.1703705\ttrans\t902\t705\t0\t.\n+A_92_P024189\t266\t3\t13\t1.5674\t14\t1.6794\t14\t1.6122\t13.0113454\t0.0996986\t0.294448\t-252.6327099\ttrans\t3'..b'0641\t8\t1.1328\t7\t1.1104\t126.7305266\t0.5473838\t0.8236545\t-837.3800737\ttrans\t236\t229\t0\t.\n+A_92_P014590\t502\t6\t10\t0.923\t10\t1.0051\t10\t0.9488\t127.068803\t0.6980265\t0.8744319\t-1143.571759\tcis\t660\t664\t0.272887481069\tpartial\n+A_92_P019453\t524\t3\t3\t0.3615\t3\t0.412\t3\t0.396\t127.1196679\t0.6148648\t0.8504944\t2299.446604\tcis\t290\t290\t0.918825798508\tfull\n+A_92_P030597\t535\t2\t11\t1.4324\t11\t1.4696\t11\t1.4549\t130.2070404\t0.7597156\t0.8443954\t920.1146148\tcis\t255\t251\t0.380671258018\tpartial\n+A_92_P033198\t292\t2\t10\t1.3842\t10\t1.4139\t10\t1.4063\t130.2610278\t0.618627\t0.8369361\t780.9540079\tcis\t252\t250\t0.414939177437\tpartial\n+A_92_P034801\t128\t7\t8\t0.6518\t8\t0.706\t8\t0.672\t130.5920547\t0.7632863\t0.8481723\t986.1573031\tno_result\t752\tNA\t0\t.\n+A_92_P010588\t267\t8\t6\t0.6946\t6\t0.7541\t6\t0.7148\t130.65211\t0.7544981\t0.8720197\t6651.343609\tcis\t815\t815\t0.930913294443\tfull\n+A_92_P041334\t347\t2\t7\t1.0808\t8\t1.1293\t7\t1.1104\t132.1767556\t0.7379781\t0.8491016\t775.3578187\ttrans\t236\t229\t0\t.\n+A_92_P024071\t365\t6\t12\t1.2945\t12\t1.353\t12\t1.3157\t132.4323013\t0.7720361\t0.862216\t1331.352972\tcis\t679\t682\t0.345885018293\tpartial\n+A_92_P013601\t275\t10\t7\t0.8316\t7\t0.8588\t7\t0.8356\t132.6445739\t0.7079888\t0.8388011\t-7738.298516\tno_result\t984\tNA\t0\t.\n+A_92_P019359\t230\t7\t2\t0.1134\t2\t0.1571\t2\t0.1304\t133.6104877\t0.8078253\t0.8792644\t970.6274991\tcis\t721\t722\t0.500536854822\tpartial\n+A_92_P019911\t231\t2\t9\t1.3109\t10\t1.3383\t10\t1.3263\t134.6080118\t0.7013391\t0.7563715\t-168.659647\ttrans\t248\t242\t0\t.\n+A_92_P011456\t8\t5\t10\t0.9932\t11\t1.0305\t11\t1.0171\t135.0547342\t0.7044504\t0.8305892\t3792.106484\tcis\t552\t550\t0.900190831095\tfull\n+A_92_P013776\t511\t2\t7\t1.022\t7\t1.0567\t7\t1.0304\t138.1769356\t0.6160639\t0.862524\t-392.4753274\ttrans\t232\t227\t0\t.\n+A_92_P021191\t390\t10\t12\t1.4354\t12\t1.4654\t12\t1.4654\t138.6569417\t0.7780008\t0.8424187\t2660.007396\tcis\t1018\t1018\t0.564579761709\tpartial\n+A_92_P028377\t458\t5\t6\t0.5134\t6\t0.5593\t6\t0.5193\t138.7420164\t0.7403525\t0.8388261\t1185.277762\tcis\t526\t525\t0.925369707222\tfull\n+A_92_P027234\t18\t10\t12\t1.4253\t12\t1.4654\t12\t1.4454\t140.0733983\t0.8184543\t0.8528154\t-1511.499728\tcis\t1017\tNA\t0.480077724006\tpartial\n+A_92_P019605\t374\t2\t8\t1.1325\t8\t1.1562\t8\t1.1375\t141.1871809\t0.787033\t0.852403\t382.7015145\ttrans\t238\t229\t0\t.\n+A_92_P027846\t58\t2\t9\t1.3015\t10\t1.3382\t10\t1.3263\t141.2734072\t0.6600031\t0.7906127\t492.1090255\ttrans\t248\tNA\t0\t.\n+A_92_P025248\t190\t4\t16\t1.5399\t16\t1.6192\t16\t1.5758\t141.8550961\t0.7442516\t0.8507456\t1767.90183\tcis\t480\t481\t0.919802385944\tfull\n+A_92_P009859\t282\t1\t23\t2.7598\t23\t2.7878\t23\t2.7704\t142.281216\t0.7868536\t0.8199738\t-1759.248337\tcis\t151\t150\t0.906103723299\tfull\n+A_92_P016320\t244\t5\t10\t0.9856\t11\t1.0117\t11\t0.9971\t142.6714639\t0.7225426\t0.7910168\t1645.786905\tcis\t551\t550\t0.910753696421\tfull\n+A_92_P023114\t345\t3\t3\t0.3387\t3\t0.4\t3\t0.376\t143.8411807\t0.8190891\t0.8873401\t1540.002806\tcis\t289\t288\t0.934620654954\tfull\n+A_92_P031740\t431\t2\t9\t1.2883\t9\t1.3179\t9\t1.311\t145.7309382\t0.7975063\t0.8420308\t-2853.206861\ttrans\t247\t230\t0\t.\n+A_92_P018770\t203\t8\t2\t0.123\t2\t0.1636\t2\t0.1275\t145.9619935\t0.7681285\t0.899848\t-2488.981624\tcis\t784\t783\t0.519531363466\tpartial\n+A_92_P023221\t493\t2\t7\t1.0853\t8\t1.1454\t7\t1.1104\t146.8379131\t0.6938007\t0.8256946\t386.3553721\tno_result\t236\tNA\t0\t.\n+A_92_P016767\t73\t4\t8\t0.8854\t9\t0.9334\t9\t0.9222\t150.4030665\t0.6203924\t0.8328313\t-5029.839775\tcis\t444\t443\t0.92639743111\tfull\n+A_92_P031655\t210\t2\t9\t1.1763\t9\t1.2118\t9\t1.191\t151.0660125\t0.747978\t0.8466157\t1463.805478\ttrans\t241\t229\t0\t.\n+A_92_P024602\t230\t2\t7\t1.0835\t7\t1.1142\t7\t1.1104\t152.6168173\t0.712277\t0.9061143\t-900.5392664\ttrans\t236\t822\t0\t.\n+A_92_P020257\t277\t1\t20\t2.3775\t20\t2.4281\t20\t2.4009\t153.2476809\t0.8379817\t0.8500749\t-704.6669244\tcis\t131\t128\t0.398780303554\tpartial\n+A_92_P027684\t331\t2\t9\t1.29\t10\t1.3318\t9\t1.311\t164.9492832\t0.7463689\t0.8610954\t577.8506214\ttrans\t247\t230\t0\t.\n+A_92_P030048\t12\t2\t8\t1.1333\t8\t1.1565\t8\t1.1375\t166.2856728\t0.7541031\t0.8714586\t2079.164638\ttrans\t238\t229\t0\t.\n+A_92_P030765\t348\t2\t9\t1.2874\t9\t1.3169\t9\t1.311\t167.5046399\t0.8335695\t0.8718061\t1815.082626\ttrans\t247\t230\t0\t.\n+A_92_P020277\t492\t5\t5\t0.4859\t6\t0.5156\t6\t0.4993\t168.9161349\t0.7650603\t0.8777001\t1726.811119\tcis\t525\t524\t0.911944737843\tfull\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/cis_classification_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/cis_classification_test.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,4481 @@\n+gene\tindex\tchr\tstart_marker\tstart_int\tend_marker\tend_int\tpeak_marker\tpeak_int\tpeakLR\trsq\trtsq\tparent_up_reg\tclassification\teQTL_bin\tgene_bin\toverlap_score\tstatus\n+A_92_P001933\t26\t9\t5\t0.7771\t6\t0.9627\t5\t0.8906\t13.0107657\t0.1425694\t0.2899345\t772.1797927\tcis\t900\t902\t0.885421378894\tfull\n+A_92_P006764\t190\t3\t14\t1.6614\t15\t1.8767\t15\t1.7757\t13.0329118\t0.0900386\t0.3830784\t156.3292634\tcis\t368\t364\t0.868032668307\tfull\n+A_92_P032848\t22\t7\t6\t0.49\t7\t0.624\t7\t0.5545\t13.0423181\t0.0975663\t0.3202902\t197.0888691\tcis\t746\t746\t0.956518519906\tfull\n+A_92_P007048\t124\t7\t6\t0.5139\t7\t0.6202\t7\t0.5545\t13.0424206\t0.1025581\t0.2993611\t-76.1468779\tcis\t746\t743\t0.883785894565\tfull\n+A_92_P028532\t91\t5\t14\t1.3693\t15\t1.5924\t15\t1.4912\t13.0472043\t0.1529543\t0.5015182\t43.3319059\tcis\t577\t573\t0.391142666571\tpartial\n+A_92_P036978\t305\t4\t11\t1.1811\t13\t1.3462\t12\t1.2626\t13.0485749\t0.0950792\t0.417053\t-83.2863968\tcis\t463\t465\t0.893919374271\tfull\n+A_92_P005311\t171\t5\t5\t0.4936\t7\t0.723\t6\t0.5793\t13.0491403\t0.106117\t0.3432348\t-117.5729679\tcis\t529\t529\t0.911042448266\tfull\n+A_92_P037947\t473\t10\t5\t0.6677\t6\t0.7809\t6\t0.7518\t13.0506871\t0.1022365\t0.2820876\t-894.2443656\tcis\t979\t974\t0.417987032435\tpartial\n+A_92_P008496\t417\t6\t6\t0.5469\t7\t0.647\t7\t0.61\t13.0516355\t0.1032826\t0.2974876\t143.8520072\tcis\t641\t645\t0.239805349701\tpartial\n+A_92_P018177\t225\t4\t4\t0.3692\t5\t0.5539\t4\t0.4794\t13.0522437\t0.1375424\t0.3479129\t-51.7285105\tcis\t419\t425\t0.156086202032\tpartial\n+A_92_P006315\t355\t3\t17\t2.069\t18\t2.1961\t18\t2.1961\t13.0575996\t0.1112713\t0.2795304\t-95.8304969\tcis\t391\t388\t0.926990990605\tfull\n+A_92_P026807\t340\t5\t5\t0.4387\t6\t0.6063\t6\t0.5393\t13.05994\t0.2188204\t0.3260958\t-122.0651839\tcis\t527\t527\t0.963867094165\tfull\n+A_92_P003375\t446\t1\t12\t1.3486\t13\t1.4884\t13\t1.447\t13.0663506\t0.159609\t0.3367348\t89.1516428\tcis\t79\t76\t0.922652161557\tfull\n+A_92_P024320\t88\t1\t12\t1.3546\t13\t1.465\t13\t1.427\t13.0701965\t0.1063085\t0.3446705\t-115.2290665\tcis\t78\t76\t0.961027172187\tfull\n+A_92_P001451\t163\t3\t14\t1.6771\t15\t1.8772\t15\t1.7757\t13.0736312\t0.096962\t0.3407441\t122.5415049\tcis\t368\t363\t0.284215600714\tpartial\n+A_92_P039658\t307\t6\t9\t0.7791\t10\t0.9845\t9\t0.8573\t13.0808729\t0.1145683\t0.4221893\t124.4292323\tcis\t655\t661\t0.205167284328\tpartial\n+A_92_P008751\t158\t5\t5\t0.4983\t7\t0.7645\t7\t0.6979\t13.0812841\t0.1100263\t0.3869779\t283.0263966\tcis\t535\t530\t0.326191000028\tpartial\n+A_92_P041853\t122\t8\t1\t0.0363\t2\t0.2355\t2\t0.1075\t13.0819048\t0.1011041\t0.317714\t-156.7989894\tcis\t783\t786\t0.375467156303\tpartial\n+A_92_P035306\t151\t5\t19\t1.9849\t19\t2.0355\t19\t2.0355\t13.0900734\t0.0985473\t0.3251203\t-56.984064\tcis\t606\tNA\t0.650222845238\tpartial\n+A_92_P014593\t305\t4\t10\t1.1025\t12\t1.235\t11\t1.1729\t13.0967342\t0.0953299\t0.4675718\t201.0226435\tcis\t458\t457\t0.992648786374\tfull\n+A_92_P001976\t487\t2\t1\t0.0001\t3\t0.4601\t1\t0.0601\t13.0974213\t0.132103\t0.4085804\t-91.1987204\tcis\t181\t196\t0.100354099297\tpartial\n+A_92_P039714\t441\t1\t11\t1.1539\t11\t1.2679\t11\t1.2471\t13.105281\t0.1443123\t0.2839714\t-76.9626348\tcis\t68\t71\t0.266730920324\tpartial\n+A_92_P004315\t65\t5\t12\t1.202\t13\t1.3331\t13\t1.2501\t13.120358\t0.1173828\t0.3398202\t-43.5021631\tcis\t564\t564\t0.976193507659\tfull\n+A_92_P036692\t303\t1\t1\t0.0001\t1\t0.0658\t1\t0.0001\t13.1218638\t0.1051302\t0.3031618\t-75.6036732\tcis\t1\tNA\t0.710964490921\tpartial\n+A_92_P026006\t25\t3\t7\t0.7587\t9\t0.9407\t8\t0.8015\t13.1252204\t0.1008523\t0.3738409\t-60.4900157\tcis\t314\t314\t0.920272304307\tfull\n+A_92_P008867\t132\t5\t9\t0.9377\t11\t1.0663\t11\t0.9971\t13.1280524\t0.096754\t0.3308284\t149.0097121\tcis\t551\t545\t0.181628927296\tpartial\n+A_92_P011931\t520\t9\t5\t0.8415\t6\t0.965\t6\t0.9214\t13.1302311\t0.0954124\t0.3295985\t741.837867\tcis\t902\t897\t0.27359740628\tpartial\n+A_92_P005987\t191\t10\t12\t1.3477\t12\t1.4654\t12\t1.4454\t13.1363561\t0.1607669\t0.2751542\t63.3986324\tcis\t1017\t1015\t0.955594877891\tfull\n+A_92_P032043\t529\t5\t10\t0.9957\t12\t1.1657\t11\t1.0371\t13.1381716\t0.1699951\t0.2804553\t-86.6026026\tcis\t553\t555\t0.924453315288\tfull\n+A_92_P014629\t224\t9\t5\t0.6693\t6\t0.9505\t5\t0.7906\t13.1390689\t0.1919576\t0.2698422\t134.6058364\tcis\t895\t895\t0.865083064106\tfull\n+A_92_P027112\t353\t10\t4\t0.4908\t5\t0.6639\t5\t0.53\t13.1443921\t0.0900702\t0.3611861\t387.5424344\tcis\t967\t970\t0.50414644'..b'1\t20\t2.5187\t20\t2.5472\t20\t2.5409\t118.8372234\t0.6845821\t0.7753882\t-291.7010293\tcis\t138\tNA\t0.379314354949\tpartial\n+A_92_P029571\t536\t8\t7\t0.9297\t8\t0.9697\t7\t0.9532\t118.9737059\t0.6864161\t0.8228138\t367.1136497\tcis\t827\t828\t0.911976170588\tfull\n+A_92_P039219\t268\t2\t11\t1.4401\t11\t1.4785\t11\t1.4549\t119.366351\t0.7917704\t0.8348368\t887.2763648\tcis\t255\t253\t0.450574571557\tpartial\n+A_92_P036243\t225\t5\t9\t0.8871\t9\t0.9279\t9\t0.9071\t119.3713508\t0.7022065\t0.8273741\t1762.891737\tcis\t546\t545\t0.908910002198\tfull\n+A_92_P016077\t375\t1\t14\t1.5091\t14\t1.5534\t14\t1.5298\t119.8149329\t0.7463642\t0.8881916\t-1135.596872\tcis\t84\t85\t0.470819639251\tpartial\n+A_92_P019948\t21\t10\t7\t0.8337\t7\t0.8691\t7\t0.8556\t120.3162538\t0.7199746\t0.8351251\t-2344.220644\tcis\t985\t984\t0.913623269349\tfull\n+A_92_P012757\t116\t2\t10\t1.3874\t11\t1.4333\t10\t1.4063\t120.8082808\t0.5977292\t0.7943952\t-675.1710092\tcis\t252\t250\t0.478151135171\tpartial\n+A_92_P037590\t41\t8\t10\t1.0428\t10\t1.0795\t10\t1.049\t121.1557886\t0.6913389\t0.8370489\t-2299.680544\tcis\t833\t833\t0.909621062342\tfull\n+A_92_P020868\t117\t5\t2\t0.2093\t3\t0.2816\t2\t0.2521\t122.1273412\t0.695119\t0.8049531\t-614.8840563\tcis\t511\t510\t0.935774488254\tfull\n+A_92_P024397\t460\t4\t1\t0.0072\t1\t0.0633\t1\t0.0401\t122.1439208\t0.8257366\t0.833643\t4984.098929\tcis\t395\tNA\t0.491176650156\tpartial\n+A_92_P003328\t386\t4\t15\t1.4925\t15\t1.5142\t15\t1.5133\t123.1395161\t0.6350568\t0.7686781\t-2737.376407\tcis\t476\t475\t0.903238964213\tfull\n+A_92_P025966\t345\t8\t7\t0.931\t7\t0.9576\t7\t0.9532\t125.2491001\t0.575462\t0.839762\t2733.290043\tcis\t827\t828\t0.463550718331\tpartial\n+A_92_P022422\t95\t3\t2\t0.1435\t2\t0.2009\t2\t0.1776\t125.9708657\t0.7918329\t0.8508942\t2495.472557\tcis\t279\t280\t0.520432425821\tpartial\n+A_92_P014590\t502\t6\t10\t0.923\t10\t1.0051\t10\t0.9488\t127.068803\t0.6980265\t0.8744319\t-1143.571759\tcis\t660\t664\t0.272887481069\tpartial\n+A_92_P019453\t524\t3\t3\t0.3615\t3\t0.412\t3\t0.396\t127.1196679\t0.6148648\t0.8504944\t2299.446604\tcis\t290\t290\t0.918825798508\tfull\n+A_92_P030597\t535\t2\t11\t1.4324\t11\t1.4696\t11\t1.4549\t130.2070404\t0.7597156\t0.8443954\t920.1146148\tcis\t255\t251\t0.380671258018\tpartial\n+A_92_P033198\t292\t2\t10\t1.3842\t10\t1.4139\t10\t1.4063\t130.2610278\t0.618627\t0.8369361\t780.9540079\tcis\t252\t250\t0.414939177437\tpartial\n+A_92_P010588\t267\t8\t6\t0.6946\t6\t0.7541\t6\t0.7148\t130.65211\t0.7544981\t0.8720197\t6651.343609\tcis\t815\t815\t0.930913294443\tfull\n+A_92_P024071\t365\t6\t12\t1.2945\t12\t1.353\t12\t1.3157\t132.4323013\t0.7720361\t0.862216\t1331.352972\tcis\t679\t682\t0.345885018293\tpartial\n+A_92_P019359\t230\t7\t2\t0.1134\t2\t0.1571\t2\t0.1304\t133.6104877\t0.8078253\t0.8792644\t970.6274991\tcis\t721\t722\t0.500536854822\tpartial\n+A_92_P011456\t8\t5\t10\t0.9932\t11\t1.0305\t11\t1.0171\t135.0547342\t0.7044504\t0.8305892\t3792.106484\tcis\t552\t550\t0.900190831095\tfull\n+A_92_P021191\t390\t10\t12\t1.4354\t12\t1.4654\t12\t1.4654\t138.6569417\t0.7780008\t0.8424187\t2660.007396\tcis\t1018\t1018\t0.564579761709\tpartial\n+A_92_P028377\t458\t5\t6\t0.5134\t6\t0.5593\t6\t0.5193\t138.7420164\t0.7403525\t0.8388261\t1185.277762\tcis\t526\t525\t0.925369707222\tfull\n+A_92_P027234\t18\t10\t12\t1.4253\t12\t1.4654\t12\t1.4454\t140.0733983\t0.8184543\t0.8528154\t-1511.499728\tcis\t1017\tNA\t0.480077724006\tpartial\n+A_92_P025248\t190\t4\t16\t1.5399\t16\t1.6192\t16\t1.5758\t141.8550961\t0.7442516\t0.8507456\t1767.90183\tcis\t480\t481\t0.919802385944\tfull\n+A_92_P009859\t282\t1\t23\t2.7598\t23\t2.7878\t23\t2.7704\t142.281216\t0.7868536\t0.8199738\t-1759.248337\tcis\t151\t150\t0.906103723299\tfull\n+A_92_P016320\t244\t5\t10\t0.9856\t11\t1.0117\t11\t0.9971\t142.6714639\t0.7225426\t0.7910168\t1645.786905\tcis\t551\t550\t0.910753696421\tfull\n+A_92_P023114\t345\t3\t3\t0.3387\t3\t0.4\t3\t0.376\t143.8411807\t0.8190891\t0.8873401\t1540.002806\tcis\t289\t288\t0.934620654954\tfull\n+A_92_P018770\t203\t8\t2\t0.123\t2\t0.1636\t2\t0.1275\t145.9619935\t0.7681285\t0.899848\t-2488.981624\tcis\t784\t783\t0.519531363466\tpartial\n+A_92_P016767\t73\t4\t8\t0.8854\t9\t0.9334\t9\t0.9222\t150.4030665\t0.6203924\t0.8328313\t-5029.839775\tcis\t444\t443\t0.92639743111\tfull\n+A_92_P020257\t277\t1\t20\t2.3775\t20\t2.4281\t20\t2.4009\t153.2476809\t0.8379817\t0.8500749\t-704.6669244\tcis\t131\t128\t0.398780303554\tpartial\n+A_92_P020277\t492\t5\t5\t0.4859\t6\t0.5156\t6\t0.4993\t168.9161349\t0.7650603\t0.8777001\t1726.811119\tcis\t525\t524\t0.911944737843\tfull\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/frequency.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/frequency.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,1020 @@\n+int.id\tchr\tmarker\tinterval\tcM\tbp\tlength_cM\tnum.eQTL.all\tnum.eQTL.cis\tnum.eQTL.trans\tnum.genes\n+1\t1\t1\t0.0001\t0.0\t2038278\t2.0\t39.0\t6.0\t26.0\t12.0\n+2\t1\t1\t0.0201\t2.0\t2466324\t2.0\t11.0\t2.0\t7.0\t34.0\n+3\t1\t1\t0.0401\t4.0\t2894370\t2.0\t6.0\t3.0\t3.0\t29.0\n+4\t1\t1\t0.0601\t6.0\t3322416\t1.53\t8.0\t3.0\t5.0\t10.0\n+5\t1\t2\t0.0754\t7.53\t3649871\t2.0\t37.0\t11.0\t21.0\t18.0\n+6\t1\t2\t0.0954\t9.53\t4095673\t2.0\t7.0\t3.0\t3.0\t12.0\n+7\t1\t2\t0.1154\t11.53\t4541476\t2.0\t5.0\t1.0\t4.0\t17.0\n+8\t1\t2\t0.1354\t13.53\t4987278\t2.0\t7.0\t4.0\t2.0\t19.0\n+9\t1\t2\t0.1554\t15.53\t5433081\t2.0\t6.0\t2.0\t2.0\t15.0\n+10\t1\t2\t0.1754\t17.53\t5878883\t1.24\t9.0\t1.0\t8.0\t4.0\n+11\t1\t3\t0.1878\t18.77\t6155281\t2.0\t26.0\t4.0\t19.0\t22.0\n+12\t1\t3\t0.2078\t20.77\t6781464\t2.0\t3.0\t1.0\t2.0\t31.0\n+13\t1\t3\t0.2278\t22.77\t7407646\t2.0\t6.0\t2.0\t4.0\t27.0\n+14\t1\t3\t0.2478\t24.77\t8033829\t2.0\t2.0\t0\t1.0\t27.0\n+15\t1\t3\t0.2678\t26.77\t8660012\t2.0\t4.0\t3.0\t0\t8.0\n+16\t1\t3\t0.2878\t28.77\t9286194\t2.0\t2.0\t0\t1.0\t14.0\n+17\t1\t3\t0.3078\t30.77\t9912377\t2.0\t3.0\t1.0\t2.0\t12.0\n+18\t1\t3\t0.3278\t32.77\t10538560\t2.0\t6.0\t2.0\t2.0\t14.0\n+19\t1\t3\t0.3478\t34.77\t11164742\t2.0\t14.0\t3.0\t6.0\t11.0\n+20\t1\t3\t0.3678\t36.77\t11790925\t1.94\t22.0\t2.0\t16.0\t29.0\n+21\t1\t4\t0.3872\t38.71\t12398322\t2.0\t88.0\t10.0\t64.0\t19.0\n+22\t1\t4\t0.4072\t40.71\t12998447\t2.0\t10.0\t1.0\t7.0\t9.0\n+23\t1\t4\t0.4272\t42.71\t13598572\t1.91\t5.0\t0\t4.0\t20.0\n+24\t1\t5\t0.4463\t44.62\t14171692\t2.0\t16.0\t4.0\t8.0\t26.0\n+25\t1\t5\t0.4663\t46.62\t15319046\t2.0\t3.0\t0\t1.0\t38.0\n+26\t1\t5\t0.4863\t48.62\t16466401\t0.11\t0\t0\t0\t0\n+27\t1\t6\t0.4874\t48.73\t16529505\t2.0\t17.0\t5.0\t8.0\t23.0\n+28\t1\t6\t0.5074\t50.73\t17676859\t2.0\t4.0\t2.0\t1.0\t34.0\n+29\t1\t6\t0.5274\t52.73\t18824214\t0.48\t11.0\t5.0\t5.0\t4.0\n+30\t1\t7\t0.5322\t53.21\t19099579\t2.0\t15.0\t7.0\t7.0\t38.0\n+31\t1\t7\t0.5522\t55.21\t20991425\t2.0\t5.0\t3.0\t1.0\t58.0\n+32\t1\t7\t0.5722\t57.21\t22883271\t2.0\t9.0\t7.0\t2.0\t35.0\n+33\t1\t7\t0.5922\t59.21\t24775117\t2.0\t3.0\t1.0\t2.0\t58.0\n+34\t1\t7\t0.6122\t61.21\t26666963\t2.0\t3.0\t2.0\t1.0\t45.0\n+35\t1\t7\t0.6322\t63.21\t28558809\t2.0\t3.0\t1.0\t2.0\t24.0\n+36\t1\t7\t0.6522\t65.21\t30450655\t2.0\t8.0\t6.0\t0\t48.0\n+37\t1\t7\t0.6722\t67.21\t32342501\t2.0\t12.0\t8.0\t3.0\t43.0\n+38\t1\t7\t0.6922\t69.21\t34234347\t0.76\t5.0\t5.0\t0\t20.0\n+39\t1\t8\t0.6998\t69.97\t34953249\t2.0\t24.0\t9.0\t11.0\t30.0\n+40\t1\t8\t0.7198\t71.97\t36421871\t2.0\t8.0\t3.0\t3.0\t28.0\n+41\t1\t8\t0.7398\t73.97\t37890493\t2.0\t5.0\t2.0\t2.0\t48.0\n+42\t1\t8\t0.7598\t75.97\t39359115\t2.0\t4.0\t2.0\t0\t33.0\n+43\t1\t8\t0.7798\t77.97\t40827737\t2.0\t4.0\t2.0\t2.0\t37.0\n+44\t1\t8\t0.7998\t79.97\t42296359\t1.9\t8.0\t4.0\t4.0\t33.0\n+45\t1\t9\t0.8188\t81.87\t43691550\t2.0\t35.0\t7.0\t19.0\t24.0\n+46\t1\t9\t0.8388\t83.87\t45292235\t2.0\t7.0\t3.0\t3.0\t46.0\n+47\t1\t9\t0.8588\t85.87\t46892920\t2.0\t3.0\t1.0\t2.0\t25.0\n+48\t1\t9\t0.8788\t87.87\t48493606\t2.0\t7.0\t4.0\t1.0\t32.0\n+49\t1\t9\t0.8988\t89.87\t50094291\t2.0\t5.0\t5.0\t0\t28.0\n+50\t1\t9\t0.9188\t91.87\t51694976\t2.0\t6.0\t3.0\t3.0\t41.0\n+51\t1\t9\t0.9388\t93.87\t53295661\t2.0\t17.0\t12.0\t3.0\t37.0\n+52\t1\t9\t0.9588\t95.87\t54896346\t0.23\t11.0\t2.0\t4.0\t5.0\n+53\t1\t10\t0.9611\t96.1\t55080425\t2.0\t63.0\t28.0\t28.0\t48.0\n+54\t1\t10\t0.9811\t98.1\t56970721\t2.0\t18.0\t10.0\t6.0\t25.0\n+55\t1\t10\t1.0011\t100.1\t58861017\t2.0\t9.0\t4.0\t2.0\t39.0\n+56\t1\t10\t1.0211\t102.1\t60751312\t2.0\t5.0\t2.0\t2.0\t48.0\n+57\t1\t10\t1.0411\t104.1\t62641608\t2.0\t6.0\t2.0\t1.0\t27.0\n+58\t1\t10\t1.0611\t106.1\t64531904\t2.0\t5.0\t3.0\t2.0\t21.0\n+59\t1\t10\t1.0811\t108.1\t66422200\t2.0\t5.0\t4.0\t1.0\t33.0\n+60\t1\t10\t1.1011\t110.1\t68312495\t2.0\t7.0\t1.0\t4.0\t28.0\n+61\t1\t10\t1.1211\t112.1\t70202791\t0.6\t4.0\t0\t4.0\t10.0\n+62\t1\t11\t1.1271\t112.7\t70769880\t2.0\t37.0\t7.0\t25.0\t27.0\n+63\t1\t11\t1.1471\t114.7\t72592319\t2.0\t4.0\t0\t3.0\t23.0\n+64\t1\t11\t1.1671\t116.7\t74414759\t2.0\t3.0\t0\t1.0\t24.0\n+65\t1\t11\t1.1871\t118.7\t76237198\t2.0\t1.0\t0\t1.0\t26.0\n+66\t1\t11\t1.2071\t120.7\t78059638\t2.0\t6.0\t1.0\t2.0\t18.0\n+67\t1\t11\t1.2271\t122.7\t79882077\t2.0\t9.0\t2.0\t6.0\t26.0\n+68\t1\t11\t1.2471\t124.7\t81704517\t2.0\t4.0\t2.0\t1.0\t25.0\n+69\t1\t11\t1.2671\t126.7\t83526956\t0.13\t15.0\t5.0\t7.0\t0\n+70\t1\t12\t1.2684\t126.83\t83645415\t2.0\t46.0\t17.0\t17.0\t131.0\n+71\t1\t12\t1.2884\t128.83\t96061299\t2.0\t17.0\t9.0\t5.0\t114.0\n+72\t1\t12\t1.3084\t130.83\t108477184\t2.0\t10.0\t6.0\t4.0\t74.0\n+73\t1\t12\t1.3284\t132.83\t120893068\t2.0\t11.0\t5.0\t3.0\t42.0\n+74\t1\t12\t1.3484\t134.83\t133308952\t2.0\t8.0\t4.0\t2.0\t63.0\n+75\t1\t12\t1.3684\t136.83\t145724837\t2.0\t12.0\t5.0\t3.0\t109.0\n+76\t1\t12\t1.3884\t138.83\t158140721\t2.0\t14.0\t7.0\t5.0\t107.'..b'.1503\t15.02\t5005541\t2.0\t57.0\t1.0\t48.0\t5.0\n+948\t10\t2\t0.1703\t17.02\t5415805\t2.0\t8.0\t0\t8.0\t17.0\n+949\t10\t2\t0.1903\t19.02\t5826069\t2.0\t8.0\t0\t7.0\t5.0\n+950\t10\t2\t0.2103\t21.02\t6236333\t2.0\t9.0\t0\t6.0\t9.0\n+951\t10\t2\t0.2303\t23.02\t6646598\t2.0\t2.0\t1.0\t1.0\t5.0\n+952\t10\t2\t0.2503\t25.02\t7056862\t2.0\t3.0\t2.0\t1.0\t7.0\n+953\t10\t2\t0.2703\t27.02\t7467126\t2.0\t2.0\t0\t1.0\t4.0\n+954\t10\t2\t0.2903\t29.02\t7877390\t2.0\t8.0\t2.0\t4.0\t3.0\n+955\t10\t2\t0.3103\t31.02\t8287654\t1.55\t12.0\t3.0\t6.0\t6.0\n+956\t10\t3\t0.3258\t32.57\t8605609\t2.0\t19.0\t1.0\t13.0\t14.0\n+957\t10\t3\t0.3458\t34.57\t9339920\t2.0\t10.0\t4.0\t6.0\t10.0\n+958\t10\t3\t0.3658\t36.57\t10074232\t2.0\t6.0\t3.0\t2.0\t26.0\n+959\t10\t3\t0.3858\t38.57\t10808543\t2.0\t7.0\t3.0\t3.0\t7.0\n+960\t10\t3\t0.4058\t40.57\t11542855\t2.0\t12.0\t8.0\t1.0\t5.0\n+961\t10\t3\t0.4258\t42.57\t12277166\t2.0\t11.0\t2.0\t7.0\t10.0\n+962\t10\t3\t0.4458\t44.57\t13011478\t1.48\t11.0\t3.0\t7.0\t11.0\n+963\t10\t4\t0.4606\t46.05\t13554868\t2.0\t65.0\t13.0\t46.0\t211.0\n+964\t10\t4\t0.4806\t48.05\t31923673\t2.0\t14.0\t6.0\t6.0\t68.0\n+965\t10\t4\t0.5006\t50.05\t50292478\t2.0\t15.0\t8.0\t5.0\t124.0\n+966\t10\t4\t0.5206\t52.05\t68661284\t0.94\t29.0\t9.0\t14.0\t93.0\n+967\t10\t5\t0.5300\t52.99\t77294622\t2.0\t58.0\t26.0\t22.0\t48.0\n+968\t10\t5\t0.5500\t54.99\t81739358\t2.0\t18.0\t11.0\t3.0\t77.0\n+969\t10\t5\t0.5700\t56.99\t86184094\t2.0\t17.0\t8.0\t7.0\t60.0\n+970\t10\t5\t0.5900\t58.99\t90628830\t2.0\t4.0\t2.0\t2.0\t31.0\n+971\t10\t5\t0.6100\t60.99\t95073566\t2.0\t10.0\t5.0\t4.0\t54.0\n+972\t10\t5\t0.6300\t62.99\t99518301\t2.0\t6.0\t2.0\t3.0\t50.0\n+973\t10\t5\t0.6500\t64.99\t103963037\t2.0\t7.0\t4.0\t0\t60.0\n+974\t10\t5\t0.6700\t66.99\t108407773\t2.0\t2.0\t1.0\t0\t53.0\n+975\t10\t5\t0.6900\t68.99\t112852509\t2.0\t11.0\t6.0\t5.0\t53.0\n+976\t10\t5\t0.7100\t70.99\t117297245\t2.0\t10.0\t4.0\t4.0\t80.0\n+977\t10\t5\t0.7300\t72.99\t121741981\t2.0\t21.0\t10.0\t4.0\t94.0\n+978\t10\t5\t0.7500\t74.99\t126186717\t0.18\t12.0\t8.0\t2.0\t9.0\n+979\t10\t6\t0.7518\t75.17\t126586743\t2.0\t56.0\t23.0\t18.0\t40.0\n+980\t10\t6\t0.7718\t77.17\t127958220\t2.0\t18.0\t9.0\t5.0\t33.0\n+981\t10\t6\t0.7918\t79.17\t129329697\t2.0\t6.0\t3.0\t2.0\t39.0\n+982\t10\t6\t0.8118\t81.17\t130701174\t0.38\t7.0\t2.0\t3.0\t7.0\n+983\t10\t7\t0.8156\t81.55\t130961755\t2.0\t20.0\t5.0\t11.0\t25.0\n+984\t10\t7\t0.8356\t83.55\t132356414\t2.0\t6.0\t1.0\t3.0\t37.0\n+985\t10\t7\t0.8556\t85.55\t133751073\t2.0\t20.0\t10.0\t10.0\t44.0\n+986\t10\t7\t0.8756\t87.55\t135145732\t2.0\t23.0\t4.0\t14.0\t26.0\n+987\t10\t7\t0.8956\t89.55\t136540391\t1.07\t30.0\t0\t26.0\t15.0\n+988\t10\t8\t0.9063\t90.62\t137286534\t2.0\t189.0\t3.0\t165.0\t5.0\n+989\t10\t8\t0.9263\t92.62\t137578907\t2.0\t36.0\t0\t29.0\t6.0\n+990\t10\t8\t0.9463\t94.62\t137871280\t2.0\t15.0\t2.0\t13.0\t5.0\n+991\t10\t8\t0.9663\t96.62\t138163653\t2.0\t16.0\t1.0\t12.0\t10.0\n+992\t10\t8\t0.9863\t98.62\t138456026\t0.05\t6.0\t1.0\t4.0\t0\n+993\t10\t9\t0.9868\t98.67\t138463335\t2.0\t25.0\t0\t21.0\t13.0\n+994\t10\t9\t1.0068\t100.67\t138982567\t2.0\t8.0\t2.0\t6.0\t8.0\n+995\t10\t9\t1.0268\t102.67\t139501799\t1.93\t14.0\t0\t12.0\t15.0\n+996\t10\t10\t1.0461\t104.6\t140002858\t2.0\t56.0\t8.0\t41.0\t13.0\n+997\t10\t10\t1.0661\t106.6\t140522090\t2.0\t15.0\t5.0\t9.0\t16.0\n+998\t10\t10\t1.0861\t108.6\t141041322\t2.0\t26.0\t7.0\t16.0\t16.0\n+999\t10\t10\t1.1061\t110.6\t141560554\t2.0\t19.0\t4.0\t12.0\t34.0\n+1000\t10\t10\t1.1261\t112.6\t142079786\t2.0\t28.0\t4.0\t19.0\t25.0\n+1001\t10\t10\t1.1461\t114.6\t142599018\t2.0\t41.0\t2.0\t32.0\t27.0\n+1002\t10\t10\t1.1661\t116.6\t143118250\t1.03\t36.0\t4.0\t27.0\t14.0\n+1003\t10\t11\t1.1764\t117.63\t143385654\t2.0\t128.0\t1.0\t110.0\t27.0\n+1004\t10\t11\t1.1964\t119.63\t143836329\t2.0\t54.0\t4.0\t45.0\t9.0\n+1005\t10\t11\t1.2164\t121.63\t144287005\t2.0\t34.0\t0\t30.0\t24.0\n+1006\t10\t11\t1.2364\t123.63\t144737680\t2.0\t17.0\t0\t12.0\t14.0\n+1007\t10\t11\t1.2564\t125.63\t145188355\t2.0\t11.0\t2.0\t7.0\t12.0\n+1008\t10\t11\t1.2764\t127.63\t145639031\t2.0\t10.0\t2.0\t8.0\t8.0\n+1009\t10\t11\t1.2964\t129.63\t146089706\t0.9\t10.0\t3.0\t6.0\t9.0\n+1010\t10\t12\t1.3054\t130.53\t146292510\t2.0\t27.0\t2.0\t17.0\t21.0\n+1011\t10\t12\t1.3254\t132.53\t146699702\t2.0\t9.0\t6.0\t2.0\t12.0\n+1012\t10\t12\t1.3454\t134.53\t147106895\t2.0\t13.0\t6.0\t6.0\t36.0\n+1013\t10\t12\t1.3654\t136.53\t147514087\t2.0\t7.0\t2.0\t4.0\t24.0\n+1014\t10\t12\t1.3854\t138.53\t147921279\t2.0\t1.0\t0\t1.0\t25.0\n+1015\t10\t12\t1.4054\t140.53\t148328472\t2.0\t9.0\t2.0\t6.0\t28.0\n+1016\t10\t12\t1.4254\t142.53\t148735664\t2.0\t19.0\t3.0\t12.0\t29.0\n+1017\t10\t12\t1.4454\t144.53\t149142856\t2.0\t52.0\t4.0\t40.0\t5.0\n+1018\t10\t12\t1.4654\t146.53\t149550049\t0.95\t125.0\t9.0\t88.0\t9.0\n+1019\t10\t13\t1.4749\t147.48\t149743465\t0\t0\t0\t0\t0\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/frequency_summary.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/frequency_summary.txt Fri Mar 18 05:26:20 2016 -0400
b
@@ -0,0 +1,11 @@
+Total number of eQTLs (all) 20206
+Total number of cis-eQTLs 4480
+Total number of trans-eQTLs 12539
+Total number of genes 31036
+Total number of cM 1861.57
+Expected number of eQTL per cM (all) 10.85
+Expected number of cis-eQTL per cM 2.41
+Expected number of trans-eQTL per cM 6.74
+Expected number of genes per cM 16.67
+User specified number of permutations 10
+Number of intervals per sliding window 2
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/sliding_frequency.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/sliding_frequency.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,844 @@\n+sliding.id\tchr\tsliding.cM\tsliding.all.eQTL\tsliding.cis.eQTL\tsliding.trans.eQTL\tsliding.genes\tsliding.all.eQTL/cM\tsliding.cis.eQTL/cM\tsliding.trans.eQTL/cM\tsliding.genes/cM\n+1\t1\t4.0\t50.0\t8.0\t33.0\t46.0\t12.5\t2.0\t8.25\t11.5\n+2\t1\t4.0\t17.0\t5.0\t10.0\t63.0\t4.25\t1.25\t2.5\t15.75\n+3\t1\t5.53\t51.0\t17.0\t29.0\t57.0\t9.22\t3.07\t5.24\t10.31\n+4\t1\t4.0\t44.0\t14.0\t24.0\t30.0\t11.0\t3.5\t6.0\t7.5\n+5\t1\t4.0\t12.0\t4.0\t7.0\t29.0\t3.0\t1.0\t1.75\t7.25\n+6\t1\t4.0\t12.0\t5.0\t6.0\t36.0\t3.0\t1.25\t1.5\t9.0\n+7\t1\t4.0\t13.0\t6.0\t4.0\t34.0\t3.25\t1.5\t1.0\t8.5\n+8\t1\t5.24\t41.0\t7.0\t29.0\t41.0\t7.82\t1.34\t5.53\t7.82\n+9\t1\t4.0\t29.0\t5.0\t21.0\t53.0\t7.25\t1.25\t5.25\t13.25\n+10\t1\t4.0\t9.0\t3.0\t6.0\t58.0\t2.25\t0.75\t1.5\t14.5\n+11\t1\t4.0\t8.0\t2.0\t5.0\t54.0\t2.0\t0.5\t1.25\t13.5\n+12\t1\t4.0\t6.0\t3.0\t1.0\t35.0\t1.5\t0.75\t0.25\t8.75\n+13\t1\t4.0\t6.0\t3.0\t1.0\t22.0\t1.5\t0.75\t0.25\t5.5\n+14\t1\t4.0\t5.0\t1.0\t3.0\t26.0\t1.25\t0.25\t0.75\t6.5\n+15\t1\t4.0\t9.0\t3.0\t4.0\t26.0\t2.25\t0.75\t1.0\t6.5\n+16\t1\t4.0\t20.0\t5.0\t8.0\t25.0\t5.0\t1.25\t2.0\t6.25\n+17\t1\t5.94\t124.0\t15.0\t86.0\t59.0\t20.88\t2.53\t14.48\t9.93\n+18\t1\t4.0\t98.0\t11.0\t71.0\t28.0\t24.5\t2.75\t17.75\t7.0\n+19\t1\t5.91\t31.0\t5.0\t19.0\t55.0\t5.25\t0.85\t3.21\t9.31\n+20\t1\t4.0\t19.0\t4.0\t9.0\t64.0\t4.75\t1.0\t2.25\t16.0\n+21\t1\t4.11\t20.0\t5.0\t9.0\t61.0\t4.87\t1.22\t2.19\t14.84\n+22\t1\t4.0\t21.0\t7.0\t9.0\t57.0\t5.25\t1.75\t2.25\t14.25\n+23\t1\t4.48\t30.0\t14.0\t13.0\t76.0\t6.7\t3.12\t2.9\t16.96\n+24\t1\t4.0\t20.0\t10.0\t8.0\t96.0\t5.0\t2.5\t2.0\t24.0\n+25\t1\t4.0\t14.0\t10.0\t3.0\t93.0\t3.5\t2.5\t0.75\t23.25\n+26\t1\t4.0\t12.0\t8.0\t4.0\t93.0\t3.0\t2.0\t1.0\t23.25\n+27\t1\t4.0\t6.0\t3.0\t3.0\t103.0\t1.5\t0.75\t0.75\t25.75\n+28\t1\t4.0\t6.0\t3.0\t3.0\t69.0\t1.5\t0.75\t0.75\t17.25\n+29\t1\t4.0\t11.0\t7.0\t2.0\t72.0\t2.75\t1.75\t0.5\t18.0\n+30\t1\t4.0\t20.0\t14.0\t3.0\t91.0\t5.0\t3.5\t0.75\t22.75\n+31\t1\t4.76\t41.0\t22.0\t14.0\t93.0\t8.61\t4.62\t2.94\t19.54\n+32\t1\t4.0\t32.0\t12.0\t14.0\t58.0\t8.0\t3.0\t3.5\t14.5\n+33\t1\t4.0\t13.0\t5.0\t5.0\t76.0\t3.25\t1.25\t1.25\t19.0\n+34\t1\t4.0\t9.0\t4.0\t2.0\t81.0\t2.25\t1.0\t0.5\t20.25\n+35\t1\t4.0\t8.0\t4.0\t2.0\t70.0\t2.0\t1.0\t0.5\t17.5\n+36\t1\t5.9\t47.0\t13.0\t25.0\t94.0\t7.97\t2.2\t4.24\t15.93\n+37\t1\t4.0\t42.0\t10.0\t22.0\t70.0\t10.5\t2.5\t5.5\t17.5\n+38\t1\t4.0\t10.0\t4.0\t5.0\t71.0\t2.5\t1.0\t1.25\t17.75\n+39\t1\t4.0\t10.0\t5.0\t3.0\t57.0\t2.5\t1.25\t0.75\t14.25\n+40\t1\t4.0\t12.0\t9.0\t1.0\t60.0\t3.0\t2.25\t0.25\t15.0\n+41\t1\t4.0\t11.0\t8.0\t3.0\t69.0\t2.75\t2.0\t0.75\t17.25\n+42\t1\t4.0\t23.0\t15.0\t6.0\t78.0\t5.75\t3.75\t1.5\t19.5\n+43\t1\t4.23\t91.0\t42.0\t35.0\t90.0\t21.51\t9.93\t8.27\t21.28\n+44\t1\t4.0\t81.0\t38.0\t34.0\t73.0\t20.25\t9.5\t8.5\t18.25\n+45\t1\t4.0\t27.0\t14.0\t8.0\t64.0\t6.75\t3.5\t2.0\t16.0\n+46\t1\t4.0\t14.0\t6.0\t4.0\t87.0\t3.5\t1.5\t1.0\t21.75\n+47\t1\t4.0\t11.0\t4.0\t3.0\t75.0\t2.75\t1.0\t0.75\t18.75\n+48\t1\t4.0\t11.0\t5.0\t3.0\t48.0\t2.75\t1.25\t0.75\t12.0\n+49\t1\t4.0\t10.0\t7.0\t3.0\t54.0\t2.5\t1.75\t0.75\t13.5\n+50\t1\t4.0\t12.0\t5.0\t5.0\t61.0\t3.0\t1.25\t1.25\t15.25\n+51\t1\t4.6\t48.0\t8.0\t33.0\t65.0\t10.43\t1.74\t7.17\t14.13\n+52\t1\t4.0\t41.0\t7.0\t28.0\t50.0\t10.25\t1.75\t7.0\t12.5\n+53\t1\t4.0\t7.0\t0.0\t4.0\t47.0\t1.75\t0.0\t1.0\t11.75\n+54\t1\t4.0\t4.0\t0.0\t2.0\t50.0\t1.0\t0.0\t0.5\t12.5\n+55\t1\t4.0\t7.0\t1.0\t3.0\t44.0\t1.75\t0.25\t0.75\t11.0\n+56\t1\t4.0\t15.0\t3.0\t8.0\t44.0\t3.75\t0.75\t2.0\t11.0\n+57\t1\t4.0\t13.0\t4.0\t7.0\t51.0\t3.25\t1.0\t1.75\t12.75\n+58\t1\t4.13\t65.0\t24.0\t25.0\t156.0\t15.74\t5.81\t6.05\t37.77\n+59\t1\t4.0\t63.0\t26.0\t22.0\t245.0\t15.75\t6.5\t5.5\t61.25\n+60\t1\t4.0\t27.0\t15.0\t9.0\t188.0\t6.75\t3.75\t2.25\t47.0\n+61\t1\t4.0\t21.0\t11.0\t7.0\t116.0\t5.25\t2.75\t1.75\t29.0\n+62\t1\t4.0\t19.0\t9.0\t5.0\t105.0\t4.75\t2.25\t1.25\t26.25\n+63\t1\t4.0\t20.0\t9.0\t5.0\t172.0\t5.0\t2.25\t1.25\t43.0\n+64\t1\t4.0\t26.0\t12.0\t8.0\t216.0\t6.5\t3.0\t2.0\t54.0\n+65\t1\t5.86\t93.0\t36.0\t38.0\t318.0\t15.87\t6.14\t6.48\t54.27\n+66\t1\t4.0\t82.0\t31.0\t36.0\t52.0\t20.5\t7.75\t9.0\t13.0\n+67\t1\t4.0\t36.0\t17.0\t16.0\t25.0\t9.0\t4.25\t4.0\t6.25\n+68\t1\t4.28\t53.0\t20.0\t27.0\t62.0\t12.38\t4.67\t6.31\t14.49\n+69\t1\t4.0\t37.0\t13.0\t20.0\t76.0\t9.25\t3.25\t5.0\t19.0\n+70\t1\t4.0\t37.0\t19.0\t11.0\t62.0\t9.25\t4.75\t2.75\t15.5\n+71\t1\t4.0\t44.0\t20.0\t17.0\t72.0\t11.0\t5.0\t4.25\t18.0\n+72\t1\t4.0\t31.0\t6.0\t22.0\t87.0\t7.75\t1.5\t5.5\t21.75\n+73\t1\t4.0\t50.0\t5.0\t36.0\t75.0\t12.5\t1.25\t9.0\t18.75\n+74\t1\t4.0\t109.0\t13.0\t79.0\t63.0\t27.25\t3.25\t19.75\t15.75\n+75\t1\t5.31\t232.0\t17.0\t186.0\t92.0\t43.69\t3.2\t35.03\t17.33\n+76\t1\t4.0\t96.0\t7.0\t74.0\t60.0\t24.0\t1.75\t18.5\t15.0\n+77\t1\t4.0\t19.0\t3.0\t14.0\t66.0\t4.75\t0.75\t3.5\t16.5\n+78\t1\t4.0\t11.0\t1.0\t9.0\t65.0\t2.75\t0.25\t2.25\t16.25\n+79\t1\t4.0\t12.0\t3.0\t7.0\t56.0\t3.0\t0.75\t1.7'..b'\n+765\t9\t4.0\t15.0\t2.0\t10.0\t39.0\t3.75\t0.5\t2.5\t9.75\n+766\t9\t4.0\t12.0\t3.0\t6.0\t41.0\t3.0\t0.75\t1.5\t10.25\n+767\t9\t4.0\t8.0\t2.0\t3.0\t27.0\t2.0\t0.5\t0.75\t6.75\n+768\t9\t5.6\t19.0\t2.0\t13.0\t27.0\t3.39\t0.36\t2.32\t4.82\n+769\t9\t4.0\t13.0\t3.0\t9.0\t30.0\t3.25\t0.75\t2.25\t7.5\n+770\t9\t4.0\t7.0\t3.0\t3.0\t39.0\t1.75\t0.75\t0.75\t9.75\n+771\t9\t4.0\t9.0\t3.0\t5.0\t22.0\t2.25\t0.75\t1.25\t5.5\n+772\t9\t4.0\t14.0\t4.0\t7.0\t27.0\t3.5\t1.0\t1.75\t6.75\n+773\t9\t4.0\t9.0\t3.0\t3.0\t29.0\t2.25\t0.75\t0.75\t7.25\n+774\t9\t4.0\t13.0\t6.0\t4.0\t16.0\t3.25\t1.5\t1.0\t4.0\n+775\t9\t4.0\t46.0\t12.0\t28.0\t16.0\t11.5\t3.0\t7.0\t4.0\n+776\t9\t4.4\t214.0\t25.0\t156.0\t19.0\t48.64\t5.68\t35.45\t4.32\n+777\t10\t4.0\t132.0\t17.0\t98.0\t29.0\t33.0\t4.25\t24.5\t7.25\n+778\t10\t4.0\t109.0\t6.0\t90.0\t18.0\t27.25\t1.5\t22.5\t4.5\n+779\t10\t4.0\t95.0\t4.0\t78.0\t6.0\t23.75\t1.0\t19.5\t1.5\n+780\t10\t4.0\t57.0\t2.0\t47.0\t18.0\t14.25\t0.5\t11.75\t4.5\n+781\t10\t4.0\t63.0\t1.0\t47.0\t20.0\t15.75\t0.25\t11.75\t5.0\n+782\t10\t4.0\t72.0\t2.0\t55.0\t20.0\t18.0\t0.5\t13.75\t5.0\n+783\t10\t5.02\t114.0\t2.0\t96.0\t26.0\t22.71\t0.4\t19.12\t5.18\n+784\t10\t4.0\t65.0\t1.0\t56.0\t22.0\t16.25\t0.25\t14.0\t5.5\n+785\t10\t4.0\t16.0\t0.0\t15.0\t22.0\t4.0\t0.0\t3.75\t5.5\n+786\t10\t4.0\t17.0\t0.0\t13.0\t14.0\t4.25\t0.0\t3.25\t3.5\n+787\t10\t4.0\t11.0\t1.0\t7.0\t14.0\t2.75\t0.25\t1.75\t3.5\n+788\t10\t4.0\t5.0\t3.0\t2.0\t12.0\t1.25\t0.75\t0.5\t3.0\n+789\t10\t4.0\t5.0\t2.0\t2.0\t11.0\t1.25\t0.5\t0.5\t2.75\n+790\t10\t4.0\t10.0\t2.0\t5.0\t7.0\t2.5\t0.5\t1.25\t1.75\n+791\t10\t5.55\t39.0\t6.0\t23.0\t23.0\t7.03\t1.08\t4.14\t4.14\n+792\t10\t4.0\t29.0\t5.0\t19.0\t24.0\t7.25\t1.25\t4.75\t6.0\n+793\t10\t4.0\t16.0\t7.0\t8.0\t36.0\t4.0\t1.75\t2.0\t9.0\n+794\t10\t4.0\t13.0\t6.0\t5.0\t33.0\t3.25\t1.5\t1.25\t8.25\n+795\t10\t4.0\t19.0\t11.0\t4.0\t12.0\t4.75\t2.75\t1.0\t3.0\n+796\t10\t4.0\t23.0\t10.0\t8.0\t15.0\t5.75\t2.5\t2.0\t3.75\n+797\t10\t5.48\t87.0\t18.0\t60.0\t232.0\t15.88\t3.28\t10.95\t42.34\n+798\t10\t4.0\t79.0\t19.0\t52.0\t279.0\t19.75\t4.75\t13.0\t69.75\n+799\t10\t4.0\t29.0\t14.0\t11.0\t192.0\t7.25\t3.5\t2.75\t48.0\n+800\t10\t4.94\t102.0\t43.0\t41.0\t265.0\t20.65\t8.7\t8.3\t53.64\n+801\t10\t4.0\t76.0\t37.0\t25.0\t125.0\t19.0\t9.25\t6.25\t31.25\n+802\t10\t4.0\t35.0\t19.0\t10.0\t137.0\t8.75\t4.75\t2.5\t34.25\n+803\t10\t4.0\t21.0\t10.0\t9.0\t91.0\t5.25\t2.5\t2.25\t22.75\n+804\t10\t4.0\t14.0\t7.0\t6.0\t85.0\t3.5\t1.75\t1.5\t21.25\n+805\t10\t4.0\t16.0\t7.0\t7.0\t104.0\t4.0\t1.75\t1.75\t26.0\n+806\t10\t4.0\t13.0\t6.0\t3.0\t110.0\t3.25\t1.5\t0.75\t27.5\n+807\t10\t4.0\t9.0\t5.0\t0.0\t113.0\t2.25\t1.25\t0.0\t28.25\n+808\t10\t4.0\t13.0\t7.0\t5.0\t106.0\t3.25\t1.75\t1.25\t26.5\n+809\t10\t4.0\t21.0\t10.0\t9.0\t133.0\t5.25\t2.5\t2.25\t33.25\n+810\t10\t4.0\t31.0\t14.0\t8.0\t174.0\t7.75\t3.5\t2.0\t43.5\n+811\t10\t4.18\t89.0\t41.0\t24.0\t143.0\t21.29\t9.81\t5.74\t34.21\n+812\t10\t4.0\t74.0\t32.0\t23.0\t73.0\t18.5\t8.0\t5.75\t18.25\n+813\t10\t4.0\t24.0\t12.0\t7.0\t72.0\t6.0\t3.0\t1.75\t18.0\n+814\t10\t4.38\t33.0\t10.0\t16.0\t71.0\t7.53\t2.28\t3.65\t16.21\n+815\t10\t4.0\t26.0\t6.0\t14.0\t62.0\t6.5\t1.5\t3.5\t15.5\n+816\t10\t4.0\t26.0\t11.0\t13.0\t81.0\t6.5\t2.75\t3.25\t20.25\n+817\t10\t4.0\t43.0\t14.0\t24.0\t70.0\t10.75\t3.5\t6.0\t17.5\n+818\t10\t5.07\t242.0\t7.0\t205.0\t46.0\t47.73\t1.38\t40.43\t9.07\n+819\t10\t4.0\t225.0\t3.0\t194.0\t11.0\t56.25\t0.75\t48.5\t2.75\n+820\t10\t4.0\t51.0\t2.0\t42.0\t11.0\t12.75\t0.5\t10.5\t2.75\n+821\t10\t4.0\t31.0\t3.0\t25.0\t15.0\t7.75\t0.75\t6.25\t3.75\n+822\t10\t4.05\t47.0\t2.0\t37.0\t23.0\t11.6\t0.49\t9.14\t5.68\n+823\t10\t4.0\t33.0\t2.0\t27.0\t21.0\t8.25\t0.5\t6.75\t5.25\n+824\t10\t5.93\t78.0\t10.0\t59.0\t36.0\t13.15\t1.69\t9.95\t6.07\n+825\t10\t4.0\t71.0\t13.0\t50.0\t29.0\t17.75\t3.25\t12.5\t7.25\n+826\t10\t4.0\t41.0\t12.0\t25.0\t32.0\t10.25\t3.0\t6.25\t8.0\n+827\t10\t4.0\t45.0\t11.0\t28.0\t50.0\t11.25\t2.75\t7.0\t12.5\n+828\t10\t4.0\t47.0\t8.0\t31.0\t59.0\t11.75\t2.0\t7.75\t14.75\n+829\t10\t4.0\t69.0\t6.0\t51.0\t52.0\t17.25\t1.5\t12.75\t13.0\n+830\t10\t5.03\t205.0\t7.0\t169.0\t68.0\t40.76\t1.39\t33.6\t13.52\n+831\t10\t4.0\t182.0\t5.0\t155.0\t36.0\t45.5\t1.25\t38.75\t9.0\n+832\t10\t4.0\t88.0\t4.0\t75.0\t33.0\t22.0\t1.0\t18.75\t8.25\n+833\t10\t4.0\t51.0\t0.0\t42.0\t38.0\t12.75\t0.0\t10.5\t9.5\n+834\t10\t4.0\t28.0\t2.0\t19.0\t26.0\t7.0\t0.5\t4.75\t6.5\n+835\t10\t4.0\t21.0\t4.0\t15.0\t20.0\t5.25\t1.0\t3.75\t5.0\n+836\t10\t4.9\t47.0\t7.0\t31.0\t38.0\t9.59\t1.43\t6.33\t7.76\n+837\t10\t4.0\t36.0\t8.0\t19.0\t33.0\t9.0\t2.0\t4.75\t8.25\n+838\t10\t4.0\t22.0\t12.0\t8.0\t48.0\t5.5\t3.0\t2.0\t12.0\n+839\t10\t4.0\t20.0\t8.0\t10.0\t60.0\t5.0\t2.0\t2.5\t15.0\n+840\t10\t4.0\t8.0\t2.0\t5.0\t49.0\t2.0\t0.5\t1.25\t12.25\n+841\t10\t4.0\t10.0\t2.0\t7.0\t53.0\t2.5\t0.5\t1.75\t13.25\n+842\t10\t4.0\t28.0\t5.0\t18.0\t57.0\t7.0\t1.25\t4.5\t14.25\n+843\t10\t4.95\t196.0\t16.0\t140.0\t43.0\t39.6\t3.23\t28.28\t8.69\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/sliding_lookup.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/sliding_lookup.txt Fri Mar 18 05:26:20 2016 -0400
[
b'@@ -0,0 +1,843 @@\n+1\t[1, 2]\n+2\t[2, 3]\n+3\t[3, 4, 5]\n+4\t[5, 6]\n+5\t[6, 7]\n+6\t[7, 8]\n+7\t[8, 9]\n+8\t[9, 10, 11]\n+9\t[11, 12]\n+10\t[12, 13]\n+11\t[13, 14]\n+12\t[14, 15]\n+13\t[15, 16]\n+14\t[16, 17]\n+15\t[17, 18]\n+16\t[18, 19]\n+17\t[19, 20, 21]\n+18\t[21, 22]\n+19\t[22, 23, 24]\n+20\t[24, 25]\n+21\t[25, 26, 27]\n+22\t[27, 28]\n+23\t[28, 29, 30]\n+24\t[30, 31]\n+25\t[31, 32]\n+26\t[32, 33]\n+27\t[33, 34]\n+28\t[34, 35]\n+29\t[35, 36]\n+30\t[36, 37]\n+31\t[37, 38, 39]\n+32\t[39, 40]\n+33\t[40, 41]\n+34\t[41, 42]\n+35\t[42, 43]\n+36\t[43, 44, 45]\n+37\t[45, 46]\n+38\t[46, 47]\n+39\t[47, 48]\n+40\t[48, 49]\n+41\t[49, 50]\n+42\t[50, 51]\n+43\t[51, 52, 53]\n+44\t[53, 54]\n+45\t[54, 55]\n+46\t[55, 56]\n+47\t[56, 57]\n+48\t[57, 58]\n+49\t[58, 59]\n+50\t[59, 60]\n+51\t[60, 61, 62]\n+52\t[62, 63]\n+53\t[63, 64]\n+54\t[64, 65]\n+55\t[65, 66]\n+56\t[66, 67]\n+57\t[67, 68]\n+58\t[68, 69, 70]\n+59\t[70, 71]\n+60\t[71, 72]\n+61\t[72, 73]\n+62\t[73, 74]\n+63\t[74, 75]\n+64\t[75, 76]\n+65\t[76, 77, 78]\n+66\t[78, 79]\n+67\t[79, 80]\n+68\t[80, 81, 82]\n+69\t[82, 83]\n+70\t[83, 84]\n+71\t[84, 85]\n+72\t[85, 86]\n+73\t[86, 87]\n+74\t[87, 88]\n+75\t[88, 89, 90]\n+76\t[90, 91]\n+77\t[91, 92]\n+78\t[92, 93]\n+79\t[93, 94]\n+80\t[94, 95]\n+81\t[95, 96]\n+82\t[96, 97, 98]\n+83\t[98, 99]\n+84\t[99, 100]\n+85\t[100, 101]\n+86\t[101, 102, 103]\n+87\t[103, 104]\n+88\t[104, 105]\n+89\t[105, 106, 107]\n+90\t[107, 108]\n+91\t[108, 109]\n+92\t[109, 110]\n+93\t[110, 111, 112]\n+94\t[112, 113]\n+95\t[113, 114]\n+96\t[114, 115]\n+97\t[115, 116]\n+98\t[116, 117]\n+99\t[117, 118]\n+100\t[118, 119]\n+101\t[119, 120]\n+102\t[120, 121]\n+103\t[121, 122]\n+104\t[122, 123]\n+105\t[123, 124]\n+106\t[124, 125]\n+107\t[125, 126]\n+108\t[126, 127]\n+109\t[127, 128, 129]\n+110\t[129, 130]\n+111\t[130, 131]\n+112\t[131, 132]\n+113\t[132, 133]\n+114\t[133, 134]\n+115\t[134, 135]\n+116\t[135, 136]\n+117\t[136, 137]\n+118\t[137, 138, 139]\n+119\t[139, 140]\n+120\t[140, 141]\n+121\t[141, 142]\n+122\t[142, 143, 144]\n+123\t[144, 145]\n+124\t[145, 146]\n+125\t[146, 147]\n+126\t[147, 148]\n+127\t[148, 149, 150]\n+128\t[150, 151]\n+129\t[151, 152]\n+130\t[152, 153]\n+131\t[153, 154]\n+132\t[154, 155]\n+133\t[155, 156]\n+134\t[156, 157]\n+135\t[157, 158]\n+136\t[158, 159]\n+137\t[159, 160]\n+138\t[160, 161, 162]\n+139\t[162, 163, 164]\n+140\t[164, 165]\n+141\t[165, 166]\n+142\t[166, 167]\n+143\t[167, 168]\n+144\t[168, 169]\n+145\t[169, 170]\n+146\t[170, 171, 172]\n+147\t[172, 173]\n+148\t[173, 174]\n+149\t[174, 175, 176]\n+150\t[178, 179]\n+151\t[179, 180]\n+152\t[180, 181]\n+153\t[181, 182]\n+154\t[182, 183]\n+155\t[183, 184, 185]\n+156\t[185, 186]\n+157\t[186, 187]\n+158\t[187, 188]\n+159\t[188, 189]\n+160\t[189, 190]\n+161\t[190, 191]\n+162\t[191, 192]\n+163\t[192, 193]\n+164\t[193, 194]\n+165\t[194, 195]\n+166\t[195, 196]\n+167\t[196, 197]\n+168\t[197, 198]\n+169\t[198, 199]\n+170\t[199, 200]\n+171\t[200, 201]\n+172\t[201, 202]\n+173\t[202, 203]\n+174\t[203, 204]\n+175\t[204, 205]\n+176\t[205, 206]\n+177\t[206, 207]\n+178\t[207, 208]\n+179\t[208, 209]\n+180\t[209, 210, 211]\n+181\t[211, 212]\n+182\t[212, 213]\n+183\t[213, 214]\n+184\t[214, 215]\n+185\t[215, 216]\n+186\t[216, 217]\n+187\t[217, 218]\n+188\t[218, 219, 220]\n+189\t[220, 221]\n+190\t[221, 222]\n+191\t[222, 223]\n+192\t[223, 224, 225]\n+193\t[225, 226]\n+194\t[226, 227]\n+195\t[227, 228]\n+196\t[228, 229]\n+197\t[229, 230, 231]\n+198\t[231, 232]\n+199\t[232, 233]\n+200\t[233, 234]\n+201\t[234, 235]\n+202\t[235, 236, 237]\n+203\t[237, 238]\n+204\t[238, 239, 240]\n+205\t[240, 241]\n+206\t[241, 242]\n+207\t[242, 243]\n+208\t[243, 244]\n+209\t[244, 245]\n+210\t[245, 246]\n+211\t[246, 247, 248]\n+212\t[248, 249]\n+213\t[249, 250]\n+214\t[250, 251]\n+215\t[251, 252, 253]\n+216\t[253, 254]\n+217\t[254, 255]\n+218\t[255, 256]\n+219\t[256, 257, 258]\n+220\t[258, 259]\n+221\t[259, 260]\n+222\t[260, 261]\n+223\t[261, 262]\n+224\t[262, 263]\n+225\t[263, 264]\n+226\t[264, 265]\n+227\t[265, 266, 267, 268]\n+228\t[270, 271]\n+229\t[271, 272]\n+230\t[272, 273]\n+231\t[273, 274]\n+232\t[274, 275, 276]\n+233\t[276, 277]\n+234\t[277, 278]\n+235\t[278, 279]\n+236\t[279, 280]\n+237\t[280, 281]\n+238\t[281, 282, 283]\n+239\t[283, 284]\n+240\t[284, 285]\n+241\t[285, 286]\n+242\t[286, 287]\n+243\t[287, 288]\n+244\t[288, 289]\n+245\t[289, 290]\n+246\t[290, 291, 292]\n+247\t[292, 293]\n+248\t[293, 294]\n+249\t[294, 295]\n+250\t[295, 296, 297]\n+251\t[297, 298]\n+252\t[298, 299]\n+253\t[299, 300]\n+254\t[300, 301]\n+255\t[301, 30'..b' 735]\n+610\t[735, 736, 737]\n+611\t[737, 738]\n+612\t[738, 739, 740]\n+613\t[740, 741]\n+614\t[741, 742]\n+615\t[742, 743]\n+616\t[743, 744]\n+617\t[744, 745, 746]\n+618\t[746, 747]\n+619\t[747, 748]\n+620\t[748, 749, 750]\n+621\t[750, 751]\n+622\t[751, 752]\n+623\t[752, 753]\n+624\t[753, 754]\n+625\t[754, 755]\n+626\t[755, 756, 757]\n+627\t[757, 758]\n+628\t[758, 759]\n+629\t[759, 760]\n+630\t[760, 761]\n+631\t[761, 762, 763]\n+632\t[763, 764]\n+633\t[764, 765]\n+634\t[765, 766]\n+635\t[766, 767]\n+636\t[767, 768]\n+637\t[768, 769]\n+638\t[769, 770]\n+639\t[770, 771]\n+640\t[771, 772, 773]\n+641\t[773, 774, 775]\n+642\t[777, 778]\n+643\t[778, 779]\n+644\t[779, 780]\n+645\t[780, 781]\n+646\t[781, 782, 783]\n+647\t[783, 784]\n+648\t[784, 785]\n+649\t[785, 786]\n+650\t[786, 787]\n+651\t[787, 788]\n+652\t[788, 789]\n+653\t[789, 790, 791]\n+654\t[791, 792]\n+655\t[792, 793]\n+656\t[793, 794]\n+657\t[794, 795]\n+658\t[795, 796]\n+659\t[796, 797, 798]\n+660\t[798, 799]\n+661\t[799, 800]\n+662\t[800, 801]\n+663\t[801, 802]\n+664\t[802, 803, 804]\n+665\t[804, 805]\n+666\t[805, 806]\n+667\t[806, 807]\n+668\t[807, 808]\n+669\t[808, 809]\n+670\t[809, 810]\n+671\t[810, 811]\n+672\t[811, 812, 813]\n+673\t[813, 814]\n+674\t[814, 815]\n+675\t[815, 816]\n+676\t[816, 817]\n+677\t[817, 818]\n+678\t[818, 819]\n+679\t[819, 820, 821]\n+680\t[821, 822]\n+681\t[822, 823]\n+682\t[823, 824]\n+683\t[824, 825]\n+684\t[825, 826]\n+685\t[826, 827, 828]\n+686\t[828, 829, 830]\n+687\t[830, 831, 832]\n+688\t[832, 833]\n+689\t[833, 834]\n+690\t[834, 835]\n+691\t[835, 836]\n+692\t[836, 837]\n+693\t[837, 838]\n+694\t[838, 839, 840]\n+695\t[840, 841]\n+696\t[841, 842]\n+697\t[842, 843]\n+698\t[843, 844, 845]\n+699\t[845, 846, 847]\n+700\t[847, 848]\n+701\t[848, 849]\n+702\t[849, 850]\n+703\t[850, 851, 852]\n+704\t[854, 855]\n+705\t[855, 856]\n+706\t[856, 857]\n+707\t[857, 858]\n+708\t[858, 859]\n+709\t[859, 860]\n+710\t[860, 861]\n+711\t[861, 862, 863]\n+712\t[863, 864]\n+713\t[864, 865]\n+714\t[865, 866]\n+715\t[866, 867, 868]\n+716\t[868, 869]\n+717\t[869, 870]\n+718\t[870, 871]\n+719\t[871, 872]\n+720\t[872, 873]\n+721\t[873, 874]\n+722\t[874, 875]\n+723\t[875, 876]\n+724\t[876, 877, 878]\n+725\t[878, 879]\n+726\t[879, 880]\n+727\t[880, 881]\n+728\t[881, 882]\n+729\t[882, 883]\n+730\t[883, 884]\n+731\t[884, 885]\n+732\t[885, 886]\n+733\t[886, 887, 888]\n+734\t[888, 889]\n+735\t[889, 890]\n+736\t[890, 891]\n+737\t[891, 892]\n+738\t[892, 893]\n+739\t[893, 894]\n+740\t[894, 895]\n+741\t[895, 896]\n+742\t[896, 897]\n+743\t[897, 898]\n+744\t[898, 899]\n+745\t[899, 900]\n+746\t[900, 901, 902]\n+747\t[902, 903]\n+748\t[903, 904, 905]\n+749\t[905, 906]\n+750\t[906, 907]\n+751\t[907, 908]\n+752\t[908, 909]\n+753\t[909, 910]\n+754\t[910, 911]\n+755\t[911, 912]\n+756\t[912, 913]\n+757\t[913, 914]\n+758\t[914, 915]\n+759\t[915, 916, 917]\n+760\t[917, 918]\n+761\t[918, 919, 920]\n+762\t[920, 921]\n+763\t[921, 922]\n+764\t[922, 923]\n+765\t[923, 924]\n+766\t[924, 925]\n+767\t[925, 926]\n+768\t[926, 927, 928]\n+769\t[928, 929]\n+770\t[929, 930]\n+771\t[930, 931]\n+772\t[931, 932]\n+773\t[932, 933]\n+774\t[933, 934]\n+775\t[934, 935]\n+776\t[935, 936, 937]\n+777\t[939, 940]\n+778\t[940, 941]\n+779\t[941, 942]\n+780\t[942, 943]\n+781\t[943, 944]\n+782\t[944, 945]\n+783\t[945, 946, 947]\n+784\t[947, 948]\n+785\t[948, 949]\n+786\t[949, 950]\n+787\t[950, 951]\n+788\t[951, 952]\n+789\t[952, 953]\n+790\t[953, 954]\n+791\t[954, 955, 956]\n+792\t[956, 957]\n+793\t[957, 958]\n+794\t[958, 959]\n+795\t[959, 960]\n+796\t[960, 961]\n+797\t[961, 962, 963]\n+798\t[963, 964]\n+799\t[964, 965]\n+800\t[965, 966, 967]\n+801\t[967, 968]\n+802\t[968, 969]\n+803\t[969, 970]\n+804\t[970, 971]\n+805\t[971, 972]\n+806\t[972, 973]\n+807\t[973, 974]\n+808\t[974, 975]\n+809\t[975, 976]\n+810\t[976, 977]\n+811\t[977, 978, 979]\n+812\t[979, 980]\n+813\t[980, 981]\n+814\t[981, 982, 983]\n+815\t[983, 984]\n+816\t[984, 985]\n+817\t[985, 986]\n+818\t[986, 987, 988]\n+819\t[988, 989]\n+820\t[989, 990]\n+821\t[990, 991]\n+822\t[991, 992, 993]\n+823\t[993, 994]\n+824\t[994, 995, 996]\n+825\t[996, 997]\n+826\t[997, 998]\n+827\t[998, 999]\n+828\t[999, 1000]\n+829\t[1000, 1001]\n+830\t[1001, 1002, 1003]\n+831\t[1003, 1004]\n+832\t[1004, 1005]\n+833\t[1005, 1006]\n+834\t[1006, 1007]\n+835\t[1007, 1008]\n+836\t[1008, 1009, 1010]\n+837\t[1010, 1011]\n+838\t[1011, 1012]\n+839\t[1012, 1013]\n+840\t[1013, 1014]\n+841\t[1014, 1015]\n+842\t[1015, 1016]\n+843\t[1016, 1017, 1018]\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/input/trans_classification_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/input/trans_classification_test.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,12540 @@\n+gene\tindex\tchr\tstart_marker\tstart_int\tend_marker\tend_int\tpeak_marker\tpeak_int\tpeakLR\trsq\trtsq\tparent_up_reg\tclassification\teQTL_bin\tgene_bin\toverlap_score\tstatus\n+A_92_P033089\t106\t10\t3\t0.4045\t5\t0.6791\t4\t0.5206\t13.0002477\t0.1067186\t0.2802598\t-80.0805117\ttrans\t966\tNA\t0\t.\n+A_92_P031976\t434\t6\t2\t0.0847\t3\t0.2153\t3\t0.1455\t13.000651\t0.0881461\t0.3710748\t502.7692948\ttrans\t616\tNA\t0\t.\n+A_92_P008649\t343\t4\t10\t1.0217\t10\t1.1078\t10\t1.1039\t13.0012249\t0.1168611\t0.3068127\t-101.8310204\ttrans\t454\t422\t0\t.\n+A_92_P004129\t384\t1\t19\t2.1956\t20\t2.4956\t19\t2.3414\t13.0022994\t0.1372476\t0.1985604\t-688.0268455\ttrans\t128\t921\t0\t.\n+A_92_P032943\t267\t9\t7\t1.2023\t8\t1.2277\t8\t1.2052\t13.0026682\t0.0862225\t0.3794662\t278.1351403\ttrans\t917\t37\t0\t.\n+A_92_P002895\t12\t9\t5\t0.7541\t7\t1.0008\t6\t0.9414\t13.0027526\t0.0930497\t0.4398714\t143.1894827\ttrans\t903\t72\t0\t.\n+A_92_P040365\t481\t1\t26\t3.1849\t26\t3.2304\t26\t3.2304\t13.0028129\t0.1384379\t0.3574616\t23.7730182\ttrans\t176\t190\t0\t.\n+A_92_P018433\t132\t3\t7\t0.748\t9\t0.8995\t8\t0.7815\t13.0043828\t0.0626292\t0.5546714\t345.7247206\ttrans\t313\t750\t0\t.\n+A_92_P035857\t518\t1\t21\t2.613\t22\t2.7486\t22\t2.7081\t13.0045279\t0.1591619\t0.4865428\t33.7112026\ttrans\t147\t712\t0\t.\n+A_92_P012578\t170\t1\t18\t1.9588\t19\t2.1583\t19\t2.0214\t13.0045345\t0.0945191\t0.3378131\t-57.7018789\ttrans\t112\t1015\t0\t.\n+A_92_P025134\t214\t6\t15\t1.6569\t16\t1.8776\t15\t1.7631\t13.0045691\t0.1167311\t0.4518913\t215.5135226\ttrans\t703\t433\t0\t.\n+A_92_P037198\t124\t9\t2\t0.2079\t3\t0.4415\t3\t0.3151\t13.0047172\t0.0640671\t0.7350557\t83.9944292\ttrans\t870\t833\t0\t.\n+A_92_P010442\t320\t10\t7\t0.8465\t8\t0.9649\t8\t0.9063\t13.0051077\t0.0980313\t0.3066852\t-332.527382\ttrans\t988\t95\t0\t.\n+A_92_P015247\t311\t6\t4\t0.3093\t5\t0.3966\t5\t0.3587\t13.005418\t0.125825\t0.2141499\t-47.2725585\ttrans\t628\t860\t0\t.\n+A_92_P041648\t351\t4\t3\t0.3035\t3\t0.3589\t3\t0.356\t13.0064326\t0.1153208\t0.2599071\t137.8778955\ttrans\t412\t41\t0\t.\n+A_92_P039569\t352\t8\t6\t0.8226\t10\t1.0608\t7\t0.8332\t13.0066823\t0.1175886\t0.6019598\t-127.2694449\ttrans\t821\t974\t0\t.\n+A_92_P015117\t93\t5\t16\t1.6502\t17\t1.8238\t16\t1.7432\t13.0072436\t0.1204211\t0.3959499\t-302.2973742\ttrans\t590\t811\t0\t.\n+A_92_P002090\t336\t2\t6\t0.9418\t7\t1.0898\t7\t1.0104\t13.0072574\t0.111461\t0.6145661\t-25.0109808\ttrans\t231\t898\t0\t.\n+A_92_P012219\t150\t10\t3\t0.4532\t5\t0.6082\t5\t0.53\t13.0079146\t0.1127018\t0.5864812\t-62.5427459\ttrans\t967\t436\t0\t.\n+A_92_P036063\t519\t1\t10\t1.0693\t11\t1.2418\t11\t1.1271\t13.008592\t0.0949896\t0.3371266\t-148.063877\ttrans\t62\t336\t0\t.\n+A_92_P034129\t182\t8\t7\t0.9025\t9\t1.0199\t9\t0.9932\t13.0095561\t0.1027429\t0.353676\t68.4588641\ttrans\t830\t800\t0\t.\n+A_92_P028959\t228\t2\t13\t1.6649\t13\t1.6825\t13\t1.6825\t13.0097735\t0.0884723\t0.5560641\t74.6480519\ttrans\t268\t657\t0\t.\n+A_92_P016167\t328\t10\t7\t0.8438\t8\t0.9545\t8\t0.9063\t13.0103922\t0.0894848\t0.3591821\t-301.0957034\ttrans\t988\t766\t0\t.\n+A_92_P003843\t535\t3\t9\t0.8706\t10\t1.1541\t10\t1.0342\t13.010776\t0.1062364\t0.4520568\t136.3361926\ttrans\t327\t671\t0\t.\n+A_92_P002749\t150\t5\t18\t1.9223\t19\t2.0355\t19\t2.0155\t13.0110982\t0.1165234\t0.2387505\t-128.3356503\ttrans\t605\t676\t0\t.\n+A_92_P027425\t300\t1\t3\t0.2802\t8\t0.7251\t7\t0.6322\t13.0111128\t0.1500484\t0.487598\t55.2828593\ttrans\t35\t724\t0\t.\n+A_92_P026756\t187\t1\t18\t1.9528\t19\t2.1501\t19\t2.0614\t13.0111907\t0.1743192\t0.3832909\t1782.863853\ttrans\t114\t445\t0\t.\n+A_92_P008749\t131\t9\t5\t0.7534\t6\t0.9681\t6\t0.9214\t13.0112685\t0.1011288\t0.2828048\t131.1703705\ttrans\t902\t705\t0\t.\n+A_92_P024189\t266\t3\t13\t1.5674\t14\t1.6794\t14\t1.6122\t13.0113454\t0.0996986\t0.294448\t-252.6327099\ttrans\t359\t531\t0\t.\n+A_92_P010648\t206\t9\t1\t0.0001\t1\t0.1022\t1\t0.0201\t13.0116045\t0.1219704\t0.3911498\t237.0734238\ttrans\t855\t518\t0\t.\n+A_92_P031907\t322\t7\t6\t0.4672\t7\t0.6022\t6\t0.5321\t13.0120157\t0.0857026\t0.4899429\t94.6921961\ttrans\t744\t229\t0\t.\n+A_92_P030757\t219\t10\t1\t0.0169\t2\t0.2258\t1\t0.1201\t13.0123535\t0.1304125\t0.2840388\t204.4590705\ttrans\t945\t609\t0\t.\n+A_92_P037037\t221\t9\t5\t0.7443\t6\t0.9644\t5\t0.8706\t13.0126155\t0.1285024\t0.430317\t-362.3117039\ttrans\t899\t441\t0\t.\n+A_92_P027269\t78\t5\t6\t0.5518\t7\t0.7126\t7\t0.6179\t13.0128184\t0.091243\t0.3437223\t28.3136863\ttrans\t531\tNA\t0\t.\n+A_92_P040455\t41\t8\t2\t0.1181\t3\t0.3777\t3\t0.2945\t13.0129353\t0.1133856\t0.4741361\t-95.9065532\ttrans\t793\tNA\t0\t.\n+A_92_P022490\t352\t6\t1'..b'6\t0.9441\t6\t0.9866\t6\t0.9661\t93.4641143\t0.6204311\t0.8568236\t-1107.34267\ttrans\t228\tNA\t0\t.\n+A_92_P041623\t379\t3\t4\t0.4596\t4\t0.4911\t4\t0.4814\t96.2079204\t0.666891\t0.8896661\t846.584616\ttrans\t295\t796\t0\t.\n+A_92_P016012\t452\t2\t7\t1.0953\t8\t1.1331\t8\t1.1175\t98.1256361\t0.6867645\t0.7532038\t-1213.697315\ttrans\t237\t229\t0\t.\n+A_92_P026247\t485\t5\t6\t0.5133\t6\t0.5559\t6\t0.5193\t99.5507059\t0.6898769\t0.8272528\t329.540568\ttrans\t526\t426\t0\t.\n+A_92_P032176\t270\t2\t9\t1.2105\t9\t1.2922\t9\t1.251\t99.5748684\t0.6962775\t0.7641305\t1625.903302\ttrans\t244\t229\t0\t.\n+A_92_P014386\t272\t7\t1\t0.0862\t2\t0.105\t2\t0.0904\t99.9103995\t0.5877571\t0.6794108\t1062.01131\ttrans\t719\t715\t0\t.\n+A_92_P026118\t469\t2\t7\t1.0508\t7\t1.1131\t7\t1.0904\t100.5219925\t0.5310509\t0.7945496\t445.6863756\ttrans\t235\t228\t0\t.\n+A_92_P018239\t176\t2\t9\t1.3205\t10\t1.3559\t10\t1.3463\t101.9414318\t0.6400396\t0.7327664\t-2502.391604\ttrans\t249\t230\t0\t.\n+A_92_P018267\t48\t2\t9\t1.2865\t9\t1.3227\t9\t1.311\t105.6092728\t0.7065085\t0.7493552\t684.6412435\ttrans\t247\t571\t0\t.\n+A_92_P034680\t459\t2\t9\t1.2864\t9\t1.3168\t9\t1.311\t106.3027384\t0.7228145\t0.7358437\t1787.298974\ttrans\t247\t230\t0\t.\n+A_92_P039780\t136\t2\t6\t1.0103\t7\t1.0761\t7\t1.0304\t107.5955366\t0.6003381\t0.7743875\t735.2906374\ttrans\t232\t226\t0\t.\n+A_92_P014456\t53\t2\t7\t1.0956\t8\t1.129\t8\t1.1175\t107.6326222\t0.6218848\t0.6975163\t494.5757266\ttrans\t237\t229\t0\t.\n+A_92_P025503\t11\t2\t7\t1.0937\t8\t1.131\t8\t1.1175\t107.6446971\t0.6938064\t0.762402\t-292.2498599\ttrans\t237\t228\t0\t.\n+A_92_P010110\t476\t2\t8\t1.1303\t8\t1.1593\t8\t1.1375\t108.9101448\t0.6075376\t0.7469095\t-2705.001969\ttrans\t238\t229\t0\t.\n+A_92_P017167\t209\t10\t11\t1.2371\t11\t1.2942\t11\t1.2764\t109.2557824\t0.7479001\t0.7783242\t-558.3415195\ttrans\t1008\t185\t0\t.\n+A_92_P015906\t219\t2\t9\t1.2814\t10\t1.3288\t9\t1.311\t110.294541\t0.6832706\t0.7109576\t-2947.985789\ttrans\t247\t255\t0\t.\n+A_92_P014110\t2\t10\t2\t0.2596\t2\t0.311\t2\t0.2903\t110.7773466\t0.6845439\t0.860889\t-705.7852147\ttrans\t954\t958\t0\t.\n+A_92_P013380\t39\t2\t13\t1.6795\t13\t1.6825\t13\t1.6825\t111.3397716\t0.6410855\t0.7393552\t350.5625382\ttrans\t268\t502\t0\t.\n+A_92_P021285\t203\t2\t7\t1.0137\t7\t1.063\t7\t1.0304\t112.6388619\t0.6761743\t0.8249806\t3301.583818\ttrans\t232\t226\t0\t.\n+A_92_P023308\t266\t6\t13\t1.5016\t13\t1.5696\t13\t1.5339\t115.3741979\t0.6172082\t0.8802623\t-1374.226013\ttrans\t690\t697\t0\t.\n+A_92_P018806\t91\t2\t9\t1.2514\t9\t1.3113\t9\t1.291\t116.2999742\t0.7711771\t0.8638405\t-1841.649372\ttrans\t246\t230\t0\t.\n+A_92_P013859\t140\t2\t6\t1.0041\t7\t1.0603\t7\t1.0304\t116.9904163\t0.4908944\t0.8185885\t-635.137547\ttrans\t232\t225\t0\t.\n+A_92_P028837\t370\t2\t7\t1.0292\t7\t1.0731\t7\t1.0504\t120.3327076\t0.6726178\t0.883985\t-6995.693116\ttrans\t233\t225\t0\t.\n+A_92_P017939\t129\t2\t9\t1.2616\t9\t1.3172\t9\t1.291\t120.642077\t0.6744954\t0.8216479\t-425.5204238\ttrans\t246\t255\t0\t.\n+A_92_P024536\t391\t1\t20\t2.38\t20\t2.433\t20\t2.4009\t121.5071421\t0.7414703\t0.8507041\t-394.5158512\ttrans\t131\t125\t0\t.\n+A_92_P025761\t97\t2\t7\t1.0641\t8\t1.1328\t7\t1.1104\t126.7305266\t0.5473838\t0.8236545\t-837.3800737\ttrans\t236\t229\t0\t.\n+A_92_P041334\t347\t2\t7\t1.0808\t8\t1.1293\t7\t1.1104\t132.1767556\t0.7379781\t0.8491016\t775.3578187\ttrans\t236\t229\t0\t.\n+A_92_P019911\t231\t2\t9\t1.3109\t10\t1.3383\t10\t1.3263\t134.6080118\t0.7013391\t0.7563715\t-168.659647\ttrans\t248\t242\t0\t.\n+A_92_P013776\t511\t2\t7\t1.022\t7\t1.0567\t7\t1.0304\t138.1769356\t0.6160639\t0.862524\t-392.4753274\ttrans\t232\t227\t0\t.\n+A_92_P019605\t374\t2\t8\t1.1325\t8\t1.1562\t8\t1.1375\t141.1871809\t0.787033\t0.852403\t382.7015145\ttrans\t238\t229\t0\t.\n+A_92_P027846\t58\t2\t9\t1.3015\t10\t1.3382\t10\t1.3263\t141.2734072\t0.6600031\t0.7906127\t492.1090255\ttrans\t248\tNA\t0\t.\n+A_92_P031740\t431\t2\t9\t1.2883\t9\t1.3179\t9\t1.311\t145.7309382\t0.7975063\t0.8420308\t-2853.206861\ttrans\t247\t230\t0\t.\n+A_92_P031655\t210\t2\t9\t1.1763\t9\t1.2118\t9\t1.191\t151.0660125\t0.747978\t0.8466157\t1463.805478\ttrans\t241\t229\t0\t.\n+A_92_P024602\t230\t2\t7\t1.0835\t7\t1.1142\t7\t1.1104\t152.6168173\t0.712277\t0.9061143\t-900.5392664\ttrans\t236\t822\t0\t.\n+A_92_P027684\t331\t2\t9\t1.29\t10\t1.3318\t9\t1.311\t164.9492832\t0.7463689\t0.8610954\t577.8506214\ttrans\t247\t230\t0\t.\n+A_92_P030048\t12\t2\t8\t1.1333\t8\t1.1565\t8\t1.1375\t166.2856728\t0.7541031\t0.8714586\t2079.164638\ttrans\t238\t229\t0\t.\n+A_92_P030765\t348\t2\t9\t1.2874\t9\t1.3169\t9\t1.311\t167.5046399\t0.8335695\t0.8718061\t1815.082626\ttrans\t247\t230\t0\t.\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._.DS_Store
b
Binary file hotspots/test-data/output/._.DS_Store has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._Rplots.zip
b
Binary file hotspots/test-data/output/._Rplots.zip has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._all_eQTL_lists.txt
b
Binary file hotspots/test-data/output/._all_eQTL_lists.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._all_hotspots_out.txt
b
Binary file hotspots/test-data/output/._all_hotspots_out.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._cis_eQTL_lists.txt
b
Binary file hotspots/test-data/output/._cis_eQTL_lists.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._cis_hotspots_out.txt
b
Binary file hotspots/test-data/output/._cis_hotspots_out.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._full_summary.txt
b
Binary file hotspots/test-data/output/._full_summary.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._trans_eQTL_lists.txt
b
Binary file hotspots/test-data/output/._trans_eQTL_lists.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/._trans_hotspots_out.txt
b
Binary file hotspots/test-data/output/._trans_hotspots_out.txt has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/Rplots.zip
b
Binary file hotspots/test-data/output/Rplots.zip has changed
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/all_eQTL_lists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/all_eQTL_lists.txt Fri Mar 18 05:26:20 2016 -0400
[
b'@@ -0,0 +1,6670 @@\n+\n+\n+= = = = =   Hotspot 1  chr 1\tsliding.ids: [74, 75]\tint.ids: [87, 88, 89, 90]\tnr.eQTL: 267   = = = = =\n+A_92_P003179\t38\t1\t14\t1.5189\t15\t1.7242\t14\t1.5898\t13.0923923\t0.1160958\t0.4419218\t-717.8261159\ttrans\t87\t564\t0\t.\n+A_92_P040234\t113\t1\t14\t1.523\t14\t1.6374\t14\t1.5898\t13.2375371\t0.1735545\t0.3289205\t59.89843\ttrans\t87\t249\t0\t.\n+A_92_P030801\t481\t1\t14\t1.5112\t15\t1.685\t14\t1.5898\t13.6472813\t0.159372\t0.3139351\t169.4014923\tno_result\t87\tNA\t0\t.\n+A_92_P010026\t281\t1\t13\t1.4894\t15\t1.7176\t14\t1.5898\t14.0601315\t0.1384158\t0.3598481\t73.9672424\ttrans\t87\t582\t0\t.\n+A_92_P018970\t421\t1\t13\t1.4896\t15\t1.6781\t14\t1.5898\t14.2866823\t0.1375551\t0.367953\t23.7538055\tcis\t87\t86\t0.935967581087\tfull\n+A_92_P028857\t58\t1\t14\t1.5279\t15\t1.6873\t14\t1.5898\t14.603183\t0.176565\t0.3258133\t600.7075678\tno_result\t87\tNA\t0\t.\n+A_92_P013318\t83\t1\t14\t1.5128\t15\t1.704\t14\t1.5898\t14.6497404\t0.1577078\t0.3506962\t61.3618832\ttrans\t87\t307\t0\t.\n+A_92_P010934\t316\t1\t14\t1.5058\t15\t1.657\t14\t1.5898\t14.7928872\t0.1538131\t0.4378542\t447.3949532\ttrans\t87\t229\t0\t.\n+A_92_P005089\t213\t1\t14\t1.5317\t15\t1.6638\t14\t1.5898\t15.3848572\t0.1430201\t0.5322223\t-510.4079798\ttrans\t87\t606\t0\t.\n+A_92_P019196\t146\t1\t14\t1.5161\t15\t1.6795\t14\t1.5898\t15.4363838\t0.210801\t0.3489457\t45.5565171\ttrans\t87\t304\t0\t.\n+A_92_P034484\t314\t1\t14\t1.5351\t14\t1.6344\t14\t1.5898\t15.6193027\t0.2667804\t0.4981222\t83.116333\ttrans\t87\t315\t0\t.\n+A_92_P029527\t88\t1\t14\t1.5085\t15\t1.6749\t14\t1.5898\t15.8585378\t0.1866631\t0.4132141\t43.4457378\ttrans\t87\t51\t0\t.\n+A_92_P019550\t465\t1\t14\t1.5255\t15\t1.6937\t14\t1.5898\t16.3973945\t0.1825587\t0.4307305\t70.9673904\ttrans\t87\t973\t0\t.\n+A_92_P015509\t433\t1\t14\t1.5238\t15\t1.6782\t14\t1.5898\t16.5765696\t0.1918636\t0.4102299\t44.5146505\ttrans\t87\t103\t0\t.\n+A_92_P023671\t509\t1\t14\t1.5315\t14\t1.633\t14\t1.5898\t16.8700588\t0.2062716\t0.379134\t192.3525336\tno_result\t87\tNA\t0\t.\n+A_92_P020228\t491\t1\t14\t1.5225\t15\t1.7139\t14\t1.5898\t17.0050812\t0.181226\t0.4329947\t33.041952\ttrans\t87\t305\t0\t.\n+A_92_P022971\t7\t1\t14\t1.5232\t15\t1.6508\t14\t1.5898\t17.379494\t0.1662458\t0.7298192\t47.7807209\tno_result\t87\tNA\t0\t.\n+A_92_P020952\t272\t1\t14\t1.5245\t15\t1.6678\t14\t1.5898\t17.7956999\t0.1753027\t0.4275846\t82.4954784\ttrans\t87\t719\t0\t.\n+A_92_P035419\t163\t1\t14\t1.5251\t15\t1.6805\t14\t1.5898\t18.1336444\t0.1862053\t0.4747777\t-580.4085042\ttrans\t87\t551\t0\t.\n+A_92_P024212\t422\t1\t14\t1.5448\t14\t1.6326\t14\t1.5898\t18.1712392\t0.2676188\t0.6450103\t55.3143304\ttrans\t87\t19\t0\t.\n+A_92_P018238\t427\t1\t14\t1.5263\t14\t1.6418\t14\t1.5898\t18.6969557\t0.2559993\t0.6946255\t24.778157\ttrans\t87\t140\t0\t.\n+A_92_P027791\t460\t1\t14\t1.5335\t15\t1.6739\t14\t1.5898\t19.0296161\t0.15211\t0.5963342\t102.1026941\ttrans\t87\tNA\t0\t.\n+A_92_P020251\t438\t1\t14\t1.5218\t15\t1.7031\t14\t1.5898\t19.5125058\t0.1877314\t0.4669267\t41.5530694\ttrans\t87\t359\t0\t.\n+A_92_P023786\t243\t1\t14\t1.5274\t15\t1.673\t14\t1.5898\t20.0286426\t0.3235791\t0.6273064\t28.9275016\tno_result\t87\tNA\t0\t.\n+A_92_P019386\t429\t1\t14\t1.5312\t15\t1.6945\t14\t1.5898\t20.4233172\t0.2305457\t0.3641347\t181.037916\ttrans\t87\t743\t0\t.\n+A_92_P031316\t89\t1\t14\t1.5241\t15\t1.6676\t14\t1.5898\t20.4552067\t0.1933242\t0.4532889\t102.7859024\ttrans\t87\t112\t0\t.\n+A_92_P008124\t132\t1\t14\t1.5264\t15\t1.683\t14\t1.5898\t20.8435472\t0.1892662\t0.4637044\t-330.5978593\ttrans\t87\t23\t0\t.\n+A_92_P038075\t506\t1\t14\t1.5172\t15\t1.7376\t14\t1.5898\t21.0581086\t0.1994937\t0.5670474\t44.4812347\tno_result\t87\tNA\t0\t.\n+A_92_P020547\t147\t1\t14\t1.5307\t15\t1.686\t14\t1.5898\t24.7980591\t0.2130294\t0.4734666\t130.4842818\tcis\t87\t89\t0.925783637282\tfull\n+A_92_P014832\t344\t1\t14\t1.5166\t15\t1.6494\t14\t1.5898\t27.4311982\t0.2471627\t0.4651858\t114.6228674\ttrans\t87\t141\t0\t.\n+A_92_P036378\t357\t1\t14\t1.5411\t14\t1.6261\t14\t1.5898\t30.8567878\t0.385263\t0.5434175\t183.8262266\ttrans\t87\t286\t0\t.\n+A_92_P034671\t70\t1\t14\t1.5292\t14\t1.6307\t14\t1.5898\t38.5498946\t0.4156107\t0.4744508\t-155.7969017\ttrans\t87\t92\t0\t.\n+A_92_P038464\t76\t1\t14\t1.5537\t15\t1.6885\t14\t1.5898\t41.5376464\t0.540404\t0.7521281\t-51.7364193\tno_result\t87\tNA\t0\t.\n+A_92_P034705\t474\t1\t14\t1.549\t14\t1.6193\t14\t1.5898\t76.2319063\t0.5726133\t0.7102597\t2893.63448\tcis\t87\t89\t0.356023539516\tpartial\n+A_92_P031716\t462\t1\t14\t1.5506\t14\t1.6302\t14\t1.5898\t86.4037424\t0.6456094\t0.7603014\t-1011.354804\tcis\t87\t91\t0.209786315917\tparti'..b'805079\t0.4249404\t21.8416197\ttrans\t1018\t544\t0\t.\n+A_92_P025425\t410\t10\t12\t1.4043\t12\t1.4654\t12\t1.4654\t18.8789084\t0.1657852\t0.3476669\t48.4248141\ttrans\t1018\t470\t0\t.\n+A_92_P023020\t311\t10\t12\t1.4134\t12\t1.4654\t12\t1.4654\t18.9176079\t0.2347249\t0.4361272\t41.1763746\tno_result\t1018\tNA\t0\t.\n+A_92_P022234\t341\t10\t12\t1.3865\t12\t1.4654\t12\t1.4654\t19.1075367\t0.2133459\t0.4348225\t57.420108\ttrans\t1018\t212\t0\t.\n+A_92_P040864\t182\t10\t12\t1.377\t12\t1.4654\t12\t1.4654\t19.1785239\t0.1940997\t0.2841756\t127.3066114\tno_result\t1018\tNA\t0\t.\n+A_92_P025306\t112\t10\t12\t1.3958\t12\t1.4654\t12\t1.4654\t19.3425356\t0.1482326\t0.3938621\t52.402676\ttrans\t1018\tNA\t0\t.\n+A_92_P009598\t541\t10\t12\t1.3937\t12\t1.4654\t12\t1.4654\t19.5381805\t0.1251372\t0.6625968\t-712.4099878\ttrans\t1018\t229\t0\t.\n+A_92_P024212\t422\t10\t12\t1.3992\t12\t1.4654\t12\t1.4654\t19.6064977\t0.2375823\t0.5002322\t52.7638845\ttrans\t1018\t19\t0\t.\n+A_92_P026028\t79\t10\t12\t1.3914\t12\t1.4654\t12\t1.4654\t20.3992708\t0.1855026\t0.3085852\t93.1442027\ttrans\t1018\t661\t0\t.\n+A_92_P021863\t515\t10\t12\t1.4073\t12\t1.4654\t12\t1.4654\t20.5831168\t0.1885752\t0.3996008\t46.6019616\ttrans\t1018\t470\t0\t.\n+A_92_P019500\t527\t10\t12\t1.3909\t12\t1.4654\t12\t1.4654\t20.7811533\t0.2171057\t0.5712754\t48.5459071\ttrans\t1018\tNA\t0\t.\n+A_92_P018605\t411\t10\t12\t1.4\t12\t1.4654\t12\t1.4654\t21.1040807\t0.2470094\t0.4272557\t18.6917552\ttrans\t1018\t430\t0\t.\n+A_92_P040676\t462\t10\t12\t1.4196\t12\t1.4654\t12\t1.4654\t21.4474993\t0.183169\t0.3762722\t222.4201279\ttrans\t1018\t18\t0\t.\n+A_92_P038891\t510\t10\t12\t1.3729\t12\t1.4654\t12\t1.4654\t22.8191001\t0.2003765\t0.3699092\t219.5405688\tno_result\t1018\tNA\t0\t.\n+A_92_P011881\t8\t10\t12\t1.3883\t12\t1.4654\t12\t1.4654\t23.4445413\t0.2030384\t0.4395421\t-73.9299533\tcis\t1018\t1014\t0.425841037378\tpartial\n+A_92_P028742\t340\t10\t12\t1.4343\t12\t1.4654\t12\t1.4654\t23.5373748\t0.2466954\t0.3766208\t-65.1331884\ttrans\t1018\tNA\t0\t.\n+A_92_P025620\t43\t10\t12\t1.3991\t12\t1.4654\t12\t1.4654\t23.9309014\t0.2736644\t0.4796374\t116.16188\ttrans\t1018\t804\t0\t.\n+A_92_P016350\t531\t10\t12\t1.4083\t12\t1.4654\t12\t1.4654\t24.3372991\t0.1321456\t0.5915645\t915.05996\ttrans\t1018\t539\t0\t.\n+A_92_P034395\t281\t10\t12\t1.4188\t12\t1.4654\t12\t1.4654\t24.5032178\t0.2368342\t0.4777931\t953.68815\ttrans\t1018\t823\t0\t.\n+A_92_P001652\t289\t10\t12\t1.4153\t12\t1.4654\t12\t1.4654\t24.7282091\t0.312855\t0.4191383\t-91.6854094\tcis\t1018\t1016\t0.908282570119\tfull\n+A_92_P019294\t257\t10\t12\t1.4275\t12\t1.4654\t12\t1.4654\t25.007352\t0.2890627\t0.560038\t29.7095764\ttrans\t1018\t282\t0\t.\n+A_92_P001577\t424\t10\t12\t1.3963\t12\t1.4654\t12\t1.4654\t25.1995957\t0.2378581\t0.3417466\t-223.6678649\tcis\t1018\t1018\t0.671213773773\tpartial\n+A_92_P028902\t346\t10\t12\t1.4242\t12\t1.4654\t12\t1.4654\t25.7049413\t0.2114093\t0.5586152\t-39.2568299\ttrans\t1018\tNA\t0\t.\n+A_92_P006006\t162\t10\t12\t1.4106\t12\t1.4654\t12\t1.4654\t26.0644596\t0.2795096\t0.4312353\t-190.7323527\tno_result\t1018\tNA\t0\t.\n+A_92_P033721\t509\t10\t12\t1.4111\t12\t1.4654\t12\t1.4654\t26.3758182\t0.3486156\t0.5568993\t58.1042743\ttrans\t1018\t850\t0\t.\n+A_92_P017792\t494\t10\t12\t1.4226\t12\t1.4654\t12\t1.4654\t28.3108534\t0.3267935\t0.5538729\t50.1565754\ttrans\t1018\t900\t0\t.\n+A_92_P029608\t28\t10\t12\t1.3811\t12\t1.4654\t12\t1.4654\t29.7148963\t0.1541602\t0.6267279\t-98.5869791\ttrans\t1018\tNA\t0\t.\n+A_92_P041862\t179\t10\t12\t1.432\t12\t1.4654\t12\t1.4654\t30.1747473\t0.2481949\t0.3969381\t-1073.195619\tcis\t1018\t1015\t0.399130872814\tpartial\n+A_92_P038669\t350\t10\t12\t1.4122\t12\t1.4654\t12\t1.4654\t30.2337867\t0.3997162\t0.5304303\t63.9955185\ttrans\t1018\t676\t0\t.\n+A_92_P026030\t144\t10\t12\t1.4316\t12\t1.4654\t12\t1.4654\t30.3489326\t0.2548777\t0.408289\t248.3330196\tno_result\t1018\tNA\t0\t.\n+A_92_P013644\t147\t10\t12\t1.4392\t12\t1.4654\t12\t1.4654\t36.302691\t0.2704067\t0.4321638\t485.5732024\tcis\t1018\tNA\t0.511504817973\tpartial\n+A_92_P013701\t386\t10\t12\t1.4348\t12\t1.4654\t12\t1.4654\t43.430415\t0.2896725\t0.53836\t-512.8364238\tcis\t1018\t1016\t0.890462499976\tfull\n+A_92_P005353\t136\t10\t12\t1.4333\t12\t1.4654\t12\t1.4654\t60.9634385\t0.546986\t0.6811763\t513.4044466\tno_result\t1018\tNA\t0\t.\n+A_92_P008858\t492\t10\t12\t1.4113\t12\t1.4654\t12\t1.4654\t74.0214603\t0.4969076\t0.7496752\t-724.8010249\tcis\t1018\t1016\t0.905396130134\tfull\n+A_92_P021191\t390\t10\t12\t1.4354\t12\t1.4654\t12\t1.4654\t138.6569417\t0.7780008\t0.8424187\t2660.007396\tcis\t1018\t1018\t0.564579761709\tpartial\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/all_hotspots_out.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/all_hotspots_out.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,844 @@\n+sliding.id\tchr\tsliding.cM\tsliding.all.eQTL\tsliding.genes\tsliding.all.eQTL/cM\tthreshold.result\tchisq.result\tsignificant\thotspot.number\n+1\t1\t4.0\t50.0\t46.0\t12.5\t0\t0\t\t\n+2\t1\t4.0\t17.0\t63.0\t4.25\t0\t0\t\t\n+3\t1\t5.53\t51.0\t57.0\t9.22\t0\t0\t\t\n+4\t1\t4.0\t44.0\t30.0\t11.0\t0\t0\t\t\n+5\t1\t4.0\t12.0\t29.0\t3.0\t0\t0\t\t\n+6\t1\t4.0\t12.0\t36.0\t3.0\t0\t0\t\t\n+7\t1\t4.0\t13.0\t34.0\t3.25\t0\t0\t\t\n+8\t1\t5.24\t41.0\t41.0\t7.82\t0\t0\t\t\n+9\t1\t4.0\t29.0\t53.0\t7.25\t0\t0\t\t\n+10\t1\t4.0\t9.0\t58.0\t2.25\t0\t-1\t\t\n+11\t1\t4.0\t8.0\t54.0\t2.0\t0\t-1\t\t\n+12\t1\t4.0\t6.0\t35.0\t1.5\t0\t0\t\t\n+13\t1\t4.0\t6.0\t22.0\t1.5\t0\t0\t\t\n+14\t1\t4.0\t5.0\t26.0\t1.25\t0\t0\t\t\n+15\t1\t4.0\t9.0\t26.0\t2.25\t0\t0\t\t\n+16\t1\t4.0\t20.0\t25.0\t5.0\t0\t0\t\t\n+17\t1\t5.94\t124.0\t59.0\t20.88\t0\t1\t\t\n+18\t1\t4.0\t98.0\t28.0\t24.5\t0\t1\t\t\n+19\t1\t5.91\t31.0\t55.0\t5.25\t0\t0\t\t\n+20\t1\t4.0\t19.0\t64.0\t4.75\t0\t0\t\t\n+21\t1\t4.11\t20.0\t61.0\t4.87\t0\t0\t\t\n+22\t1\t4.0\t21.0\t57.0\t5.25\t0\t0\t\t\n+23\t1\t4.48\t30.0\t76.0\t6.7\t0\t0\t\t\n+24\t1\t4.0\t20.0\t96.0\t5.0\t0\t-1\t\t\n+25\t1\t4.0\t14.0\t93.0\t3.5\t0\t-1\t\t\n+26\t1\t4.0\t12.0\t93.0\t3.0\t0\t-1\t\t\n+27\t1\t4.0\t6.0\t103.0\t1.5\t0\t-1\t\t\n+28\t1\t4.0\t6.0\t69.0\t1.5\t0\t-1\t\t\n+29\t1\t4.0\t11.0\t72.0\t2.75\t0\t-1\t\t\n+30\t1\t4.0\t20.0\t91.0\t5.0\t0\t-1\t\t\n+31\t1\t4.76\t41.0\t93.0\t8.61\t0\t0\t\t\n+32\t1\t4.0\t32.0\t58.0\t8.0\t0\t0\t\t\n+33\t1\t4.0\t13.0\t76.0\t3.25\t0\t-1\t\t\n+34\t1\t4.0\t9.0\t81.0\t2.25\t0\t-1\t\t\n+35\t1\t4.0\t8.0\t70.0\t2.0\t0\t-1\t\t\n+36\t1\t5.9\t47.0\t94.0\t7.97\t0\t0\t\t\n+37\t1\t4.0\t42.0\t70.0\t10.5\t0\t0\t\t\n+38\t1\t4.0\t10.0\t71.0\t2.5\t0\t-1\t\t\n+39\t1\t4.0\t10.0\t57.0\t2.5\t0\t-1\t\t\n+40\t1\t4.0\t12.0\t60.0\t3.0\t0\t-1\t\t\n+41\t1\t4.0\t11.0\t69.0\t2.75\t0\t-1\t\t\n+42\t1\t4.0\t23.0\t78.0\t5.75\t0\t0\t\t\n+43\t1\t4.23\t91.0\t90.0\t21.51\t0\t0\t\t\n+44\t1\t4.0\t81.0\t73.0\t20.25\t0\t0\t\t\n+45\t1\t4.0\t27.0\t64.0\t6.75\t0\t0\t\t\n+46\t1\t4.0\t14.0\t87.0\t3.5\t0\t-1\t\t\n+47\t1\t4.0\t11.0\t75.0\t2.75\t0\t-1\t\t\n+48\t1\t4.0\t11.0\t48.0\t2.75\t0\t0\t\t\n+49\t1\t4.0\t10.0\t54.0\t2.5\t0\t-1\t\t\n+50\t1\t4.0\t12.0\t61.0\t3.0\t0\t-1\t\t\n+51\t1\t4.6\t48.0\t65.0\t10.43\t0\t0\t\t\n+52\t1\t4.0\t41.0\t50.0\t10.25\t0\t0\t\t\n+53\t1\t4.0\t7.0\t47.0\t1.75\t0\t-1\t\t\n+54\t1\t4.0\t4.0\t50.0\t1.0\t0\t-1\t\t\n+55\t1\t4.0\t7.0\t44.0\t1.75\t0\t0\t\t\n+56\t1\t4.0\t15.0\t44.0\t3.75\t0\t0\t\t\n+57\t1\t4.0\t13.0\t51.0\t3.25\t0\t0\t\t\n+58\t1\t4.13\t65.0\t156.0\t15.74\t0\t0\t\t\n+59\t1\t4.0\t63.0\t245.0\t15.75\t0\t-1\t\t\n+60\t1\t4.0\t27.0\t188.0\t6.75\t0\t-1\t\t\n+61\t1\t4.0\t21.0\t116.0\t5.25\t0\t-1\t\t\n+62\t1\t4.0\t19.0\t105.0\t4.75\t0\t-1\t\t\n+63\t1\t4.0\t20.0\t172.0\t5.0\t0\t-1\t\t\n+64\t1\t4.0\t26.0\t216.0\t6.5\t0\t-1\t\t\n+65\t1\t5.86\t93.0\t318.0\t15.87\t0\t-1\t\t\n+66\t1\t4.0\t82.0\t52.0\t20.5\t0\t1\t\t\n+67\t1\t4.0\t36.0\t25.0\t9.0\t0\t0\t\t\n+68\t1\t4.28\t53.0\t62.0\t12.38\t0\t0\t\t\n+69\t1\t4.0\t37.0\t76.0\t9.25\t0\t0\t\t\n+70\t1\t4.0\t37.0\t62.0\t9.25\t0\t0\t\t\n+71\t1\t4.0\t44.0\t72.0\t11.0\t0\t0\t\t\n+72\t1\t4.0\t31.0\t87.0\t7.75\t0\t0\t\t\n+73\t1\t4.0\t50.0\t75.0\t12.5\t0\t0\t\t\n+74\t1\t4.0\t109.0\t63.0\t27.25\t1\t1\t*\t1\n+75\t1\t5.31\t232.0\t92.0\t43.69\t1\t1\t*\t1\n+76\t1\t4.0\t96.0\t60.0\t24.0\t0\t1\t\t\n+77\t1\t4.0\t19.0\t66.0\t4.75\t0\t0\t\t\n+78\t1\t4.0\t11.0\t65.0\t2.75\t0\t-1\t\t\n+79\t1\t4.0\t12.0\t56.0\t3.0\t0\t0\t\t\n+80\t1\t4.0\t17.0\t56.0\t4.25\t0\t0\t\t\n+81\t1\t4.0\t32.0\t59.0\t8.0\t0\t0\t\t\n+82\t1\t4.84\t117.0\t84.0\t24.17\t0\t1\t\t\n+83\t1\t4.0\t99.0\t89.0\t24.75\t0\t0\t\t\n+84\t1\t4.0\t21.0\t100.0\t5.25\t0\t-1\t\t\n+85\t1\t4.0\t15.0\t109.0\t3.75\t0\t-1\t\t\n+86\t1\t4.12\t42.0\t110.0\t10.19\t0\t0\t\t\n+87\t1\t4.0\t43.0\t117.0\t10.75\t0\t0\t\t\n+88\t1\t4.0\t46.0\t113.0\t11.5\t0\t0\t\t\n+89\t1\t4.18\t80.0\t83.0\t19.14\t0\t0\t\t\n+90\t1\t4.0\t56.0\t67.0\t14.0\t0\t0\t\t\n+91\t1\t4.0\t31.0\t58.0\t7.75\t0\t0\t\t\n+92\t1\t4.0\t48.0\t39.0\t12.0\t0\t0\t\t\n+93\t1\t4.71\t338.0\t49.0\t71.76\t1\t1\t*\t2\n+94\t1\t4.0\t281.0\t44.0\t70.25\t1\t1\t*\t2\n+95\t1\t4.0\t47.0\t40.0\t11.75\t0\t0\t\t\n+96\t1\t4.0\t45.0\t29.0\t11.25\t0\t0\t\t\n+97\t1\t4.0\t34.0\t29.0\t8.5\t0\t0\t\t\n+98\t1\t4.0\t25.0\t27.0\t6.25\t0\t0\t\t\n+99\t1\t4.0\t27.0\t44.0\t6.75\t0\t0\t\t\n+100\t1\t4.0\t24.0\t54.0\t6.0\t0\t0\t\t\n+101\t1\t4.0\t12.0\t51.0\t3.0\t0\t0\t\t\n+102\t1\t4.0\t5.0\t48.0\t1.25\t0\t-1\t\t\n+103\t1\t4.0\t10.0\t37.0\t2.5\t0\t0\t\t\n+104\t1\t4.0\t15.0\t28.0\t3.75\t0\t0\t\t\n+105\t1\t4.0\t23.0\t39.0\t5.75\t0\t0\t\t\n+106\t1\t4.0\t29.0\t50.0\t7.25\t0\t0\t\t\n+107\t1\t4.0\t31.0\t34.0\t7.75\t0\t0\t\t\n+108\t1\t4.0\t31.0\t46.0\t7.75\t0\t0\t\t\n+109\t1\t5.95\t145.0\t82.0\t24.37\t0\t1\t\t\n+110\t1\t4.0\t135.0\t45.0\t33.75\t1\t1\t*\t3\n+111\t1\t4.0\t42.0\t35.0\t10.5\t0\t0\t\t\n+112\t1\t4.0\t30.0\t24.0\t7.5\t0\t0\t\t\n+113\t1\t4.0\t15.0\t22.0\t3.75\t0\t0\t\t\n+114\t1\t4.0\t7.0\t34.0\t1.75\t0\t0\t\t\n+115\t1\t4.0\t6.0\t37.0\t1.5\t0\t0\t\t\n+116\t1\t4.0\t7.0\t32.0\t1.75\t0\t0\t\t\n+117\t1\t4.0\t9.0\t43.0\t2.25\t0\t0\t\t\n+118\t1\t5.78\t92.0\t65.0\t15.92\t0\t1\t\t\n+119\t1\t4.0\t83.0\t85.0\t20.75\t0\t0\t\t\n+120\t1\t4.0\t26.0\t105.0\t6.5\t0\t-1\t\t\n+121\t1\t4.0\t23.0\t91.0\t5.75\t0\t-1\t\t\n+122\t1\t4.94\t35.0\t108.0\t7'..b'\t38.0\t106.0\t8.56\t0\t0\t\t\n+725\t9\t4.0\t29.0\t152.0\t7.25\t0\t-1\t\t\n+726\t9\t4.0\t13.0\t157.0\t3.25\t0\t-1\t\t\n+727\t9\t4.0\t18.0\t130.0\t4.5\t0\t-1\t\t\n+728\t9\t4.0\t18.0\t51.0\t4.5\t0\t0\t\t\n+729\t9\t4.0\t13.0\t38.0\t3.25\t0\t0\t\t\n+730\t9\t4.0\t19.0\t35.0\t4.75\t0\t0\t\t\n+731\t9\t4.0\t30.0\t34.0\t7.5\t0\t0\t\t\n+732\t9\t4.0\t35.0\t50.0\t8.75\t0\t0\t\t\n+733\t9\t5.11\t80.0\t63.0\t15.66\t0\t1\t\t\n+734\t9\t4.0\t62.0\t57.0\t15.5\t0\t0\t\t\n+735\t9\t4.0\t21.0\t66.0\t5.25\t0\t0\t\t\n+736\t9\t4.0\t15.0\t44.0\t3.75\t0\t0\t\t\n+737\t9\t4.0\t16.0\t54.0\t4.0\t0\t0\t\t\n+738\t9\t4.0\t12.0\t69.0\t3.0\t0\t-1\t\t\n+739\t9\t4.0\t6.0\t87.0\t1.5\t0\t-1\t\t\n+740\t9\t4.0\t4.0\t142.0\t1.0\t0\t-1\t\t\n+741\t9\t4.0\t6.0\t169.0\t1.5\t0\t-1\t\t\n+742\t9\t4.0\t9.0\t152.0\t2.25\t0\t-1\t\t\n+743\t9\t4.0\t10.0\t151.0\t2.5\t0\t-1\t\t\n+744\t9\t4.0\t7.0\t162.0\t1.75\t0\t-1\t\t\n+745\t9\t4.0\t12.0\t167.0\t3.0\t0\t-1\t\t\n+746\t9\t5.08\t97.0\t196.0\t19.09\t0\t0\t\t\n+747\t9\t4.0\t151.0\t110.0\t37.75\t1\t1\t*\t22\n+748\t9\t5.68\t414.0\t110.0\t72.89\t1\t1\t*\t22\n+749\t9\t4.0\t221.0\t54.0\t55.25\t1\t1\t*\t22\n+750\t9\t4.0\t62.0\t38.0\t15.5\t0\t1\t\t\n+751\t9\t4.0\t41.0\t60.0\t10.25\t0\t0\t\t\n+752\t9\t4.0\t16.0\t80.0\t4.0\t0\t-1\t\t\n+753\t9\t4.0\t8.0\t77.0\t2.0\t0\t-1\t\t\n+754\t9\t4.0\t7.0\t70.0\t1.75\t0\t-1\t\t\n+755\t9\t4.0\t4.0\t52.0\t1.0\t0\t-1\t\t\n+756\t9\t4.0\t6.0\t67.0\t1.5\t0\t-1\t\t\n+757\t9\t4.0\t12.0\t71.0\t3.0\t0\t-1\t\t\n+758\t9\t4.0\t15.0\t59.0\t3.75\t0\t0\t\t\n+759\t9\t4.7\t149.0\t59.0\t31.7\t1\t1\t*\t23\n+760\t9\t4.0\t170.0\t76.0\t42.5\t1\t1\t*\t23\n+761\t9\t4.27\t79.0\t79.0\t18.5\t0\t0\t\t\n+762\t9\t4.0\t45.0\t25.0\t11.25\t0\t1\t\t\n+763\t9\t4.0\t26.0\t12.0\t6.5\t0\t0\t\t\n+764\t9\t4.0\t20.0\t18.0\t5.0\t0\t0\t\t\n+765\t9\t4.0\t15.0\t39.0\t3.75\t0\t0\t\t\n+766\t9\t4.0\t12.0\t41.0\t3.0\t0\t0\t\t\n+767\t9\t4.0\t8.0\t27.0\t2.0\t0\t0\t\t\n+768\t9\t5.6\t19.0\t27.0\t3.39\t0\t0\t\t\n+769\t9\t4.0\t13.0\t30.0\t3.25\t0\t0\t\t\n+770\t9\t4.0\t7.0\t39.0\t1.75\t0\t0\t\t\n+771\t9\t4.0\t9.0\t22.0\t2.25\t0\t0\t\t\n+772\t9\t4.0\t14.0\t27.0\t3.5\t0\t0\t\t\n+773\t9\t4.0\t9.0\t29.0\t2.25\t0\t0\t\t\n+774\t9\t4.0\t13.0\t16.0\t3.25\t0\t0\t\t\n+775\t9\t4.0\t46.0\t16.0\t11.5\t0\t1\t\t\n+776\t9\t4.4\t214.0\t19.0\t48.64\t1\t1\t*\t24\n+777\t10\t4.0\t132.0\t29.0\t33.0\t1\t1\t*\t25\n+778\t10\t4.0\t109.0\t18.0\t27.25\t1\t1\t*\t25\n+779\t10\t4.0\t95.0\t6.0\t23.75\t0\t1\t\t\n+780\t10\t4.0\t57.0\t18.0\t14.25\t0\t1\t\t\n+781\t10\t4.0\t63.0\t20.0\t15.75\t0\t1\t\t\n+782\t10\t4.0\t72.0\t20.0\t18.0\t0\t1\t\t\n+783\t10\t5.02\t114.0\t26.0\t22.71\t0\t1\t\t\n+784\t10\t4.0\t65.0\t22.0\t16.25\t0\t1\t\t\n+785\t10\t4.0\t16.0\t22.0\t4.0\t0\t0\t\t\n+786\t10\t4.0\t17.0\t14.0\t4.25\t0\t0\t\t\n+787\t10\t4.0\t11.0\t14.0\t2.75\t0\t0\t\t\n+788\t10\t4.0\t5.0\t12.0\t1.25\t0\t0\t\t\n+789\t10\t4.0\t5.0\t11.0\t1.25\t0\t0\t\t\n+790\t10\t4.0\t10.0\t7.0\t2.5\t0\t0\t\t\n+791\t10\t5.55\t39.0\t23.0\t7.03\t0\t0\t\t\n+792\t10\t4.0\t29.0\t24.0\t7.25\t0\t0\t\t\n+793\t10\t4.0\t16.0\t36.0\t4.0\t0\t0\t\t\n+794\t10\t4.0\t13.0\t33.0\t3.25\t0\t0\t\t\n+795\t10\t4.0\t19.0\t12.0\t4.75\t0\t0\t\t\n+796\t10\t4.0\t23.0\t15.0\t5.75\t0\t0\t\t\n+797\t10\t5.48\t87.0\t232.0\t15.88\t0\t-1\t\t\n+798\t10\t4.0\t79.0\t279.0\t19.75\t0\t-1\t\t\n+799\t10\t4.0\t29.0\t192.0\t7.25\t0\t-1\t\t\n+800\t10\t4.94\t102.0\t265.0\t20.65\t0\t-1\t\t\n+801\t10\t4.0\t76.0\t125.0\t19.0\t0\t0\t\t\n+802\t10\t4.0\t35.0\t137.0\t8.75\t0\t-1\t\t\n+803\t10\t4.0\t21.0\t91.0\t5.25\t0\t-1\t\t\n+804\t10\t4.0\t14.0\t85.0\t3.5\t0\t-1\t\t\n+805\t10\t4.0\t16.0\t104.0\t4.0\t0\t-1\t\t\n+806\t10\t4.0\t13.0\t110.0\t3.25\t0\t-1\t\t\n+807\t10\t4.0\t9.0\t113.0\t2.25\t0\t-1\t\t\n+808\t10\t4.0\t13.0\t106.0\t3.25\t0\t-1\t\t\n+809\t10\t4.0\t21.0\t133.0\t5.25\t0\t-1\t\t\n+810\t10\t4.0\t31.0\t174.0\t7.75\t0\t-1\t\t\n+811\t10\t4.18\t89.0\t143.0\t21.29\t0\t0\t\t\n+812\t10\t4.0\t74.0\t73.0\t18.5\t0\t0\t\t\n+813\t10\t4.0\t24.0\t72.0\t6.0\t0\t0\t\t\n+814\t10\t4.38\t33.0\t71.0\t7.53\t0\t0\t\t\n+815\t10\t4.0\t26.0\t62.0\t6.5\t0\t0\t\t\n+816\t10\t4.0\t26.0\t81.0\t6.5\t0\t0\t\t\n+817\t10\t4.0\t43.0\t70.0\t10.75\t0\t0\t\t\n+818\t10\t5.07\t242.0\t46.0\t47.73\t1\t1\t*\t26\n+819\t10\t4.0\t225.0\t11.0\t56.25\t1\t1\t*\t26\n+820\t10\t4.0\t51.0\t11.0\t12.75\t0\t1\t\t\n+821\t10\t4.0\t31.0\t15.0\t7.75\t0\t0\t\t\n+822\t10\t4.05\t47.0\t23.0\t11.6\t0\t1\t\t\n+823\t10\t4.0\t33.0\t21.0\t8.25\t0\t0\t\t\n+824\t10\t5.93\t78.0\t36.0\t13.15\t0\t1\t\t\n+825\t10\t4.0\t71.0\t29.0\t17.75\t0\t1\t\t\n+826\t10\t4.0\t41.0\t32.0\t10.25\t0\t0\t\t\n+827\t10\t4.0\t45.0\t50.0\t11.25\t0\t0\t\t\n+828\t10\t4.0\t47.0\t59.0\t11.75\t0\t0\t\t\n+829\t10\t4.0\t69.0\t52.0\t17.25\t0\t1\t\t\n+830\t10\t5.03\t205.0\t68.0\t40.76\t1\t1\t*\t27\n+831\t10\t4.0\t182.0\t36.0\t45.5\t1\t1\t*\t27\n+832\t10\t4.0\t88.0\t33.0\t22.0\t0\t1\t\t\n+833\t10\t4.0\t51.0\t38.0\t12.75\t0\t0\t\t\n+834\t10\t4.0\t28.0\t26.0\t7.0\t0\t0\t\t\n+835\t10\t4.0\t21.0\t20.0\t5.25\t0\t0\t\t\n+836\t10\t4.9\t47.0\t38.0\t9.59\t0\t0\t\t\n+837\t10\t4.0\t36.0\t33.0\t9.0\t0\t0\t\t\n+838\t10\t4.0\t22.0\t48.0\t5.5\t0\t0\t\t\n+839\t10\t4.0\t20.0\t60.0\t5.0\t0\t0\t\t\n+840\t10\t4.0\t8.0\t49.0\t2.0\t0\t-1\t\t\n+841\t10\t4.0\t10.0\t53.0\t2.5\t0\t0\t\t\n+842\t10\t4.0\t28.0\t57.0\t7.0\t0\t0\t\t\n+843\t10\t4.95\t196.0\t43.0\t39.6\t1\t1\t*\t28\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/cis_eQTL_lists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/cis_eQTL_lists.txt Fri Mar 18 05:26:20 2016 -0400
[
b'@@ -0,0 +1,174 @@\n+\n+\n+= = = = =   Hotspot 1  chr 2\tsliding.ids: [198]\tint.ids: [231, 232]\tnr.eQTL: 54   = = = = =\n+A_92_P011646\t262\t2\t6\t0.9374\t7\t1.0657\t7\t1.0104\t13.5623372\t0.1079892\t0.2978244\t-1241.655432\tcis\t231\t228\t0.920591484599\tfull\n+A_92_P036877\t8\t2\t6\t0.934\t7\t1.0843\t7\t1.0104\t13.6743073\t0.1091632\t0.3352177\t151.555418\tcis\t231\t227\t0.887524092504\tfull\n+A_92_P028706\t205\t2\t6\t0.9589\t7\t1.0522\t7\t1.0104\t14.5122839\t0.1094256\t0.3620402\t-94.3840818\tcis\t231\t225\t0.188865980528\tpartial\n+A_92_P041504\t534\t2\t6\t0.9661\t7\t1.1148\t7\t1.0104\t15.2135617\t0.1129214\t0.3443207\t634.4699875\tcis\t231\t229\t0.922473891028\tfull\n+A_92_P017651\t207\t2\t6\t0.9655\t7\t1.0824\t7\t1.0104\t15.6571981\t0.1068947\t0.3851575\t235.1779273\tcis\t231\t226\t0.236784148308\tpartial\n+A_92_P013001\t338\t2\t6\t0.9666\t7\t1.0688\t7\t1.0104\t16.0562886\t0.1246765\t0.3019306\t426.1515034\tcis\t231\t228\t0.892026704974\tfull\n+A_92_P023260\t502\t2\t6\t0.9798\t7\t1.1014\t7\t1.0104\t16.8765305\t0.1094656\t0.422483\t-67.8393891\tcis\t231\t228\t0.431494324351\tpartial\n+A_92_P020678\t518\t2\t6\t0.9577\t7\t1.0788\t7\t1.0104\t19.3324126\t0.1502875\t0.3659975\t-93.3666285\tcis\t231\t226\t0.285492664585\tpartial\n+A_92_P039055\t217\t2\t6\t0.9425\t7\t1.0764\t7\t1.0104\t21.3503983\t0.1618055\t0.3761863\t-117.1875732\tcis\t231\t225\t0.199969206443\tpartial\n+A_92_P004131\t410\t2\t6\t0.9674\t7\t1.0944\t7\t1.0104\t21.4002366\t0.1961017\t0.4214167\t-96.7143091\tcis\t231\t228\t0.868729025567\tfull\n+A_92_P007041\t284\t2\t6\t0.9557\t9\t1.238\t7\t1.0104\t21.4967858\t0.1713821\t0.3083261\t-173.601532\tcis\t231\t229\t0.839864762729\tfull\n+A_92_P026957\t474\t2\t6\t0.9589\t7\t1.0649\t7\t1.0104\t23.2381631\t0.1730605\t0.360468\t-837.5941494\tcis\t231\t225\t0.225150738651\tpartial\n+A_92_P036185\t308\t2\t6\t0.9755\t7\t1.0977\t7\t1.0104\t23.7844782\t0.1930859\t0.3678189\t-206.8386333\tcis\t231\t225\t0.152031603552\tpartial\n+A_92_P009615\t427\t2\t6\t0.9696\t7\t1.0711\t7\t1.0104\t24.6863382\t0.3067564\t0.493517\t118.4617907\tcis\t231\t228\t0.415697351491\tpartial\n+A_92_P010817\t306\t2\t6\t0.9806\t7\t1.0823\t7\t1.0104\t25.1158187\t0.2240199\t0.3523771\t-56.6852517\tcis\t231\t225\t0.167169605742\tpartial\n+A_92_P013932\t520\t2\t6\t0.9467\t7\t1.078\t7\t1.0104\t25.5056757\t0.1959769\t0.6147838\t-28.9787682\tcis\t231\t225\t0.192622420971\tpartial\n+A_92_P033782\t198\t2\t6\t0.9731\t7\t1.0889\t7\t1.0104\t27.9826027\t0.1738692\t0.48526\t379.4927779\tcis\t231\t225\t0.16976959147\tpartial\n+A_92_P018522\t467\t2\t6\t0.9642\t7\t1.0879\t7\t1.0104\t33.438276\t0.3246373\t0.4533309\t-834.4814306\tcis\t231\t226\t0.260048034458\tpartial\n+A_92_P023186\t418\t2\t6\t0.9711\t7\t1.0799\t7\t1.0104\t34.0315792\t0.194958\t0.5488901\t-2036.612106\tcis\t231\t225\t0.150332503051\tpartial\n+A_92_P037496\t515\t2\t6\t0.9552\t7\t1.0944\t7\t1.0104\t35.3443806\t0.3431107\t0.5294415\t-48.2824919\tcis\t231\t226\t0.222580359521\tpartial\n+A_92_P034096\t343\t2\t6\t0.9905\t7\t1.0798\t7\t1.0104\t36.1649042\t0.2976539\t0.5148631\t-415.6326517\tcis\t231\t227\t0.332942405172\tpartial\n+A_92_P030563\t181\t2\t6\t0.9563\t7\t1.0627\t7\t1.0104\t37.4296914\t0.3357466\t0.5825989\t84.0337642\tcis\t231\t225\t0.205591645451\tpartial\n+A_92_P016174\t161\t2\t6\t0.9852\t7\t1.0484\t7\t1.0104\t41.5229095\t0.2957255\t0.4481681\t393.5054622\tcis\t231\t228\t0.508541975606\tpartial\n+A_92_P036031\t463\t2\t6\t0.9924\t7\t1.1032\t7\t1.0104\t42.3357557\t0.3894836\t0.4696398\t-121.8532898\tcis\t231\t228\t0.444142675576\tpartial\n+A_92_P032388\t257\t2\t6\t0.988\t7\t1.0626\t7\t1.0104\t42.9737588\t0.2761102\t0.4900565\t-788.2254527\tcis\t231\t228\t0.450658572494\tpartial\n+A_92_P034385\t52\t2\t6\t0.987\t7\t1.0542\t7\t1.0104\t45.4229975\t0.3067279\t0.4857743\t124.6843676\tcis\t231\t227\t0.368035739311\tpartial\n+A_92_P006477\t97\t2\t6\t0.9773\t7\t1.0566\t7\t1.0104\t45.8822207\t0.3553332\t0.6299112\t241.9491327\tcis\t231\t226\t0.227117104455\tpartial\n+A_92_P014694\t177\t2\t6\t0.9884\t7\t1.0876\t7\t1.0104\t46.0059453\t0.2581269\t0.5776823\t-261.590356\tcis\t231\t228\t0.411402904489\tpartial\n+A_92_P017369\t132\t2\t6\t0.9828\t7\t1.041\t7\t1.0104\t58.3079714\t0.3752201\t0.5331097\t402.8750885\tcis\t231\t227\t0.314195296239\tpartial\n+A_92_P030870\t194\t2\t6\t0.9965\t7\t1.0416\t7\t1.0104\t66.2131277\t0.5394193\t0.7429369\t-150.7022119\tcis\t231\t228\t0.439729079128\tpartial\n+A_92_P022043\t203\t2\t6\t0.984\t7\t1.0448\t7\t1.0104\t66.3569711\t0.3795156\t0.6719018\t-98.5451295\tcis\t231\t227\t0.370686894934\tpartial\n+A_92_P020095\t2\t2\t6\t0.9914\t7\t1.0545\t7\t'..b'06\t192\t5\t10\t0.9777\t11\t1.0275\t11\t0.9971\t36.3622291\t0.3394812\t0.5380809\t86.144878\tcis\t551\t550\t0.923669353785\tfull\n+A_92_P022650\t35\t5\t10\t0.9719\t11\t1.0172\t11\t0.9971\t37.8283001\t0.2674367\t0.4446499\t1270.822367\tcis\t551\t550\t0.926130010814\tfull\n+A_92_P006967\t188\t5\t10\t0.9792\t11\t1.0417\t11\t0.9971\t42.1319093\t0.3084524\t0.4372857\t271.3502325\tcis\t551\t550\t0.938374700874\tfull\n+A_92_P028368\t65\t5\t9\t0.9432\t11\t1.049\t11\t0.9971\t42.9287868\t0.3225004\t0.5536077\t77.7903914\tcis\t551\t550\t0.97963498578\tfull\n+A_92_P025320\t161\t5\t10\t0.9708\t11\t1.0315\t11\t0.9971\t43.0763932\t0.3578807\t0.3676471\t-164.3120924\tcis\t551\t553\t0.391314914928\tpartial\n+A_92_P020499\t438\t5\t10\t0.9622\t11\t1.0355\t11\t0.9971\t43.2411622\t0.3003245\t0.6324848\t-92.4687372\tcis\t551\t548\t0.434499605812\tpartial\n+A_92_P031284\t319\t5\t10\t0.9813\t11\t1.0165\t11\t0.9971\t61.4229275\t0.433938\t0.5133946\t22821.3213\tcis\t551\t550\t0.917181466751\tfull\n+A_92_P031304\t520\t5\t10\t0.9711\t11\t1.03\t11\t0.9971\t65.0759364\t0.4286154\t0.5507113\t-1341.022004\tcis\t551\t548\t0.432526093901\tpartial\n+A_92_P025715\t292\t5\t10\t0.9733\t11\t1.0129\t11\t0.9971\t69.0687955\t0.4433346\t0.5727221\t-306.8323258\tcis\t551\t550\t0.914966682458\tfull\n+A_92_P011111\t17\t5\t10\t0.9767\t11\t1.0187\t11\t0.9971\t92.1554086\t0.5956253\t0.6478604\t-1734.8262\tcis\t551\t550\t0.91418110648\tfull\n+A_92_P037422\t196\t5\t10\t0.9817\t11\t1.0261\t11\t0.9971\t93.290715\t0.6318558\t0.7413589\t-225.4733624\tcis\t551\t548\t0.461540907224\tpartial\n+A_92_P016320\t244\t5\t10\t0.9856\t11\t1.0117\t11\t0.9971\t142.6714639\t0.7225426\t0.7910168\t1645.786905\tcis\t551\t550\t0.910753696421\tfull\n+A_92_P036232\t57\t5\t10\t0.9742\t11\t1.0982\t11\t1.0171\t13.2820555\t0.1368309\t0.2753208\t-76.0823352\tcis\t552\t555\t0.87576131489\tfull\n+A_92_P035419\t163\t5\t10\t0.9693\t11\t1.0929\t11\t1.0171\t13.5593014\t0.1035103\t0.4026406\t-435.9820298\tcis\t552\t551\t0.968120224513\tfull\n+A_92_P040304\t36\t5\t9\t0.9179\t11\t1.0738\t11\t1.0171\t17.6211385\t0.176063\t0.3840738\t86.4585043\tcis\t552\t548\t0.883789838471\tfull\n+A_92_P009888\t428\t5\t9\t0.8804\t11\t1.063\t11\t1.0171\t20.5552171\t0.1804373\t0.4501905\t-55.1512457\tcis\t552\t547\t0.424674701551\tpartial\n+A_92_P040833\t84\t5\t10\t0.9558\t11\t1.0702\t11\t1.0171\t22.1671061\t0.2382406\t0.5643561\t-36.8297782\tcis\t552\t555\t0.253517348225\tpartial\n+A_92_P000640\t73\t5\t11\t1.0023\t11\t1.0639\t11\t1.0171\t22.3514487\t0.2929987\t0.3877681\t-228.46234\tcis\t552\t553\t0.916267069514\tfull\n+A_92_P001524\t4\t5\t10\t0.9756\t11\t1.0824\t11\t1.0171\t23.4374784\t0.1884916\t0.3909898\t298.2614505\tcis\t552\t554\t0.889508367034\tfull\n+A_92_P009361\t244\t5\t10\t0.9714\t11\t1.0541\t11\t1.0171\t28.6451968\t0.2504912\t0.4686727\t-116.6076259\tcis\t552\t548\t0.356006003836\tpartial\n+A_92_P015000\t512\t5\t10\t0.9671\t11\t1.0622\t11\t1.0171\t28.8729287\t0.251709\t0.3732993\t153.9372162\tcis\t552\t549\t0.888750894223\tfull\n+A_92_P016912\t87\t5\t10\t0.9737\t11\t1.0635\t11\t1.0171\t31.3903852\t0.292852\t0.3534602\t81.250814\tcis\t552\t551\t0.960099477739\tfull\n+A_92_P021392\t375\t5\t10\t0.9671\t11\t1.0625\t11\t1.0171\t32.0433958\t0.26198\t0.4791468\t-4671.327529\tcis\t552\t555\t0.245663887535\tpartial\n+A_92_P025200\t457\t5\t10\t0.9944\t11\t1.0507\t11\t1.0171\t32.05978\t0.2628578\t0.5402187\t-52.9128978\tcis\t552\t549\t0.413188543412\tpartial\n+A_92_P002464\t247\t5\t10\t0.975\t11\t1.0508\t11\t1.0171\t34.3244275\t0.2782828\t0.4495627\t522.5417106\tcis\t552\t555\t0.312650407152\tpartial\n+A_92_P034044\t540\t5\t11\t0.9991\t11\t1.055\t11\t1.0171\t37.5272852\t0.3480087\t0.5656078\t-79.8490044\tcis\t552\t554\t0.468813558734\tpartial\n+A_92_P022740\t536\t5\t11\t0.9986\t11\t1.0578\t11\t1.0171\t37.8932438\t0.30902\t0.5487634\t-139.6973973\tcis\t552\t554\t0.490898690079\tpartial\n+A_92_P026656\t463\t5\t10\t0.9857\t11\t1.0529\t11\t1.0171\t50.035528\t0.4084909\t0.5381673\t-453.8612588\tcis\t552\t552\t0.929680147795\tfull\n+A_92_P040486\t241\t5\t10\t0.9798\t11\t1.0403\t11\t1.0171\t56.6447756\t0.6146672\t0.6513514\t-168.7666451\tcis\t552\t548\t0.367266546907\tpartial\n+A_92_P002677\t455\t5\t10\t0.9885\t11\t1.0449\t11\t1.0171\t67.8020396\t0.4865565\t0.6260976\t1630.429582\tcis\t552\t550\t0.918021566977\tfull\n+A_92_P027361\t91\t5\t11\t1.0142\t11\t1.0486\t11\t1.0171\t112.5278881\t0.7449608\t0.8225371\t-1224.393224\tcis\t552\t548\t0.241453565023\tpartial\n+A_92_P011456\t8\t5\t10\t0.9932\t11\t1.0305\t11\t1.0171\t135.0547342\t0.7044504\t0.8305892\t3792.106484\tcis\t552\t550\t0.900190831095\tfull\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/cis_hotspots_out.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/cis_hotspots_out.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,844 @@\n+sliding.id\tchr\tsliding.cM\tsliding.all.eQTL\tsliding.genes\tsliding.all.eQTL/cM\tthreshold.result\tchisq.result\tsignificant\thotspot.number\n+1\t1\t4.0\t8.0\t46.0\t2.0\t0\t0\t\t\n+2\t1\t4.0\t5.0\t63.0\t1.25\t0\t0\t\t\n+3\t1\t5.53\t17.0\t57.0\t3.07\t0\t0\t\t\n+4\t1\t4.0\t14.0\t30.0\t3.5\t0\t0\t\t\n+5\t1\t4.0\t4.0\t29.0\t1.0\t0\t0\t\t\n+6\t1\t4.0\t5.0\t36.0\t1.25\t0\t0\t\t\n+7\t1\t4.0\t6.0\t34.0\t1.5\t0\t0\t\t\n+8\t1\t5.24\t7.0\t41.0\t1.34\t0\t0\t\t\n+9\t1\t4.0\t5.0\t53.0\t1.25\t0\t0\t\t\n+10\t1\t4.0\t3.0\t58.0\t0.75\t0\t0\t\t\n+11\t1\t4.0\t2.0\t54.0\t0.5\t0\t0\t\t\n+12\t1\t4.0\t3.0\t35.0\t0.75\t0\t0\t\t\n+13\t1\t4.0\t3.0\t22.0\t0.75\t0\t0\t\t\n+14\t1\t4.0\t1.0\t26.0\t0.25\t0\t0\t\t\n+15\t1\t4.0\t3.0\t26.0\t0.75\t0\t0\t\t\n+16\t1\t4.0\t5.0\t25.0\t1.25\t0\t0\t\t\n+17\t1\t5.94\t15.0\t59.0\t2.53\t0\t0\t\t\n+18\t1\t4.0\t11.0\t28.0\t2.75\t0\t0\t\t\n+19\t1\t5.91\t5.0\t55.0\t0.85\t0\t0\t\t\n+20\t1\t4.0\t4.0\t64.0\t1.0\t0\t0\t\t\n+21\t1\t4.11\t5.0\t61.0\t1.22\t0\t0\t\t\n+22\t1\t4.0\t7.0\t57.0\t1.75\t0\t0\t\t\n+23\t1\t4.48\t14.0\t76.0\t3.12\t0\t0\t\t\n+24\t1\t4.0\t10.0\t96.0\t2.5\t0\t0\t\t\n+25\t1\t4.0\t10.0\t93.0\t2.5\t0\t0\t\t\n+26\t1\t4.0\t8.0\t93.0\t2.0\t0\t0\t\t\n+27\t1\t4.0\t3.0\t103.0\t0.75\t0\t0\t\t\n+28\t1\t4.0\t3.0\t69.0\t0.75\t0\t0\t\t\n+29\t1\t4.0\t7.0\t72.0\t1.75\t0\t0\t\t\n+30\t1\t4.0\t14.0\t91.0\t3.5\t0\t0\t\t\n+31\t1\t4.76\t22.0\t93.0\t4.62\t0\t0\t\t\n+32\t1\t4.0\t12.0\t58.0\t3.0\t0\t0\t\t\n+33\t1\t4.0\t5.0\t76.0\t1.25\t0\t0\t\t\n+34\t1\t4.0\t4.0\t81.0\t1.0\t0\t0\t\t\n+35\t1\t4.0\t4.0\t70.0\t1.0\t0\t0\t\t\n+36\t1\t5.9\t13.0\t94.0\t2.2\t0\t0\t\t\n+37\t1\t4.0\t10.0\t70.0\t2.5\t0\t0\t\t\n+38\t1\t4.0\t4.0\t71.0\t1.0\t0\t0\t\t\n+39\t1\t4.0\t5.0\t57.0\t1.25\t0\t0\t\t\n+40\t1\t4.0\t9.0\t60.0\t2.25\t0\t0\t\t\n+41\t1\t4.0\t8.0\t69.0\t2.0\t0\t0\t\t\n+42\t1\t4.0\t15.0\t78.0\t3.75\t0\t0\t\t\n+43\t1\t4.23\t42.0\t90.0\t9.93\t0\t1\t\t\n+44\t1\t4.0\t38.0\t73.0\t9.5\t0\t1\t\t\n+45\t1\t4.0\t14.0\t64.0\t3.5\t0\t0\t\t\n+46\t1\t4.0\t6.0\t87.0\t1.5\t0\t0\t\t\n+47\t1\t4.0\t4.0\t75.0\t1.0\t0\t0\t\t\n+48\t1\t4.0\t5.0\t48.0\t1.25\t0\t0\t\t\n+49\t1\t4.0\t7.0\t54.0\t1.75\t0\t0\t\t\n+50\t1\t4.0\t5.0\t61.0\t1.25\t0\t0\t\t\n+51\t1\t4.6\t8.0\t65.0\t1.74\t0\t0\t\t\n+52\t1\t4.0\t7.0\t50.0\t1.75\t0\t0\t\t\n+53\t1\t4.0\t0.0\t47.0\t0.0\t0\t0\t\t\n+54\t1\t4.0\t0.0\t50.0\t0.0\t0\t0\t\t\n+55\t1\t4.0\t1.0\t44.0\t0.25\t0\t0\t\t\n+56\t1\t4.0\t3.0\t44.0\t0.75\t0\t0\t\t\n+57\t1\t4.0\t4.0\t51.0\t1.0\t0\t0\t\t\n+58\t1\t4.13\t24.0\t156.0\t5.81\t0\t0\t\t\n+59\t1\t4.0\t26.0\t245.0\t6.5\t0\t0\t\t\n+60\t1\t4.0\t15.0\t188.0\t3.75\t0\t0\t\t\n+61\t1\t4.0\t11.0\t116.0\t2.75\t0\t0\t\t\n+62\t1\t4.0\t9.0\t105.0\t2.25\t0\t0\t\t\n+63\t1\t4.0\t9.0\t172.0\t2.25\t0\t0\t\t\n+64\t1\t4.0\t12.0\t216.0\t3.0\t0\t0\t\t\n+65\t1\t5.86\t36.0\t318.0\t6.14\t0\t0\t\t\n+66\t1\t4.0\t31.0\t52.0\t7.75\t0\t1\t\t\n+67\t1\t4.0\t17.0\t25.0\t4.25\t0\t1\t\t\n+68\t1\t4.28\t20.0\t62.0\t4.67\t0\t0\t\t\n+69\t1\t4.0\t13.0\t76.0\t3.25\t0\t0\t\t\n+70\t1\t4.0\t19.0\t62.0\t4.75\t0\t0\t\t\n+71\t1\t4.0\t20.0\t72.0\t5.0\t0\t0\t\t\n+72\t1\t4.0\t6.0\t87.0\t1.5\t0\t0\t\t\n+73\t1\t4.0\t5.0\t75.0\t1.25\t0\t0\t\t\n+74\t1\t4.0\t13.0\t63.0\t3.25\t0\t0\t\t\n+75\t1\t5.31\t17.0\t92.0\t3.2\t0\t0\t\t\n+76\t1\t4.0\t7.0\t60.0\t1.75\t0\t0\t\t\n+77\t1\t4.0\t3.0\t66.0\t0.75\t0\t0\t\t\n+78\t1\t4.0\t1.0\t65.0\t0.25\t0\t0\t\t\n+79\t1\t4.0\t3.0\t56.0\t0.75\t0\t0\t\t\n+80\t1\t4.0\t3.0\t56.0\t0.75\t0\t0\t\t\n+81\t1\t4.0\t15.0\t59.0\t3.75\t0\t0\t\t\n+82\t1\t4.84\t33.0\t84.0\t6.82\t0\t1\t\t\n+83\t1\t4.0\t19.0\t89.0\t4.75\t0\t0\t\t\n+84\t1\t4.0\t7.0\t100.0\t1.75\t0\t0\t\t\n+85\t1\t4.0\t4.0\t109.0\t1.0\t0\t0\t\t\n+86\t1\t4.12\t6.0\t110.0\t1.46\t0\t0\t\t\n+87\t1\t4.0\t10.0\t117.0\t2.5\t0\t0\t\t\n+88\t1\t4.0\t17.0\t113.0\t4.25\t0\t0\t\t\n+89\t1\t4.18\t21.0\t83.0\t5.02\t0\t0\t\t\n+90\t1\t4.0\t13.0\t67.0\t3.25\t0\t0\t\t\n+91\t1\t4.0\t8.0\t58.0\t2.0\t0\t0\t\t\n+92\t1\t4.0\t5.0\t39.0\t1.25\t0\t0\t\t\n+93\t1\t4.71\t26.0\t49.0\t5.52\t0\t1\t\t\n+94\t1\t4.0\t23.0\t44.0\t5.75\t0\t1\t\t\n+95\t1\t4.0\t8.0\t40.0\t2.0\t0\t0\t\t\n+96\t1\t4.0\t8.0\t29.0\t2.0\t0\t0\t\t\n+97\t1\t4.0\t8.0\t29.0\t2.0\t0\t0\t\t\n+98\t1\t4.0\t6.0\t27.0\t1.5\t0\t0\t\t\n+99\t1\t4.0\t4.0\t44.0\t1.0\t0\t0\t\t\n+100\t1\t4.0\t2.0\t54.0\t0.5\t0\t0\t\t\n+101\t1\t4.0\t1.0\t51.0\t0.25\t0\t0\t\t\n+102\t1\t4.0\t1.0\t48.0\t0.25\t0\t0\t\t\n+103\t1\t4.0\t0.0\t37.0\t0.0\t0\t0\t\t\n+104\t1\t4.0\t0.0\t28.0\t0.0\t0\t0\t\t\n+105\t1\t4.0\t3.0\t39.0\t0.75\t0\t0\t\t\n+106\t1\t4.0\t3.0\t50.0\t0.75\t0\t0\t\t\n+107\t1\t4.0\t1.0\t34.0\t0.25\t0\t0\t\t\n+108\t1\t4.0\t3.0\t46.0\t0.75\t0\t0\t\t\n+109\t1\t5.95\t16.0\t82.0\t2.69\t0\t0\t\t\n+110\t1\t4.0\t19.0\t45.0\t4.75\t0\t1\t\t\n+111\t1\t4.0\t10.0\t35.0\t2.5\t0\t0\t\t\n+112\t1\t4.0\t7.0\t24.0\t1.75\t0\t0\t\t\n+113\t1\t4.0\t5.0\t22.0\t1.25\t0\t0\t\t\n+114\t1\t4.0\t2.0\t34.0\t0.5\t0\t0\t\t\n+115\t1\t4.0\t0.0\t37.0\t0.0\t0\t0\t\t\n+116\t1\t4.0\t3.0\t32.0\t0.75\t0\t0\t\t\n+117\t1\t4.0\t5.0\t43.0\t1.25\t0\t0\t\t\n+118\t1\t5.78\t20.0\t65.0\t3.46\t0\t0\t\t\n+119\t1\t4.0\t15.0\t85.0\t3.75\t0\t0\t\t\n+120\t1\t4.0\t15.0\t105.0\t3.75\t0\t0\t\t\n+121\t1\t4.0\t15.0\t91.0\t3.75\t0\t0\t\t\n+122\t1\t4.94\t10.0\t108.0\t2.02\t0\t0\t\t\n+123\t1\t4.0\t8.0\t66.0\t2.0\t0\t0\t\t\n+124\t1\t4.0\t8.0\t60.0\t2.0\t0\t0\t\t\n+125\t1\t4.0\t9.0\t48.0\t2.25\t0\t0\t\t\n+126\t1\t4.0\t13.0\t41.0\t3.25\t0\t0\t\t\n+127\t1\t4.2'..b'\t\n+718\t9\t4.0\t3.0\t19.0\t0.75\t0\t0\t\t\n+719\t9\t4.0\t2.0\t24.0\t0.5\t0\t0\t\t\n+720\t9\t4.0\t2.0\t29.0\t0.5\t0\t0\t\t\n+721\t9\t4.0\t3.0\t33.0\t0.75\t0\t0\t\t\n+722\t9\t4.0\t5.0\t27.0\t1.25\t0\t0\t\t\n+723\t9\t4.0\t5.0\t21.0\t1.25\t0\t0\t\t\n+724\t9\t4.44\t7.0\t106.0\t1.58\t0\t0\t\t\n+725\t9\t4.0\t4.0\t152.0\t1.0\t0\t0\t\t\n+726\t9\t4.0\t2.0\t157.0\t0.5\t0\t-1\t\t\n+727\t9\t4.0\t2.0\t130.0\t0.5\t0\t0\t\t\n+728\t9\t4.0\t4.0\t51.0\t1.0\t0\t0\t\t\n+729\t9\t4.0\t5.0\t38.0\t1.25\t0\t0\t\t\n+730\t9\t4.0\t5.0\t35.0\t1.25\t0\t0\t\t\n+731\t9\t4.0\t10.0\t34.0\t2.5\t0\t0\t\t\n+732\t9\t4.0\t12.0\t50.0\t3.0\t0\t0\t\t\n+733\t9\t5.11\t20.0\t63.0\t3.91\t0\t0\t\t\n+734\t9\t4.0\t15.0\t57.0\t3.75\t0\t0\t\t\n+735\t9\t4.0\t9.0\t66.0\t2.25\t0\t0\t\t\n+736\t9\t4.0\t10.0\t44.0\t2.5\t0\t0\t\t\n+737\t9\t4.0\t8.0\t54.0\t2.0\t0\t0\t\t\n+738\t9\t4.0\t4.0\t69.0\t1.0\t0\t0\t\t\n+739\t9\t4.0\t3.0\t87.0\t0.75\t0\t0\t\t\n+740\t9\t4.0\t2.0\t142.0\t0.5\t0\t-1\t\t\n+741\t9\t4.0\t3.0\t169.0\t0.75\t0\t-1\t\t\n+742\t9\t4.0\t4.0\t152.0\t1.0\t0\t0\t\t\n+743\t9\t4.0\t3.0\t151.0\t0.75\t0\t-1\t\t\n+744\t9\t4.0\t1.0\t162.0\t0.25\t0\t-1\t\t\n+745\t9\t4.0\t2.0\t167.0\t0.5\t0\t-1\t\t\n+746\t9\t5.08\t19.0\t196.0\t3.74\t0\t0\t\t\n+747\t9\t4.0\t28.0\t110.0\t7.0\t0\t0\t\t\n+748\t9\t5.68\t35.0\t110.0\t6.16\t0\t1\t\t\n+749\t9\t4.0\t13.0\t54.0\t3.25\t0\t0\t\t\n+750\t9\t4.0\t5.0\t38.0\t1.25\t0\t0\t\t\n+751\t9\t4.0\t3.0\t60.0\t0.75\t0\t0\t\t\n+752\t9\t4.0\t3.0\t80.0\t0.75\t0\t0\t\t\n+753\t9\t4.0\t2.0\t77.0\t0.5\t0\t0\t\t\n+754\t9\t4.0\t1.0\t70.0\t0.25\t0\t0\t\t\n+755\t9\t4.0\t1.0\t52.0\t0.25\t0\t0\t\t\n+756\t9\t4.0\t2.0\t67.0\t0.5\t0\t0\t\t\n+757\t9\t4.0\t4.0\t71.0\t1.0\t0\t0\t\t\n+758\t9\t4.0\t4.0\t59.0\t1.0\t0\t0\t\t\n+759\t9\t4.7\t20.0\t59.0\t4.26\t0\t0\t\t\n+760\t9\t4.0\t20.0\t76.0\t5.0\t0\t0\t\t\n+761\t9\t4.27\t10.0\t79.0\t2.34\t0\t0\t\t\n+762\t9\t4.0\t9.0\t25.0\t2.25\t0\t0\t\t\n+763\t9\t4.0\t9.0\t12.0\t2.25\t0\t0\t\t\n+764\t9\t4.0\t5.0\t18.0\t1.25\t0\t0\t\t\n+765\t9\t4.0\t2.0\t39.0\t0.5\t0\t0\t\t\n+766\t9\t4.0\t3.0\t41.0\t0.75\t0\t0\t\t\n+767\t9\t4.0\t2.0\t27.0\t0.5\t0\t0\t\t\n+768\t9\t5.6\t2.0\t27.0\t0.36\t0\t0\t\t\n+769\t9\t4.0\t3.0\t30.0\t0.75\t0\t0\t\t\n+770\t9\t4.0\t3.0\t39.0\t0.75\t0\t0\t\t\n+771\t9\t4.0\t3.0\t22.0\t0.75\t0\t0\t\t\n+772\t9\t4.0\t4.0\t27.0\t1.0\t0\t0\t\t\n+773\t9\t4.0\t3.0\t29.0\t0.75\t0\t0\t\t\n+774\t9\t4.0\t6.0\t16.0\t1.5\t0\t0\t\t\n+775\t9\t4.0\t12.0\t16.0\t3.0\t0\t0\t\t\n+776\t9\t4.4\t25.0\t19.0\t5.68\t0\t1\t\t\n+777\t10\t4.0\t17.0\t29.0\t4.25\t0\t1\t\t\n+778\t10\t4.0\t6.0\t18.0\t1.5\t0\t0\t\t\n+779\t10\t4.0\t4.0\t6.0\t1.0\t0\t0\t\t\n+780\t10\t4.0\t2.0\t18.0\t0.5\t0\t0\t\t\n+781\t10\t4.0\t1.0\t20.0\t0.25\t0\t0\t\t\n+782\t10\t4.0\t2.0\t20.0\t0.5\t0\t0\t\t\n+783\t10\t5.02\t2.0\t26.0\t0.4\t0\t0\t\t\n+784\t10\t4.0\t1.0\t22.0\t0.25\t0\t0\t\t\n+785\t10\t4.0\t0.0\t22.0\t0.0\t0\t0\t\t\n+786\t10\t4.0\t0.0\t14.0\t0.0\t0\t0\t\t\n+787\t10\t4.0\t1.0\t14.0\t0.25\t0\t0\t\t\n+788\t10\t4.0\t3.0\t12.0\t0.75\t0\t0\t\t\n+789\t10\t4.0\t2.0\t11.0\t0.5\t0\t0\t\t\n+790\t10\t4.0\t2.0\t7.0\t0.5\t0\t0\t\t\n+791\t10\t5.55\t6.0\t23.0\t1.08\t0\t0\t\t\n+792\t10\t4.0\t5.0\t24.0\t1.25\t0\t0\t\t\n+793\t10\t4.0\t7.0\t36.0\t1.75\t0\t0\t\t\n+794\t10\t4.0\t6.0\t33.0\t1.5\t0\t0\t\t\n+795\t10\t4.0\t11.0\t12.0\t2.75\t0\t0\t\t\n+796\t10\t4.0\t10.0\t15.0\t2.5\t0\t0\t\t\n+797\t10\t5.48\t18.0\t232.0\t3.28\t0\t0\t\t\n+798\t10\t4.0\t19.0\t279.0\t4.75\t0\t0\t\t\n+799\t10\t4.0\t14.0\t192.0\t3.5\t0\t0\t\t\n+800\t10\t4.94\t43.0\t265.0\t8.7\t0\t0\t\t\n+801\t10\t4.0\t37.0\t125.0\t9.25\t0\t1\t\t\n+802\t10\t4.0\t19.0\t137.0\t4.75\t0\t0\t\t\n+803\t10\t4.0\t10.0\t91.0\t2.5\t0\t0\t\t\n+804\t10\t4.0\t7.0\t85.0\t1.75\t0\t0\t\t\n+805\t10\t4.0\t7.0\t104.0\t1.75\t0\t0\t\t\n+806\t10\t4.0\t6.0\t110.0\t1.5\t0\t0\t\t\n+807\t10\t4.0\t5.0\t113.0\t1.25\t0\t0\t\t\n+808\t10\t4.0\t7.0\t106.0\t1.75\t0\t0\t\t\n+809\t10\t4.0\t10.0\t133.0\t2.5\t0\t0\t\t\n+810\t10\t4.0\t14.0\t174.0\t3.5\t0\t0\t\t\n+811\t10\t4.18\t41.0\t143.0\t9.81\t0\t1\t\t\n+812\t10\t4.0\t32.0\t73.0\t8.0\t0\t1\t\t\n+813\t10\t4.0\t12.0\t72.0\t3.0\t0\t0\t\t\n+814\t10\t4.38\t10.0\t71.0\t2.28\t0\t0\t\t\n+815\t10\t4.0\t6.0\t62.0\t1.5\t0\t0\t\t\n+816\t10\t4.0\t11.0\t81.0\t2.75\t0\t0\t\t\n+817\t10\t4.0\t14.0\t70.0\t3.5\t0\t0\t\t\n+818\t10\t5.07\t7.0\t46.0\t1.38\t0\t0\t\t\n+819\t10\t4.0\t3.0\t11.0\t0.75\t0\t0\t\t\n+820\t10\t4.0\t2.0\t11.0\t0.5\t0\t0\t\t\n+821\t10\t4.0\t3.0\t15.0\t0.75\t0\t0\t\t\n+822\t10\t4.05\t2.0\t23.0\t0.49\t0\t0\t\t\n+823\t10\t4.0\t2.0\t21.0\t0.5\t0\t0\t\t\n+824\t10\t5.93\t10.0\t36.0\t1.69\t0\t0\t\t\n+825\t10\t4.0\t13.0\t29.0\t3.25\t0\t0\t\t\n+826\t10\t4.0\t12.0\t32.0\t3.0\t0\t0\t\t\n+827\t10\t4.0\t11.0\t50.0\t2.75\t0\t0\t\t\n+828\t10\t4.0\t8.0\t59.0\t2.0\t0\t0\t\t\n+829\t10\t4.0\t6.0\t52.0\t1.5\t0\t0\t\t\n+830\t10\t5.03\t7.0\t68.0\t1.39\t0\t0\t\t\n+831\t10\t4.0\t5.0\t36.0\t1.25\t0\t0\t\t\n+832\t10\t4.0\t4.0\t33.0\t1.0\t0\t0\t\t\n+833\t10\t4.0\t0.0\t38.0\t0.0\t0\t0\t\t\n+834\t10\t4.0\t2.0\t26.0\t0.5\t0\t0\t\t\n+835\t10\t4.0\t4.0\t20.0\t1.0\t0\t0\t\t\n+836\t10\t4.9\t7.0\t38.0\t1.43\t0\t0\t\t\n+837\t10\t4.0\t8.0\t33.0\t2.0\t0\t0\t\t\n+838\t10\t4.0\t12.0\t48.0\t3.0\t0\t0\t\t\n+839\t10\t4.0\t8.0\t60.0\t2.0\t0\t0\t\t\n+840\t10\t4.0\t2.0\t49.0\t0.5\t0\t0\t\t\n+841\t10\t4.0\t2.0\t53.0\t0.5\t0\t0\t\t\n+842\t10\t4.0\t5.0\t57.0\t1.25\t0\t0\t\t\n+843\t10\t4.95\t16.0\t43.0\t3.23\t0\t0\t\t\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/full_summary.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/full_summary.txt Fri Mar 18 05:26:20 2016 -0400
[
@@ -0,0 +1,20 @@
+Total number of eQTLs (all) 20206
+Total number of cis-eQTLs 4480
+Total number of trans-eQTLs 12539
+Total number of genes 31036
+Total number of cM 1861.57
+Expected number of eQTL per cM (all) 10.85
+Expected number of cis-eQTL per cM 2.41
+Expected number of trans-eQTL per cM 6.74
+Expected number of genes per cM 16.67
+User specified number of permutations 10
+Number of intervals per sliding window 2
+Calculated permutation threshold for all eQTL (eQTL/cM) 25.55
+Chi-squared test population estimate for all eQTL (genes:eQTL) 0.606:0.394
+Chi-squared test assumption for all eQTL: min number of [eQTL + genes] in bin 12.68
+Calculated permutation threshold for all eQTL (eQTL/cM) 11.1
+Chi-squared test population estimate for cis-eQTL (genes:eQTL) 0.874:0.126
+Chi-squared test assumption for cis-eQTL: min number of [eQTL + genes] in bin 39.64
+Calculated permutation threshold for all eQTL (eQTL/cM) 19.55
+Chi-squared test population estimate for trans-eQTL (genes:eQTL) 0.712:0.288
+Chi-squared test assumption for trans-eQTL: min number of [eQTL + genes] in bin 17.38
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/trans_eQTL_lists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/trans_eQTL_lists.txt Fri Mar 18 05:26:20 2016 -0400
[
b'@@ -0,0 +1,4394 @@\n+\n+\n+= = = = =   Hotspot 1  chr 1\tsliding.ids: [74, 75]\tint.ids: [87, 88, 89, 90]\tnr.eQTL: 210   = = = = =\n+A_92_P003179\t38\t1\t14\t1.5189\t15\t1.7242\t14\t1.5898\t13.0923923\t0.1160958\t0.4419218\t-717.8261159\ttrans\t87\t564\t0\t.\n+A_92_P040234\t113\t1\t14\t1.523\t14\t1.6374\t14\t1.5898\t13.2375371\t0.1735545\t0.3289205\t59.89843\ttrans\t87\t249\t0\t.\n+A_92_P010026\t281\t1\t13\t1.4894\t15\t1.7176\t14\t1.5898\t14.0601315\t0.1384158\t0.3598481\t73.9672424\ttrans\t87\t582\t0\t.\n+A_92_P013318\t83\t1\t14\t1.5128\t15\t1.704\t14\t1.5898\t14.6497404\t0.1577078\t0.3506962\t61.3618832\ttrans\t87\t307\t0\t.\n+A_92_P010934\t316\t1\t14\t1.5058\t15\t1.657\t14\t1.5898\t14.7928872\t0.1538131\t0.4378542\t447.3949532\ttrans\t87\t229\t0\t.\n+A_92_P005089\t213\t1\t14\t1.5317\t15\t1.6638\t14\t1.5898\t15.3848572\t0.1430201\t0.5322223\t-510.4079798\ttrans\t87\t606\t0\t.\n+A_92_P019196\t146\t1\t14\t1.5161\t15\t1.6795\t14\t1.5898\t15.4363838\t0.210801\t0.3489457\t45.5565171\ttrans\t87\t304\t0\t.\n+A_92_P034484\t314\t1\t14\t1.5351\t14\t1.6344\t14\t1.5898\t15.6193027\t0.2667804\t0.4981222\t83.116333\ttrans\t87\t315\t0\t.\n+A_92_P029527\t88\t1\t14\t1.5085\t15\t1.6749\t14\t1.5898\t15.8585378\t0.1866631\t0.4132141\t43.4457378\ttrans\t87\t51\t0\t.\n+A_92_P019550\t465\t1\t14\t1.5255\t15\t1.6937\t14\t1.5898\t16.3973945\t0.1825587\t0.4307305\t70.9673904\ttrans\t87\t973\t0\t.\n+A_92_P015509\t433\t1\t14\t1.5238\t15\t1.6782\t14\t1.5898\t16.5765696\t0.1918636\t0.4102299\t44.5146505\ttrans\t87\t103\t0\t.\n+A_92_P020228\t491\t1\t14\t1.5225\t15\t1.7139\t14\t1.5898\t17.0050812\t0.181226\t0.4329947\t33.041952\ttrans\t87\t305\t0\t.\n+A_92_P020952\t272\t1\t14\t1.5245\t15\t1.6678\t14\t1.5898\t17.7956999\t0.1753027\t0.4275846\t82.4954784\ttrans\t87\t719\t0\t.\n+A_92_P035419\t163\t1\t14\t1.5251\t15\t1.6805\t14\t1.5898\t18.1336444\t0.1862053\t0.4747777\t-580.4085042\ttrans\t87\t551\t0\t.\n+A_92_P024212\t422\t1\t14\t1.5448\t14\t1.6326\t14\t1.5898\t18.1712392\t0.2676188\t0.6450103\t55.3143304\ttrans\t87\t19\t0\t.\n+A_92_P018238\t427\t1\t14\t1.5263\t14\t1.6418\t14\t1.5898\t18.6969557\t0.2559993\t0.6946255\t24.778157\ttrans\t87\t140\t0\t.\n+A_92_P027791\t460\t1\t14\t1.5335\t15\t1.6739\t14\t1.5898\t19.0296161\t0.15211\t0.5963342\t102.1026941\ttrans\t87\tNA\t0\t.\n+A_92_P020251\t438\t1\t14\t1.5218\t15\t1.7031\t14\t1.5898\t19.5125058\t0.1877314\t0.4669267\t41.5530694\ttrans\t87\t359\t0\t.\n+A_92_P019386\t429\t1\t14\t1.5312\t15\t1.6945\t14\t1.5898\t20.4233172\t0.2305457\t0.3641347\t181.037916\ttrans\t87\t743\t0\t.\n+A_92_P031316\t89\t1\t14\t1.5241\t15\t1.6676\t14\t1.5898\t20.4552067\t0.1933242\t0.4532889\t102.7859024\ttrans\t87\t112\t0\t.\n+A_92_P008124\t132\t1\t14\t1.5264\t15\t1.683\t14\t1.5898\t20.8435472\t0.1892662\t0.4637044\t-330.5978593\ttrans\t87\t23\t0\t.\n+A_92_P014832\t344\t1\t14\t1.5166\t15\t1.6494\t14\t1.5898\t27.4311982\t0.2471627\t0.4651858\t114.6228674\ttrans\t87\t141\t0\t.\n+A_92_P036378\t357\t1\t14\t1.5411\t14\t1.6261\t14\t1.5898\t30.8567878\t0.385263\t0.5434175\t183.8262266\ttrans\t87\t286\t0\t.\n+A_92_P034671\t70\t1\t14\t1.5292\t14\t1.6307\t14\t1.5898\t38.5498946\t0.4156107\t0.4744508\t-155.7969017\ttrans\t87\t92\t0\t.\n+A_92_P023241\t167\t1\t14\t1.521\t15\t1.7113\t14\t1.6098\t13.028027\t0.122258\t0.3383303\t107.3854869\ttrans\t88\t146\t0\t.\n+A_92_P034274\t40\t1\t14\t1.5319\t15\t1.7128\t14\t1.6098\t13.0654593\t0.1431467\t0.468354\t24.4816303\ttrans\t88\t813\t0\t.\n+A_92_P032985\t317\t1\t14\t1.5291\t15\t1.6971\t14\t1.6098\t13.0663104\t0.1265677\t0.3900438\t-56.1153277\ttrans\t88\t770\t0\t.\n+A_92_P019149\t334\t1\t14\t1.531\t15\t1.703\t14\t1.6098\t13.1030272\t0.116298\t0.3966378\t285.3518075\ttrans\t88\t815\t0\t.\n+A_92_P022739\t245\t1\t14\t1.5286\t15\t1.6982\t14\t1.6098\t13.4051519\t0.1265311\t0.3506904\t170.8891589\ttrans\t88\tNA\t0\t.\n+A_92_P023193\t211\t1\t14\t1.5259\t15\t1.7074\t14\t1.6098\t13.4739726\t0.0941342\t0.5076846\t76.4521831\ttrans\t88\t573\t0\t.\n+A_92_P033701\t281\t1\t14\t1.5218\t15\t1.7336\t14\t1.6098\t13.5284808\t0.1161719\t0.4814762\t45.5715939\ttrans\t88\t981\t0\t.\n+A_92_P029582\t462\t1\t14\t1.5225\t15\t1.7127\t14\t1.6098\t13.5346759\t0.1386997\t0.320134\t65.8201383\ttrans\t88\t1016\t0\t.\n+A_92_P019115\t514\t1\t14\t1.5164\t15\t1.6872\t14\t1.6098\t13.5365553\t0.1342559\t0.3106255\t-229.2124125\ttrans\t88\tNA\t0\t.\n+A_92_P022953\t86\t1\t14\t1.5403\t15\t1.6944\t14\t1.6098\t13.7273862\t0.2171572\t0.485182\t31.1509337\ttrans\t88\t391\t0\t.\n+A_92_P010860\t307\t1\t14\t1.5223\t15\t1.6713\t14\t1.6098\t13.7304423\t0.1387\t0.4219987\t287.7398175\ttrans\t88\t814\t0\t.\n+A_92_P021792\t54\t1\t14\t1.526\t15\t1.7162\t14\t1.6098\t13.7867804\t0.1154861\t0.4159'..b'9\t389\t10\t12\t1.4009\t12\t1.4654\t12\t1.4654\t16.4946379\t0.1289565\t0.3588333\t136.4280208\ttrans\t1018\t65\t0\t.\n+A_92_P017856\t165\t10\t12\t1.3985\t12\t1.4654\t12\t1.4654\t16.5538165\t0.1146083\t0.4619278\t303.0514736\ttrans\t1018\t265\t0\t.\n+A_92_P019451\t484\t10\t12\t1.4053\t12\t1.4654\t12\t1.4654\t16.6075\t0.1687392\t0.2576187\t46.1932181\ttrans\t1018\t546\t0\t.\n+A_92_P028996\t369\t10\t12\t1.3709\t12\t1.4654\t12\t1.4654\t16.6619528\t0.1397577\t0.4290501\t137.0815762\ttrans\t1018\t75\t0\t.\n+A_92_P026685\t257\t10\t12\t1.3958\t12\t1.4654\t12\t1.4654\t16.6886335\t0.1724425\t0.3907943\t34.2811594\ttrans\t1018\t225\t0\t.\n+A_92_P013929\t465\t10\t12\t1.4032\t12\t1.4654\t12\t1.4654\t16.8962486\t0.1778078\t0.3852615\t35.7024229\ttrans\t1018\t101\t0\t.\n+A_92_P021666\t69\t10\t12\t1.3823\t12\t1.4654\t12\t1.4654\t17.1118091\t0.2339957\t0.4673064\t40.0375189\ttrans\t1018\t558\t0\t.\n+A_92_P041671\t528\t10\t12\t1.3782\t12\t1.4654\t12\t1.4654\t17.1941578\t0.1657864\t0.344375\t479.1024425\ttrans\t1018\t534\t0\t.\n+A_92_P027061\t298\t10\t12\t1.3948\t12\t1.4654\t12\t1.4654\t17.363954\t0.1797989\t0.4700252\t27.6240992\ttrans\t1018\tNA\t0\t.\n+A_92_P021184\t71\t10\t12\t1.3684\t12\t1.4654\t12\t1.4654\t17.3851095\t0.1740818\t0.3531018\t66.3308884\ttrans\t1018\t973\t0\t.\n+A_92_P037023\t274\t10\t12\t1.3982\t12\t1.4654\t12\t1.4654\t17.3874606\t0.1323351\t0.4565953\t106.0068081\ttrans\t1018\t544\t0\t.\n+A_92_P024198\t450\t10\t12\t1.3915\t12\t1.4654\t12\t1.4654\t17.6795574\t0.1260373\t0.4285465\t151.8217473\ttrans\t1018\t979\t0\t.\n+A_92_P032670\t404\t10\t12\t1.3545\t12\t1.4654\t12\t1.4654\t17.8113247\t0.1484826\t0.374541\t136.8270242\ttrans\t1018\t250\t0\t.\n+A_92_P023362\t92\t10\t12\t1.4232\t12\t1.4654\t12\t1.4654\t17.9370876\t0.2274342\t0.4691999\t37.6169444\ttrans\t1018\t878\t0\t.\n+A_92_P026076\t337\t10\t12\t1.3786\t12\t1.4654\t12\t1.4654\t18.846987\t0.1799499\t0.4903461\t27.9365639\ttrans\t1018\t899\t0\t.\n+A_92_P017582\t504\t10\t12\t1.4185\t12\t1.4654\t12\t1.4654\t18.8476534\t0.1805079\t0.4249404\t21.8416197\ttrans\t1018\t544\t0\t.\n+A_92_P025425\t410\t10\t12\t1.4043\t12\t1.4654\t12\t1.4654\t18.8789084\t0.1657852\t0.3476669\t48.4248141\ttrans\t1018\t470\t0\t.\n+A_92_P022234\t341\t10\t12\t1.3865\t12\t1.4654\t12\t1.4654\t19.1075367\t0.2133459\t0.4348225\t57.420108\ttrans\t1018\t212\t0\t.\n+A_92_P025306\t112\t10\t12\t1.3958\t12\t1.4654\t12\t1.4654\t19.3425356\t0.1482326\t0.3938621\t52.402676\ttrans\t1018\tNA\t0\t.\n+A_92_P009598\t541\t10\t12\t1.3937\t12\t1.4654\t12\t1.4654\t19.5381805\t0.1251372\t0.6625968\t-712.4099878\ttrans\t1018\t229\t0\t.\n+A_92_P024212\t422\t10\t12\t1.3992\t12\t1.4654\t12\t1.4654\t19.6064977\t0.2375823\t0.5002322\t52.7638845\ttrans\t1018\t19\t0\t.\n+A_92_P026028\t79\t10\t12\t1.3914\t12\t1.4654\t12\t1.4654\t20.3992708\t0.1855026\t0.3085852\t93.1442027\ttrans\t1018\t661\t0\t.\n+A_92_P021863\t515\t10\t12\t1.4073\t12\t1.4654\t12\t1.4654\t20.5831168\t0.1885752\t0.3996008\t46.6019616\ttrans\t1018\t470\t0\t.\n+A_92_P019500\t527\t10\t12\t1.3909\t12\t1.4654\t12\t1.4654\t20.7811533\t0.2171057\t0.5712754\t48.5459071\ttrans\t1018\tNA\t0\t.\n+A_92_P018605\t411\t10\t12\t1.4\t12\t1.4654\t12\t1.4654\t21.1040807\t0.2470094\t0.4272557\t18.6917552\ttrans\t1018\t430\t0\t.\n+A_92_P040676\t462\t10\t12\t1.4196\t12\t1.4654\t12\t1.4654\t21.4474993\t0.183169\t0.3762722\t222.4201279\ttrans\t1018\t18\t0\t.\n+A_92_P028742\t340\t10\t12\t1.4343\t12\t1.4654\t12\t1.4654\t23.5373748\t0.2466954\t0.3766208\t-65.1331884\ttrans\t1018\tNA\t0\t.\n+A_92_P025620\t43\t10\t12\t1.3991\t12\t1.4654\t12\t1.4654\t23.9309014\t0.2736644\t0.4796374\t116.16188\ttrans\t1018\t804\t0\t.\n+A_92_P016350\t531\t10\t12\t1.4083\t12\t1.4654\t12\t1.4654\t24.3372991\t0.1321456\t0.5915645\t915.05996\ttrans\t1018\t539\t0\t.\n+A_92_P034395\t281\t10\t12\t1.4188\t12\t1.4654\t12\t1.4654\t24.5032178\t0.2368342\t0.4777931\t953.68815\ttrans\t1018\t823\t0\t.\n+A_92_P019294\t257\t10\t12\t1.4275\t12\t1.4654\t12\t1.4654\t25.007352\t0.2890627\t0.560038\t29.7095764\ttrans\t1018\t282\t0\t.\n+A_92_P028902\t346\t10\t12\t1.4242\t12\t1.4654\t12\t1.4654\t25.7049413\t0.2114093\t0.5586152\t-39.2568299\ttrans\t1018\tNA\t0\t.\n+A_92_P033721\t509\t10\t12\t1.4111\t12\t1.4654\t12\t1.4654\t26.3758182\t0.3486156\t0.5568993\t58.1042743\ttrans\t1018\t850\t0\t.\n+A_92_P017792\t494\t10\t12\t1.4226\t12\t1.4654\t12\t1.4654\t28.3108534\t0.3267935\t0.5538729\t50.1565754\ttrans\t1018\t900\t0\t.\n+A_92_P029608\t28\t10\t12\t1.3811\t12\t1.4654\t12\t1.4654\t29.7148963\t0.1541602\t0.6267279\t-98.5869791\ttrans\t1018\tNA\t0\t.\n+A_92_P038669\t350\t10\t12\t1.4122\t12\t1.4654\t12\t1.4654\t30.2337867\t0.3997162\t0.5304303\t63.9955185\ttrans\t1018\t676\t0\t.\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/test-data/output/trans_hotspots_out.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/test-data/output/trans_hotspots_out.txt Fri Mar 18 05:26:20 2016 -0400
b
b'@@ -0,0 +1,844 @@\n+sliding.id\tchr\tsliding.cM\tsliding.all.eQTL\tsliding.genes\tsliding.all.eQTL/cM\tthreshold.result\tchisq.result\tsignificant\thotspot.number\n+1\t1\t4.0\t33.0\t46.0\t8.25\t0\t0\t\t\n+2\t1\t4.0\t10.0\t63.0\t2.5\t0\t0\t\t\n+3\t1\t5.53\t29.0\t57.0\t5.24\t0\t0\t\t\n+4\t1\t4.0\t24.0\t30.0\t6.0\t0\t0\t\t\n+5\t1\t4.0\t7.0\t29.0\t1.75\t0\t0\t\t\n+6\t1\t4.0\t6.0\t36.0\t1.5\t0\t0\t\t\n+7\t1\t4.0\t4.0\t34.0\t1.0\t0\t0\t\t\n+8\t1\t5.24\t29.0\t41.0\t5.53\t0\t0\t\t\n+9\t1\t4.0\t21.0\t53.0\t5.25\t0\t0\t\t\n+10\t1\t4.0\t6.0\t58.0\t1.5\t0\t0\t\t\n+11\t1\t4.0\t5.0\t54.0\t1.25\t0\t0\t\t\n+12\t1\t4.0\t1.0\t35.0\t0.25\t0\t0\t\t\n+13\t1\t4.0\t1.0\t22.0\t0.25\t0\t0\t\t\n+14\t1\t4.0\t3.0\t26.0\t0.75\t0\t0\t\t\n+15\t1\t4.0\t4.0\t26.0\t1.0\t0\t0\t\t\n+16\t1\t4.0\t8.0\t25.0\t2.0\t0\t0\t\t\n+17\t1\t5.94\t86.0\t59.0\t14.48\t0\t1\t\t\n+18\t1\t4.0\t71.0\t28.0\t17.75\t0\t1\t\t\n+19\t1\t5.91\t19.0\t55.0\t3.21\t0\t0\t\t\n+20\t1\t4.0\t9.0\t64.0\t2.25\t0\t0\t\t\n+21\t1\t4.11\t9.0\t61.0\t2.19\t0\t0\t\t\n+22\t1\t4.0\t9.0\t57.0\t2.25\t0\t0\t\t\n+23\t1\t4.48\t13.0\t76.0\t2.9\t0\t0\t\t\n+24\t1\t4.0\t8.0\t96.0\t2.0\t0\t-1\t\t\n+25\t1\t4.0\t3.0\t93.0\t0.75\t0\t-1\t\t\n+26\t1\t4.0\t4.0\t93.0\t1.0\t0\t-1\t\t\n+27\t1\t4.0\t3.0\t103.0\t0.75\t0\t-1\t\t\n+28\t1\t4.0\t3.0\t69.0\t0.75\t0\t-1\t\t\n+29\t1\t4.0\t2.0\t72.0\t0.5\t0\t-1\t\t\n+30\t1\t4.0\t3.0\t91.0\t0.75\t0\t-1\t\t\n+31\t1\t4.76\t14.0\t93.0\t2.94\t0\t0\t\t\n+32\t1\t4.0\t14.0\t58.0\t3.5\t0\t0\t\t\n+33\t1\t4.0\t5.0\t76.0\t1.25\t0\t-1\t\t\n+34\t1\t4.0\t2.0\t81.0\t0.5\t0\t-1\t\t\n+35\t1\t4.0\t2.0\t70.0\t0.5\t0\t-1\t\t\n+36\t1\t5.9\t25.0\t94.0\t4.24\t0\t0\t\t\n+37\t1\t4.0\t22.0\t70.0\t5.5\t0\t0\t\t\n+38\t1\t4.0\t5.0\t71.0\t1.25\t0\t-1\t\t\n+39\t1\t4.0\t3.0\t57.0\t0.75\t0\t-1\t\t\n+40\t1\t4.0\t1.0\t60.0\t0.25\t0\t-1\t\t\n+41\t1\t4.0\t3.0\t69.0\t0.75\t0\t-1\t\t\n+42\t1\t4.0\t6.0\t78.0\t1.5\t0\t-1\t\t\n+43\t1\t4.23\t35.0\t90.0\t8.27\t0\t0\t\t\n+44\t1\t4.0\t34.0\t73.0\t8.5\t0\t0\t\t\n+45\t1\t4.0\t8.0\t64.0\t2.0\t0\t0\t\t\n+46\t1\t4.0\t4.0\t87.0\t1.0\t0\t-1\t\t\n+47\t1\t4.0\t3.0\t75.0\t0.75\t0\t-1\t\t\n+48\t1\t4.0\t3.0\t48.0\t0.75\t0\t0\t\t\n+49\t1\t4.0\t3.0\t54.0\t0.75\t0\t-1\t\t\n+50\t1\t4.0\t5.0\t61.0\t1.25\t0\t0\t\t\n+51\t1\t4.6\t33.0\t65.0\t7.17\t0\t0\t\t\n+52\t1\t4.0\t28.0\t50.0\t7.0\t0\t0\t\t\n+53\t1\t4.0\t4.0\t47.0\t1.0\t0\t0\t\t\n+54\t1\t4.0\t2.0\t50.0\t0.5\t0\t-1\t\t\n+55\t1\t4.0\t3.0\t44.0\t0.75\t0\t0\t\t\n+56\t1\t4.0\t8.0\t44.0\t2.0\t0\t0\t\t\n+57\t1\t4.0\t7.0\t51.0\t1.75\t0\t0\t\t\n+58\t1\t4.13\t25.0\t156.0\t6.05\t0\t-1\t\t\n+59\t1\t4.0\t22.0\t245.0\t5.5\t0\t-1\t\t\n+60\t1\t4.0\t9.0\t188.0\t2.25\t0\t-1\t\t\n+61\t1\t4.0\t7.0\t116.0\t1.75\t0\t-1\t\t\n+62\t1\t4.0\t5.0\t105.0\t1.25\t0\t-1\t\t\n+63\t1\t4.0\t5.0\t172.0\t1.25\t0\t-1\t\t\n+64\t1\t4.0\t8.0\t216.0\t2.0\t0\t-1\t\t\n+65\t1\t5.86\t38.0\t318.0\t6.48\t0\t-1\t\t\n+66\t1\t4.0\t36.0\t52.0\t9.0\t0\t0\t\t\n+67\t1\t4.0\t16.0\t25.0\t4.0\t0\t0\t\t\n+68\t1\t4.28\t27.0\t62.0\t6.31\t0\t0\t\t\n+69\t1\t4.0\t20.0\t76.0\t5.0\t0\t0\t\t\n+70\t1\t4.0\t11.0\t62.0\t2.75\t0\t0\t\t\n+71\t1\t4.0\t17.0\t72.0\t4.25\t0\t0\t\t\n+72\t1\t4.0\t22.0\t87.0\t5.5\t0\t0\t\t\n+73\t1\t4.0\t36.0\t75.0\t9.0\t0\t0\t\t\n+74\t1\t4.0\t79.0\t63.0\t19.75\t1\t1\t*\t1\n+75\t1\t5.31\t186.0\t92.0\t35.03\t1\t1\t*\t1\n+76\t1\t4.0\t74.0\t60.0\t18.5\t0\t1\t\t\n+77\t1\t4.0\t14.0\t66.0\t3.5\t0\t0\t\t\n+78\t1\t4.0\t9.0\t65.0\t2.25\t0\t0\t\t\n+79\t1\t4.0\t7.0\t56.0\t1.75\t0\t0\t\t\n+80\t1\t4.0\t10.0\t56.0\t2.5\t0\t0\t\t\n+81\t1\t4.0\t13.0\t59.0\t3.25\t0\t0\t\t\n+82\t1\t4.84\t66.0\t84.0\t13.64\t0\t1\t\t\n+83\t1\t4.0\t64.0\t89.0\t16.0\t0\t0\t\t\n+84\t1\t4.0\t12.0\t100.0\t3.0\t0\t-1\t\t\n+85\t1\t4.0\t10.0\t109.0\t2.5\t0\t-1\t\t\n+86\t1\t4.12\t31.0\t110.0\t7.52\t0\t0\t\t\n+87\t1\t4.0\t26.0\t117.0\t6.5\t0\t0\t\t\n+88\t1\t4.0\t25.0\t113.0\t6.25\t0\t0\t\t\n+89\t1\t4.18\t53.0\t83.0\t12.68\t0\t0\t\t\n+90\t1\t4.0\t38.0\t67.0\t9.5\t0\t0\t\t\n+91\t1\t4.0\t18.0\t58.0\t4.5\t0\t0\t\t\n+92\t1\t4.0\t34.0\t39.0\t8.5\t0\t0\t\t\n+93\t1\t4.71\t261.0\t49.0\t55.41\t1\t1\t*\t2\n+94\t1\t4.0\t213.0\t44.0\t53.25\t1\t1\t*\t2\n+95\t1\t4.0\t28.0\t40.0\t7.0\t0\t0\t\t\n+96\t1\t4.0\t32.0\t29.0\t8.0\t0\t1\t\t\n+97\t1\t4.0\t25.0\t29.0\t6.25\t0\t0\t\t\n+98\t1\t4.0\t17.0\t27.0\t4.25\t0\t0\t\t\n+99\t1\t4.0\t17.0\t44.0\t4.25\t0\t0\t\t\n+100\t1\t4.0\t17.0\t54.0\t4.25\t0\t0\t\t\n+101\t1\t4.0\t11.0\t51.0\t2.75\t0\t0\t\t\n+102\t1\t4.0\t4.0\t48.0\t1.0\t0\t0\t\t\n+103\t1\t4.0\t8.0\t37.0\t2.0\t0\t0\t\t\n+104\t1\t4.0\t10.0\t28.0\t2.5\t0\t0\t\t\n+105\t1\t4.0\t17.0\t39.0\t4.25\t0\t0\t\t\n+106\t1\t4.0\t26.0\t50.0\t6.5\t0\t0\t\t\n+107\t1\t4.0\t26.0\t34.0\t6.5\t0\t0\t\t\n+108\t1\t4.0\t22.0\t46.0\t5.5\t0\t0\t\t\n+109\t1\t5.95\t105.0\t82.0\t17.65\t0\t1\t\t\n+110\t1\t4.0\t96.0\t45.0\t24.0\t1\t1\t*\t3\n+111\t1\t4.0\t28.0\t35.0\t7.0\t0\t0\t\t\n+112\t1\t4.0\t20.0\t24.0\t5.0\t0\t0\t\t\n+113\t1\t4.0\t9.0\t22.0\t2.25\t0\t0\t\t\n+114\t1\t4.0\t4.0\t34.0\t1.0\t0\t0\t\t\n+115\t1\t4.0\t5.0\t37.0\t1.25\t0\t0\t\t\n+116\t1\t4.0\t4.0\t32.0\t1.0\t0\t0\t\t\n+117\t1\t4.0\t2.0\t43.0\t0.5\t0\t0\t\t\n+118\t1\t5.78\t54.0\t65.0\t9.34\t0\t1\t\t\n+119\t1\t4.0\t53.0\t85.0\t13.25\t0\t0\t\t\n+120\t1\t4.0\t8.0\t105.0\t2.0\t0\t-1\t\t\n+121\t1\t4.0\t4.0\t91.0\t1.0\t0\t-1\t\t\n+122\t1\t4.94\t19.0\t108.0\t3.85\t0\t0\t\t\n+123\t1\t4.0\t20.0\t66.0\t5.0\t0\t0\t\t\n+124\t1\t4.0\t7.0\t60.0\t1.75\t0\t0\t\t\n+125\t1'..b'1.5\t0\t0\t\t\n+723\t9\t4.0\t6.0\t21.0\t1.5\t0\t0\t\t\n+724\t9\t4.44\t21.0\t106.0\t4.73\t0\t0\t\t\n+725\t9\t4.0\t20.0\t152.0\t5.0\t0\t-1\t\t\n+726\t9\t4.0\t10.0\t157.0\t2.5\t0\t-1\t\t\n+727\t9\t4.0\t13.0\t130.0\t3.25\t0\t-1\t\t\n+728\t9\t4.0\t12.0\t51.0\t3.0\t0\t0\t\t\n+729\t9\t4.0\t7.0\t38.0\t1.75\t0\t0\t\t\n+730\t9\t4.0\t11.0\t35.0\t2.75\t0\t0\t\t\n+731\t9\t4.0\t16.0\t34.0\t4.0\t0\t0\t\t\n+732\t9\t4.0\t20.0\t50.0\t5.0\t0\t0\t\t\n+733\t9\t5.11\t46.0\t63.0\t9.0\t0\t0\t\t\n+734\t9\t4.0\t33.0\t57.0\t8.25\t0\t0\t\t\n+735\t9\t4.0\t8.0\t66.0\t2.0\t0\t0\t\t\n+736\t9\t4.0\t3.0\t44.0\t0.75\t0\t0\t\t\n+737\t9\t4.0\t5.0\t54.0\t1.25\t0\t0\t\t\n+738\t9\t4.0\t6.0\t69.0\t1.5\t0\t-1\t\t\n+739\t9\t4.0\t3.0\t87.0\t0.75\t0\t-1\t\t\n+740\t9\t4.0\t2.0\t142.0\t0.5\t0\t-1\t\t\n+741\t9\t4.0\t2.0\t169.0\t0.5\t0\t-1\t\t\n+742\t9\t4.0\t3.0\t152.0\t0.75\t0\t-1\t\t\n+743\t9\t4.0\t5.0\t151.0\t1.25\t0\t-1\t\t\n+744\t9\t4.0\t4.0\t162.0\t1.0\t0\t-1\t\t\n+745\t9\t4.0\t5.0\t167.0\t1.25\t0\t-1\t\t\n+746\t9\t5.08\t62.0\t196.0\t12.2\t0\t0\t\t\n+747\t9\t4.0\t98.0\t110.0\t24.5\t1\t1\t*\t15\n+748\t9\t5.68\t328.0\t110.0\t57.75\t1\t1\t*\t15\n+749\t9\t4.0\t184.0\t54.0\t46.0\t1\t1\t*\t15\n+750\t9\t4.0\t46.0\t38.0\t11.5\t0\t1\t\t\n+751\t9\t4.0\t31.0\t60.0\t7.75\t0\t0\t\t\n+752\t9\t4.0\t9.0\t80.0\t2.25\t0\t0\t\t\n+753\t9\t4.0\t5.0\t77.0\t1.25\t0\t-1\t\t\n+754\t9\t4.0\t4.0\t70.0\t1.0\t0\t-1\t\t\n+755\t9\t4.0\t1.0\t52.0\t0.25\t0\t-1\t\t\n+756\t9\t4.0\t2.0\t67.0\t0.5\t0\t-1\t\t\n+757\t9\t4.0\t5.0\t71.0\t1.25\t0\t-1\t\t\n+758\t9\t4.0\t7.0\t59.0\t1.75\t0\t0\t\t\n+759\t9\t4.7\t111.0\t59.0\t23.62\t1\t1\t*\t16\n+760\t9\t4.0\t131.0\t76.0\t32.75\t1\t1\t*\t16\n+761\t9\t4.27\t59.0\t79.0\t13.82\t0\t0\t\t\n+762\t9\t4.0\t31.0\t25.0\t7.75\t0\t1\t\t\n+763\t9\t4.0\t12.0\t12.0\t3.0\t0\t0\t\t\n+764\t9\t4.0\t10.0\t18.0\t2.5\t0\t0\t\t\n+765\t9\t4.0\t10.0\t39.0\t2.5\t0\t0\t\t\n+766\t9\t4.0\t6.0\t41.0\t1.5\t0\t0\t\t\n+767\t9\t4.0\t3.0\t27.0\t0.75\t0\t0\t\t\n+768\t9\t5.6\t13.0\t27.0\t2.32\t0\t0\t\t\n+769\t9\t4.0\t9.0\t30.0\t2.25\t0\t0\t\t\n+770\t9\t4.0\t3.0\t39.0\t0.75\t0\t0\t\t\n+771\t9\t4.0\t5.0\t22.0\t1.25\t0\t0\t\t\n+772\t9\t4.0\t7.0\t27.0\t1.75\t0\t0\t\t\n+773\t9\t4.0\t3.0\t29.0\t0.75\t0\t0\t\t\n+774\t9\t4.0\t4.0\t16.0\t1.0\t0\t0\t\t\n+775\t9\t4.0\t28.0\t16.0\t7.0\t0\t1\t\t\n+776\t9\t4.4\t156.0\t19.0\t35.45\t1\t1\t*\t17\n+777\t10\t4.0\t98.0\t29.0\t24.5\t1\t1\t*\t18\n+778\t10\t4.0\t90.0\t18.0\t22.5\t1\t1\t*\t18\n+779\t10\t4.0\t78.0\t6.0\t19.5\t0\t1\t\t\n+780\t10\t4.0\t47.0\t18.0\t11.75\t0\t1\t\t\n+781\t10\t4.0\t47.0\t20.0\t11.75\t0\t1\t\t\n+782\t10\t4.0\t55.0\t20.0\t13.75\t0\t1\t\t\n+783\t10\t5.02\t96.0\t26.0\t19.12\t0\t1\t\t\n+784\t10\t4.0\t56.0\t22.0\t14.0\t0\t1\t\t\n+785\t10\t4.0\t15.0\t22.0\t3.75\t0\t0\t\t\n+786\t10\t4.0\t13.0\t14.0\t3.25\t0\t0\t\t\n+787\t10\t4.0\t7.0\t14.0\t1.75\t0\t0\t\t\n+788\t10\t4.0\t2.0\t12.0\t0.5\t0\t0\t\t\n+789\t10\t4.0\t2.0\t11.0\t0.5\t0\t0\t\t\n+790\t10\t4.0\t5.0\t7.0\t1.25\t0\t0\t\t\n+791\t10\t5.55\t23.0\t23.0\t4.14\t0\t0\t\t\n+792\t10\t4.0\t19.0\t24.0\t4.75\t0\t0\t\t\n+793\t10\t4.0\t8.0\t36.0\t2.0\t0\t0\t\t\n+794\t10\t4.0\t5.0\t33.0\t1.25\t0\t0\t\t\n+795\t10\t4.0\t4.0\t12.0\t1.0\t0\t0\t\t\n+796\t10\t4.0\t8.0\t15.0\t2.0\t0\t0\t\t\n+797\t10\t5.48\t60.0\t232.0\t10.95\t0\t0\t\t\n+798\t10\t4.0\t52.0\t279.0\t13.0\t0\t-1\t\t\n+799\t10\t4.0\t11.0\t192.0\t2.75\t0\t-1\t\t\n+800\t10\t4.94\t41.0\t265.0\t8.3\t0\t-1\t\t\n+801\t10\t4.0\t25.0\t125.0\t6.25\t0\t0\t\t\n+802\t10\t4.0\t10.0\t137.0\t2.5\t0\t-1\t\t\n+803\t10\t4.0\t9.0\t91.0\t2.25\t0\t-1\t\t\n+804\t10\t4.0\t6.0\t85.0\t1.5\t0\t-1\t\t\n+805\t10\t4.0\t7.0\t104.0\t1.75\t0\t-1\t\t\n+806\t10\t4.0\t3.0\t110.0\t0.75\t0\t-1\t\t\n+807\t10\t4.0\t0.0\t113.0\t0.0\t0\t-1\t\t\n+808\t10\t4.0\t5.0\t106.0\t1.25\t0\t-1\t\t\n+809\t10\t4.0\t9.0\t133.0\t2.25\t0\t-1\t\t\n+810\t10\t4.0\t8.0\t174.0\t2.0\t0\t-1\t\t\n+811\t10\t4.18\t24.0\t143.0\t5.74\t0\t-1\t\t\n+812\t10\t4.0\t23.0\t73.0\t5.75\t0\t0\t\t\n+813\t10\t4.0\t7.0\t72.0\t1.75\t0\t-1\t\t\n+814\t10\t4.38\t16.0\t71.0\t3.65\t0\t0\t\t\n+815\t10\t4.0\t14.0\t62.0\t3.5\t0\t0\t\t\n+816\t10\t4.0\t13.0\t81.0\t3.25\t0\t0\t\t\n+817\t10\t4.0\t24.0\t70.0\t6.0\t0\t0\t\t\n+818\t10\t5.07\t205.0\t46.0\t40.43\t1\t1\t*\t19\n+819\t10\t4.0\t194.0\t11.0\t48.5\t1\t1\t*\t19\n+820\t10\t4.0\t42.0\t11.0\t10.5\t0\t1\t\t\n+821\t10\t4.0\t25.0\t15.0\t6.25\t0\t1\t\t\n+822\t10\t4.05\t37.0\t23.0\t9.14\t0\t1\t\t\n+823\t10\t4.0\t27.0\t21.0\t6.75\t0\t1\t\t\n+824\t10\t5.93\t59.0\t36.0\t9.95\t0\t1\t\t\n+825\t10\t4.0\t50.0\t29.0\t12.5\t0\t1\t\t\n+826\t10\t4.0\t25.0\t32.0\t6.25\t0\t0\t\t\n+827\t10\t4.0\t28.0\t50.0\t7.0\t0\t0\t\t\n+828\t10\t4.0\t31.0\t59.0\t7.75\t0\t0\t\t\n+829\t10\t4.0\t51.0\t52.0\t12.75\t0\t1\t\t\n+830\t10\t5.03\t169.0\t68.0\t33.6\t1\t1\t*\t20\n+831\t10\t4.0\t155.0\t36.0\t38.75\t1\t1\t*\t20\n+832\t10\t4.0\t75.0\t33.0\t18.75\t0\t1\t\t\n+833\t10\t4.0\t42.0\t38.0\t10.5\t0\t1\t\t\n+834\t10\t4.0\t19.0\t26.0\t4.75\t0\t0\t\t\n+835\t10\t4.0\t15.0\t20.0\t3.75\t0\t0\t\t\n+836\t10\t4.9\t31.0\t38.0\t6.33\t0\t0\t\t\n+837\t10\t4.0\t19.0\t33.0\t4.75\t0\t0\t\t\n+838\t10\t4.0\t8.0\t48.0\t2.0\t0\t0\t\t\n+839\t10\t4.0\t10.0\t60.0\t2.5\t0\t0\t\t\n+840\t10\t4.0\t5.0\t49.0\t1.25\t0\t0\t\t\n+841\t10\t4.0\t7.0\t53.0\t1.75\t0\t0\t\t\n+842\t10\t4.0\t18.0\t57.0\t4.5\t0\t0\t\t\n+843\t10\t4.95\t140.0\t43.0\t28.28\t1\t1\t*\t21\n'
b
diff -r 000000000000 -r 0b383b61074d hotspots/threshold_chisq.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/threshold_chisq.txt Fri Mar 18 05:26:20 2016 -0400
[
@@ -0,0 +1,93 @@
+#setwd("/Users/nanettecoetzer/Documents/Bioinformatics/MAIZE_project/eQTL_pipeline/April_2012_pipeline_scripts/July_2012/output_July")
+
+perm_threshold <- function(p, cm, eqtl) {
+ m=c()
+ for (j in 1:p) {
+ d=c()
+ x=sample(1:cm, eqtl, replace=T)
+ for (i in 1:cm) {
+ s=length(which(x==i))
+ d=c(d,s)
+ }
+ m=c(m,max(d))
+ }
+t <- quantile(m, 0.95)
+return(t)
+}
+
+chisq_test <- function(m, tot_eqtls, tot_genes, total) {
+ ans <- c()
+ for (i in 1:dim(m)[1]) {
+ c <- chisq.test(m[i,2:3],p=c(tot_eqtls/total,tot_genes/total))
+ if (c$p.value < 0.0001 & m[i,4] == 0) {
+ eqtl_excess_calc = m[i,2]/(m[i,2]+m[i,3])
+
+ if (eqtl_excess_calc > tot_eqtls/total) {
+ ans = c(ans, 1)
+ }
+ else {
+ ans = c(ans, -1)
+ }
+
+ }
+ else {
+ ans = c(ans, 0)
+ }
+ }
+ list(ans=ans, exp=exp)
+}
+
+# threshold
+summary = read.table("frequency_summary.txt",sep="\t")
+num.cm = summary[5,2]
+num.perm = summary[10,2]
+num.genes = summary[4,2]

+num.all.eqtl = summary[1,2] 
+num.cis.eqtl = summary[2,2] 
+num.trans.eqtl = summary[3,2] 
+
+#print(num.perm)
+threshold.all <- perm_threshold(p=num.perm,cm=num.cm,eqtl=num.all.eqtl)
+threshold.cis <- perm_threshold(p=num.perm,cm=num.cm,eqtl=num.cis.eqtl)
+threshold.trans <- perm_threshold(p=num.perm,cm=num.cm,eqtl=num.trans.eqtl)
+
+
+# chi-squared test
+#summary <- read.table("freq_summary.txt", header=F, sep="\t")
+d <- read.table("sliding_frequency.txt", header=T, sep="\t")
+
+# calculate the cut-off value so that the expected value of each cell (num.eQTLs and num.genes) is > 5
+# chisq test --> all
+total.all = num.genes + num.all.eqtl
+t.all = 5* total.all/min(num.genes, num.all.eqtl)
+genes_div_total.all = num.genes/total.all
+eqtl_div_total.all = num.all.eqtl/total.all
+
+# chisq test --> cis
+total.cis = num.genes + num.cis.eqtl
+t.cis = 5* total.cis/min(num.genes, num.cis.eqtl)
+genes_div_total.cis = num.genes/total.cis
+eqtl_div_total.cis = num.cis.eqtl/total.cis
+
+# chisq test --> trans
+total.trans = num.genes + num.trans.eqtl
+t.trans = 5*total.trans/min(num.genes, num.trans.eqtl)
+genes_div_total.trans = num.genes/total.trans
+eqtl_div_total.trans = num.trans.eqtl/total.trans
+
+write.table(c(threshold.all ,t.all ,genes_div_total.all, eqtl_div_total.all, threshold.cis ,t.cis ,genes_div_total.cis, eqtl_div_total.cis, threshold.trans, t.trans, genes_div_total.trans, eqtl_div_total.trans), file="threshold_chisq_summary.txt")
+
+
+s.all = cbind(d$sliding.id,d$sliding.all.eQTL,d$sliding.genes,d$sliding.genes+d$sliding.all.eQTL<t.all, d$sliding.cM,d$chr)
+s.cis = cbind(d$sliding.id,d$sliding.cis.eQTL,d$sliding.genes,d$sliding.genes+d$sliding.cis.eQTL<t.cis, d$sliding.cM,d$chr)
+s.trans = cbind(d$sliding.id,d$sliding.trans.eQTL,d$sliding.genes,d$sliding.genes+d$sliding.trans.eQTL<t.trans, d$sliding.cM,d$chr)
+
+a.all <- chisq_test(m=s.all, num.all.eqtl, num.genes, total.all)
+a.cis <- chisq_test(m=s.cis, num.cis.eqtl, num.genes, total.cis)
+a.trans <- chisq_test(m=s.trans, num.trans.eqtl, num.genes, total.trans)
+
+write.table(cbind(s.all, a.all$ans),"chisq_out_all.txt")
+write.table(cbind(s.cis, a.cis$ans),"chisq_out_cis.txt")
+write.table(cbind(s.trans, a.trans$ans),"chisq_out_trans.txt")
+
b
diff -r 000000000000 -r 0b383b61074d hotspots/tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hotspots/tool_dependencies.xml Fri Mar 18 05:26:20 2016 -0400
b
@@ -0,0 +1,6 @@
+<tool_dependency>
+     <set_environment version="1.0">
+        <environment_variable name="R_SCRIPT_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable>
+    </set_environment>
+</tool_dependency>
+