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

Changeset 0:ef9c2044d86a (2016-03-18)
Next changeset 1:d8547ff82697 (2016-03-18)
Commit message:
Uploaded
added:
classifier/._.DS_Store
classifier/._classifier.py
classifier/._eqtl_genes_positions_plot.txt
classifier/._readme.txt
classifier/classifier.py
classifier/classifier.xml
classifier/eqtl_genes_positions_plot.txt
classifier/readme.txt
classifier/test-data/._.DS_Store
classifier/test-data/input/._.DS_Store
classifier/test-data/input/._chr_summary.txt
classifier/test-data/input/._eqtl.txt
classifier/test-data/input/._gene_positions_sense_antisense_EST_gDNA.txt
classifier/test-data/input/._lookup.txt
classifier/test-data/input/chr_summary.txt
classifier/test-data/input/eqtl.txt
classifier/test-data/input/gene_positions_sense_antisense_EST_gDNA.txt
classifier/test-data/input/lookup.txt
classifier/test-data/output/._.DS_Store
classifier/test-data/output/._all_classification_test.txt
classifier/test-data/output/._chr_summary_v2.txt
classifier/test-data/output/._cis_classification_test.txt
classifier/test-data/output/._classification_summary_test.txt
classifier/test-data/output/._eQTL_gene_position_plot.pdf
classifier/test-data/output/._eQTL_per_gene_summary.txt
classifier/test-data/output/._gene_pos_v2.txt
classifier/test-data/output/._trans_classification_test.txt
classifier/test-data/output/all_classification_test.txt
classifier/test-data/output/chr_summary_v2.txt
classifier/test-data/output/cis_classification_test.txt
classifier/test-data/output/classification_summary_test.txt
classifier/test-data/output/eQTL_gene_position_plot.pdf
classifier/test-data/output/eQTL_per_gene_summary.txt
classifier/test-data/output/gene_pos_v2.txt
classifier/test-data/output/trans_classification_test.txt
classifier/tool_dependencies.xml
b
diff -r 000000000000 -r ef9c2044d86a classifier/._.DS_Store
b
Binary file classifier/._.DS_Store has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/._classifier.py
b
Binary file classifier/._classifier.py has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/._eqtl_genes_positions_plot.txt
b
Binary file classifier/._eqtl_genes_positions_plot.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/._readme.txt
b
Binary file classifier/._readme.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/classifier.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/classifier.py Fri Mar 18 05:15:29 2016 -0400
[
b'@@ -0,0 +1,597 @@\n+"""\n+@summary: Classify eQTLs as cis or trans - calculate "hybrid" overlap score\n+@author: nanette.coetzer@gmail.com\n+@version 5\n+\n+"""\n+import optparse, sys\n+import tempfile\n+import os, re\n+import subprocess\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("-m", "--rscript", default=None, dest="rscript", \n+                      help="R script")\n+    parser.add_option("-i", "--input1", default=None, dest="input1", \n+                      help="eQTLs file")\n+    parser.add_option("-j", "--input2", default=None, dest="input2", \n+                      help="Chr summary file")\n+    parser.add_option("-k", "--input3", default=None, dest="input3", \n+                      help="Gene positions file")\n+    parser.add_option("-l", "--input4", default=None, dest="input4", \n+                      help="Lookup file")\n+    \n+    #parser.add_option("-m", "--score_type", default=2, dest="score_type", \n+    #                  help="Select dM scale (1) or hybrid (2)")\n+\n+    parser.add_option("-o", "--output1", default=None, dest="output1", \n+                      help="All classification file")\n+    parser.add_option("-p", "--output2", default=None, dest="output2", \n+                      help="Cis classification file")\n+    parser.add_option("-q", "--output3", default=None, dest="output3", \n+                      help="Trans classification file")\n+    parser.add_option("-r", "--output4", default=None, dest="output4", \n+                      help="Classification summary file")\n+    parser.add_option("-s", "--output5", default=None, dest="output5", \n+                      help="Chr summary file v2")\n+    parser.add_option("-t", "--output6", default=None, dest="output6", \n+                      help="Gene positions file v2")\n+    parser.add_option("-u", "--output7", default=None, dest="output7", \n+                      help="eQTLs per gene summary file")\n+    parser.add_option("-v", "--output8", default=None, dest="output8", \n+                      help="eQTL vs gene position plot")\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 eQTL file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the eQTL 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 Chr summary file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the Chr summary 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 Gene positions file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the Gene positions 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 Lookup file:\\n" + str(e))\n+    except IOError, e:\n+        stop_err("Can not open the Lookup file:\\n" + str(e))\n+\n+    ##############################################\n+    lookup_list = []\n+    \n+    # Convert eQTL input file, change marker number of last interval in each chromosome\n+    check2 = ""\n+    prev_m = "0"\n+    prev_c = "1"\n+    r = re.compile("^(\\d+)\\s+(\\d+)\\s+(\\d+.\\d+)\\s+")\n+    indict = {}\n+    max_cM_dict = {}\n+    lookup = open(options.input4,\'r\')\n+    for line in lookup:\n+        l = line.strip().split("\\t")\n+        if l[6] == "0":\n+            #print l\n+            max_cM_dict[l[1]] = l[4]\n+        lookup_list.append(l)\n+        if l[0] != "id" and l[6] != "0":\n+            c = l[1]\n+            if prev_c != c:\n+                indict[prev_c+"\\t"+str(float(p))] = prev_c+"\\t"+m+"\\t"+str(float(p))\n+            m = l[2]\n+            p = l[3]\n+            prev_c = c\n+    #print max_cM_dict\n+    \n+    #a'..b'ene_dict[g][4])+"\\t"+str(gene_dict[g][5])+"\\t"+str(gene_dict[g][6])+"\\t"+str(gene_bin_dict[g])+"\\n")\n+        # num all eQTL\n+        if int(gene_dict[g][3]) != 0:\n+            genes_with_eqtl += 1\n+            eqtl_count += int(gene_dict[g][3])\n+        # num cis eQTL\n+        if int(gene_dict[g][4]) != 0:\n+            genes_with_cis += 1\n+            cis_count += int(gene_dict[g][4])\n+        # num trans eQTL\n+        if int(gene_dict[g][5]) != 0:\n+            genes_with_trans += 1\n+            trans_count += int(gene_dict[g][5])\n+        if (int(gene_dict[g][4]) != 0) and (int(gene_dict[g][5]) == 0):\n+            only_cis += 1\n+        if (int(gene_dict[g][5]) != 0) and (int(gene_dict[g][4]) == 0):\n+            only_trans += 1\n+        if (int(gene_dict[g][5]) != 0) and (int(gene_dict[g][4]) != 0):\n+            cis_and_trans += 1\n+        if (int(gene_dict[g][5]) != 0) or (int(gene_dict[g][4]) != 0):\n+            cis_or_trans += 1\n+            \n+    ave_num_eqtl_per_gene = eqtl_count/float(genes_with_eqtl)\n+    ave_num_cis_eqtl_per_gene = cis_count/float(genes_with_cis)\n+    ave_num_trans_eqtl_per_gene = trans_count/float(genes_with_trans)\n+    #print "Average number of eQTLs per gene with eQTL\\t"+str(round(ave_num_eqtl_per_gene,1))\n+    #print "Average number of cis eQTLs per gene with cis eQTL\\t"+str(round(ave_num_cis_eqtl_per_gene,1))\n+    #print "Average number of trans eQTLs per gene with trans eQTL\\t"+str(round(ave_num_trans_eqtl_per_gene,1))\n+    #print "Number of genes with only cis eQTL (no trans)\\t"+str(only_cis)\n+    #print "Number of genes with only trans eQTL (no cis)\\t"+str(only_trans)\n+    #print "Number of genes with cis and trans eQTL\\t"+str(cis_and_trans)\n+    #print "Number of genes with cis or trans eQTL\\t"+str(cis_or_trans)\n+    \n+    eqtl_per_gene = open(options.output7,\'w\')\n+    eqtl_per_gene.write("Average number of eQTLs per gene with eQTL\\t"+str(round(ave_num_eqtl_per_gene,1))+"\\n")\n+    eqtl_per_gene.write("Average number of cis eQTLs per gene with cis eQTL\\t"+str(round(ave_num_cis_eqtl_per_gene,1))+"\\n")\n+    eqtl_per_gene.write("Average number of trans eQTLs per gene with trans eQTL\\t"+str(round(ave_num_trans_eqtl_per_gene,1))+"\\n")\n+    eqtl_per_gene.write("Number of genes with only cis eQTL (no trans)\\t"+str(only_cis)+" ("+str(round((int(only_cis)/float(cis_or_trans))*100,1))+"%)\\n")\n+    eqtl_per_gene.write("Number of genes with only trans eQTL (no cis)\\t"+str(only_trans)+" ("+str(round((int(only_trans)/float(cis_or_trans))*100,1))+"%)\\n")\n+    eqtl_per_gene.write("Number of genes with cis and trans eQTL\\t"+str(cis_and_trans)+" ("+str(round((int(cis_and_trans)/float(cis_or_trans))*100,1))+"%)\\n")\n+    eqtl_per_gene.write("Number of genes with cis or trans eQTL\\t"+str(cis_or_trans)+" ("+str(round((int(cis_and_trans)/float(cis_and_trans))*100,1))+"%)\\n")\n+    eqtl_per_gene.close()\n+    \n+    gene_pos_v2.close()\n+    \n+    # Create temp direcotry\n+    tempdir = tempfile.mkdtemp()\n+\n+    # copy INPUT file to the temp directory\n+    s = "cp %s %s/all_classification.txt" %(options.output1, tempdir)\n+    subprocess.call(s, shell=True)\n+    s = "cp %s %s/lookup.txt" %(options.input4, 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+    script = open(options.rscript,"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+    # 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+    os.system("mv %s/Rplot_eQTL_genes_positions.pdf %s" %(tempdir,options.output8))\n+    \n+if __name__=="__main__": \n+    __main__()\n+\n+\n+\n+\n'
b
diff -r 000000000000 -r ef9c2044d86a classifier/classifier.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/classifier.xml Fri Mar 18 05:15:29 2016 -0400
b
b'@@ -0,0 +1,167 @@\n+<tool id="classifier5" name="Classify eQTLs" version="5.0.0">\n+\t<description> as cis or trans</description>\n+\t<command interpreter="python">\n+            classifier.py --rscript \\$R_SCRIPT_PATH/classifier/eqtl_genes_positions_plot.txt --input1 $input1 --input2 $input2 --input3 $input3 --input4 $input4 --output1 $output1 --output2 $output2 --output3 $output3 --output4 $output4 --output5 $output5 --output6 $output6 --output7 $output7 --output8 $output8\n+\t</command>\n+        <inputs>\n+            <param label="eQTL results file" name="input1" type="data" format="tabular" help="A tabular file with the mapped eQTLs and its associated statistics"></param>\n+\t    <param label="Chr summary file" name="input2" type="data" format="tabular" help="A tabular file with a data summary per chromosome (bp)"></param>\n+\t    <param label="Gene positions file" name="input3" type="data" format="tabular" help="A tabular file with the positions (bp) of each gene"></param>\n+            <param label="Lookup table file" name="input4" type="data" format="tabular" help="A tabular file with cM and bp positions for each interval"></param>\n+        </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="pdf" 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+Calculates the average genetic interval size across all eQTLs.\n+\n+Classifies an eQTL as \'cis\' if it maps within half the above mentioned interval size of the gene exhibiting the eQTL.\n+\n+Classifies an eQTL as \'trans\' if it maps to a different region on the genome than the location of the gene exhibiting the eQTL (further away than half the above mentioned interval size from the gene).\n+\n+Classifies an eQTL as \'no_result\' if the location of the target gene is not known. \n+\n+-------\n+\n+**Example input files**\n+\n+eQTL results file, each row correspond to an eQTL (21 columns; only a part of the file is shown)::\n+\n+ trait_name trait_number eQTL_number chr  peak_marker\tpeak_position\tpeak_LR\t\tpeak_LOD\tR2\t\tTR2\t\tS\t\tadditive  dominance  LOD1_L_m\tLOD1_L_pos  LOD1_R_m\tLOD1_R_pos   LOD2_L_m\tLOD2_L_pos  LOD2_R_m\tLOD2_R_pos\n+ geneA\t    106\t\t 2\t     10\t  4\t \t0.5206\t\t13.0002477\t2.821053751\t0.1067186\t0.2802598\t2741.216084\t-80.0805117\t0\t3\t0.4045\t \t5\t0.6791\t\t3\t0.3583\t\t5\t0.7505\n+ geneB\t    434\t\t 3\t     6\t  3\t\t0.1455\t\t13.000651\t2.821141267\t0.0881461\t0.3710748\t38.650035\t502.7692948\t0\t2\t0.0847\t\t3\t0.2153\t\t1\t0.0112\t\t3\t0.2763\n+ geneC\t    343\t\t 2\t     4\t  10\t\t1.1039\t\t13.0012249\t2.821265803\t0.1168611\t0.3068127\t42.9667077\t-101.8310204\t0\t10\t1.0217\t\t10\t1.1078\t\t9\t0.9838\t\t10\t1.1118\n+ geneD\t    384\t\t 1\t     1\t  19\t\t2.3414\t\t13.0022994\t2.82149897\t0.1372476\t0.1985604\t2.1933164\t-688.0268455\t0\t19\t2.1956\t\t20\t2.4956\t\t19\t2.0883\t\t20\t2.5488\n+ geneD\t    267\t\t 2\t     9\t  8\t\t1.2052\t\t13.0026682\t2.821578999\t0.0862225\t0.3794662\t55.4157254\t278.1351403\t0\t7\t1.2023\t\t8\t1.2277\t\t7\t1.1994\t\t8\t1.2466\n+\n+\n+Chromosome summary file, each row correspond to a chromosome (6 columns; only a part of the file is shown). The last row  gives the total across the genome::\n+\n+ chr\tmarkers\tcM\tbp\tint_positions\tbins\n+ 1\t27\t324.4\t301354135\t177\t176\n+ 2\t14\t169.11\t237068873\t92\t91\n+ 3\t19\t221.29\t232140174\t123\t122\n+ 4\t20\t188.37\t241473504\t105\t104\n+ 5\t20\t203.82\t217872852\t110\t109\n+ 6\t17\t195.85\t169174353\t106\t105\n+ Total \t117\t1302.84\t1399083891\t713\t707\n+ \n+Gene positions file, each row correspond to a gene (4 columns; only a part of the file is shown)::\n+\n+ gene   chr     start_bp        end_bp\n+ geneA\t1\t33214735\t33217244\n+ geneB\t2\t216416829\t216433258\n+ geneC\t6\t162556092\t162559012\n+ geneD\t4\t197750322\t19'..b'2\t0.3181244\t0.3909106       parentB     no_result\t904     \t904\n+ geneI\t8\t9\t7\t1.0982\t\t9\t1.3079\t\t8\t1.2052\t\t20.3966235\t0.1305025\t0.4233788\tparentA     cis\t\t977     \t969\n+ \n+eQTL cis classification file, each row correspond to a cis eQTL (16 columns; only a part of the file is shown)::\n+\n+ gene\tindex  chr  start_marker  start_int  end_marker\t end_int  peak_marker\tpeak_int\tpeakLR\t\trsq\t\trtsq\tparent_up_reg   classification\t eQTL_bin    gene_bin\n+ geneC\t3\t9\t8\t1.2052\t\t8\t1.2452\t\t8\t1.2052\t\t16.6822024\t0.1244943\t0.314542\tparentA     cis\t\t917     \t920\n+ geneD\t4\t9\t1\t0.0001\t\t2\t0.2395\t\t1\t0.1201\t\t19.531317\t0.1753893\t0.4300621\tparentA     cis\t\t860     \t862\n+ geneI\t8\t9\t7\t1.0982\t\t9\t1.3079\t\t8\t1.2052\t\t20.3966235\t0.1305025\t0.4233788\tparentA     cis\t\t977     \t969\n+\n+eQTL trans classification file, each row correspond to a trans eQTL (16 columns; only a part of the file is shown)::\n+\n+ gene\tindex  chr  start_marker  start_int  end_marker\t end_int  peak_marker\tpeak_int\tpeakLR\t\trsq\t\trtsq\tparent_up_reg   classification\t eQTL_bin    gene_bin\n+ geneA  1\t6\t13\t1.5139\t\t15\t1.6431\t\t13\t1.5539\t\t12.7532485\t0.1337606\t0.3630217\tparentA     trans\t691    \t \t800\n+ geneC \t2\t9\t5\t0.8106\t\t6\t0.9614\t\t6\t0.9214\t\t20.344489\t0.1559524\t0.3123026\tparentB     trans\t902     \t700\n+ geneH\t5\t1\t1\t0.0001\t\t1\t0.1001\t\t1\t0.0001\t\t19.5727096\t0.1373944\t0.392982\tparentB     trans\t939     \t465\n+ geneH\t6\t1\t9\t1.0268\t\t11\t1.2164\t\t10\t1.1261\t\t13.5560176\t0.095168\t0.4823061\tparentB     trans\t1000    \t465\n+ \n+Classification summary file, each row correspond to a class (6 columns)::\n+\n+ class      number_eQTLs    percentage_eQTLs\taverage_peakLR  average_rsq     average_rtsq\n+ cis\t    \t4712\t\t14.93%\t\t36.0    \t0.29    \t0.47\n+ trans\t    \t20726\t\t65.69%\t\t36.0    \t0.29    \t0.47\n+ no_result\t6111\t\t19.369%\t\t20.1    \t0.16    \t0.39\n+ total\t    \t31549\t\t100.0%\t\t19.5    \t0.16    \t0.38\n+ \n+Chromosome summary v2 file, each row correspond to a chromosome (11 columns; only a part of the file is shown). The last row  gives the total across the genome::\n+\n+ chr     markers cM      \tbp         interval.positions  bins    genes   cis eQTL    trans eQTL   unknown eQTL    all eQTL\n+ 1       27      324.4   \t301354135       177     \t176     5185    782     \t3209    761     \t4752\n+ 2       14      169.11  \t237068873       92      \t91      3782    512     \t1897    510    \t \t2919\n+ 3       19      221.29  \t232140174       123     \t122     3608    469     \t2098    614     \t3181\n+ 4       20      188.37  \t241473504       105     \t104     3389    493     \t2006    491     \t2990\n+ 5       20      203.82 \t217872852       110     \t109     3964    657     \t3077    762     \t4496\n+ 6       17      195.85  \t169174353       106     \t105     2744    413    \t \t1933    516     \t2862\n+ Total   117     1302.84\t1399083891\t713\t\t707\t22672\t3326\t\t14220\t3654\t\t21200\n+\n+Gene positions v2 file, each row correspond to a gene (9 columns; only a part of the file is shown)::\n+\n+ gene\tchr\tstart_bp\tend_bp\t    num_eQTL  num_cis_eQTL   num_trans_eQTL  num_unknown_eQTL\tgene_bin\n+ geneA    6       155513712       155518148       1       0       \t1       \t0       \t682\n+ geneB    4       230729005       230729064       0       0       \t0       \t0       \t472\n+ geneC    2       172852270       172853086       2       0       \t1       \t1       \t229\n+ geneD    1       282744902       282749375       3       0       \t3       \t0       \t154\n+ geneE    2       6556394 \t  6560322 \t  0       0       \t0       \t0       \t189\n+ \n+eQTL per gene summary file (2 columns)::\n+\n+ Average number of eQTLs per gene with eQTL      \t 2.4\n+ Average number of cis eQTLs per gene with cis eQTL      1.0\n+ Average number of trans eQTLs per gene with trans eQTL  1.8\n+ Number of genes with only cis eQTL (no trans)   \t 1402 (8.5%)\n+ Number of genes with only trans eQTL (no cis)   \t 11042 (66.7%)\n+ Number of genes with cis and trans eQTL \t \t 4121 (24.9%)\n+ Number of genes with cis or trans eQTL  \t\t 16565 (100.0%)\n+\n+\n+eQTL vs gene position plot (in pdf format, produced using R).\n+\n+        </help>\n+</tool>\n'
b
diff -r 000000000000 -r ef9c2044d86a classifier/eqtl_genes_positions_plot.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/eqtl_genes_positions_plot.txt Fri Mar 18 05:15:29 2016 -0400
[
@@ -0,0 +1,32 @@
+
+#setwd("/Users/nanettecoetzer/Documents/Bioinformatics/MAIZE_project/eQTL_pipeline/April_2012_pipeline_scripts/July_2012/output_July")
+eqtl <- read.table("all_classification.txt",sep="\t",header=TRUE)
+lookup <- read.table("lookup.txt",sep="\t",header=TRUE)

+trans_eqtl_bins <- eqtl[eqtl[,14]=="trans",15]
+trans_gene_bins <- eqtl[eqtl[,14]=="trans",16]
+cis_eqtl_bins <- eqtl[eqtl[,14]=="cis",15]
+cis_gene_bins <- eqtl[eqtl[,14]=="cis",16]
+
+# cis and trans in colour
+
+pdf("Rplot_eQTL_genes_positions.pdf")
+plot(trans_eqtl_bins, trans_gene_bins, type="p", pch=".", cex=2, main="", xlab="eQTL position", ylab="Gene position",col="green", xaxt='n', yaxt='n')
+points(cis_eqtl_bins, cis_gene_bins, type="p", pch=".", cex=2, col="blue")
+
+chr.nr = max(lookup[,2])
+chr.mid = c()
+chr.sides = c(0)
+chr_labels = c()
+for (c in 1:chr.nr) {
+ chr_labels <- c(chr_labels,paste("chr",c,sep=""))
+ pos <- length(lookup[lookup[,2]==c,1])/2
+ end <- max(lookup[lookup[,2]==c,1])
+ chr.mid = c(chr.mid,pos+min(lookup[lookup[,2]==c,1])-1)
+ chr.sides = c(chr.sides, end)
+}
+abline(v=chr.sides, lty=3, lwd=2)
+
+axis(side=1, at=chr.mid, labels= chr_labels)
+dev.off()
+
b
diff -r 000000000000 -r ef9c2044d86a classifier/readme.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/readme.txt Fri Mar 18 05:15:29 2016 -0400
b
@@ -0,0 +1,27 @@
+======================================================================
+classification
+======================================================================
+### This is the second 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
+
+Calculates the average genetic interval size across all eQTLs.
+
+Classifies an eQTL as 'cis' if it maps within half the above mentioned interval size of the gene exhibiting the eQTL.
+
+Classifies an eQTL as 'trans' if it maps to a different region on the genome than the location of the gene exhibiting the eQTL (further away than half the above mentioned interval size from the gene).
+
+Classifies an eQTL as 'no_result' if the location of the target gene is not known. 
+
+---------------
+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 ef9c2044d86a classifier/test-data/._.DS_Store
b
Binary file classifier/test-data/._.DS_Store has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/._.DS_Store
b
Binary file classifier/test-data/input/._.DS_Store has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/._chr_summary.txt
b
Binary file classifier/test-data/input/._chr_summary.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/._eqtl.txt
b
Binary file classifier/test-data/input/._eqtl.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/._gene_positions_sense_antisense_EST_gDNA.txt
b
Binary file classifier/test-data/input/._gene_positions_sense_antisense_EST_gDNA.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/._lookup.txt
b
Binary file classifier/test-data/input/._lookup.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/chr_summary.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/input/chr_summary.txt Fri Mar 18 05:15:29 2016 -0400
b
@@ -0,0 +1,12 @@
+chr markers cM bp interval positions bins
+1 27 324.4 301354135 177 176
+2 14 169.11 237068873 92 91
+3 19 221.29 232140174 123 122
+4 20 188.37 241473504 105 104
+5 20 203.82 217872852 110 109
+6 17 195.85 169174353 106 105
+7 12 111.16 176764762 63 62
+8 14 141.31 175793759 77 76
+9 11 158.78 156750706 85 84
+10 13 147.48 150189435 81 80
+Total 167 1861.57 2058582553 1019 1009
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/eqtl.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/input/eqtl.txt Fri Mar 18 05:15:29 2016 -0400
b
b'@@ -0,0 +1,20206 @@\n+A_92_P033089\t106\t2\t10\t4\t0.5206\t13.0002477\t2.821053751\t0.1067186\t0.2802598\t2741.216084\t-80.0805117\t0\t3\t0.4045\t5\t0.6791\t3\t0.3583\t5\t0.7505\n+A_92_P031976\t434\t3\t6\t3\t0.1455\t13.000651\t2.821141267\t0.0881461\t0.3710748\t38.650035\t502.7692948\t0\t2\t0.0847\t3\t0.2153\t1\t0.0112\t3\t0.2763\n+A_92_P008649\t343\t2\t4\t10\t1.1039\t13.0012249\t2.821265803\t0.1168611\t0.3068127\t42.9667077\t-101.8310204\t0\t10\t1.0217\t10\t1.1078\t9\t0.9838\t10\t1.1118\n+A_92_P004129\t384\t1\t1\t19\t2.3414\t13.0022994\t2.82149897\t0.1372476\t0.1985604\t2.1933164\t-688.0268455\t0\t19\t2.1956\t20\t2.4956\t19\t2.0883\t20\t2.5488\n+A_92_P032943\t267\t2\t9\t8\t1.2052\t13.0026682\t2.821578999\t0.0862225\t0.3794662\t55.4157254\t278.1351403\t0\t7\t1.2023\t8\t1.2277\t7\t1.1994\t8\t1.2466\n+A_92_P002895\t12\t3\t9\t6\t0.9414\t13.0027526\t2.821597314\t0.0930497\t0.4398714\t11.1994708\t143.1894827\t0\t5\t0.7541\t7\t1.0008\t5\t0.6633\t7\t1.0749\n+A_92_P040365\t481\t1\t1\t26\t3.2304\t13.0028129\t2.821610399\t0.1384379\t0.3574616\t78.2274893\t23.7730182\t0\t26\t3.1849\t26\t3.2304\t25\t3.1299\t26\t3.2304\n+A_92_P009612\t136\t3\t3\t16\t1.9054\t13.0031456\t2.821682595\t0.0747767\t0.5652323\t34.8311182\t457.4900153\t0\t15\t1.7987\t16\t1.9859\t14\t1.7745\t16\t1.9891\n+A_92_P008076\t25\t1\t10\t8\t0.9063\t13.0041169\t2.821893367\t0.1104605\t0.2566297\t672.0934408\t-60.5295597\t0\t7\t0.8522\t8\t0.9377\t7\t0.823\t8\t0.9783\n+A_92_P018433\t132\t1\t3\t8\t0.7815\t13.0043828\t2.821951068\t0.0626292\t0.5546714\t1.1992182\t345.7247206\t0\t7\t0.748\t9\t0.8995\t7\t0.7263\t9\t1.0045\n+A_92_P035857\t518\t1\t1\t22\t2.7081\t13.0045279\t2.821982554\t0.1591619\t0.4865428\t40.7669245\t33.7112026\t0\t21\t2.613\t22\t2.7486\t19\t2.3556\t22\t2.7497\n+A_92_P012578\t170\t1\t1\t19\t2.0214\t13.0045345\t2.821983987\t0.0945191\t0.3378131\t57.2906292\t-57.7018789\t0\t18\t1.9588\t19\t2.1583\t17\t1.9167\t19\t2.2521\n+A_92_P025134\t214\t4\t6\t15\t1.7631\t13.0045691\t2.821991495\t0.1167311\t0.4518913\t0.3241195\t215.5135226\t0\t15\t1.6569\t16\t1.8776\t14\t1.6204\t16\t1.9365\n+A_92_P037198\t124\t5\t9\t3\t0.3151\t13.0047172\t2.822023632\t0.0640671\t0.7350557\t1.5703234\t83.9944292\t0\t2\t0.2079\t3\t0.4415\t1\t0.1637\t4\t0.6373\n+A_92_P010442\t320\t2\t10\t8\t0.9063\t13.0051077\t2.822108371\t0.0980313\t0.3066852\t39.3458867\t-332.527382\t0\t7\t0.8465\t8\t0.9649\t5\t0.751\t9\t1.0373\n+A_92_P015247\t311\t1\t6\t5\t0.3587\t13.005418\t2.822175706\t0.125825\t0.2141499\t6.1772201\t-47.2725585\t0\t4\t0.3093\t5\t0.3966\t3\t0.2492\t6\t0.5191\n+A_92_P017777\t5\t2\t6\t4\t0.2904\t13.0054359\t2.82217959\t0.0607557\t0.6003568\t45.6567067\t-74.8073523\t0\t3\t0.2111\t4\t0.3506\t2\t0.145\t5\t0.4088\n+A_92_P041648\t351\t1\t4\t3\t0.356\t13.0064326\t2.822395874\t0.1153208\t0.2599071\t75.6863495\t137.8778955\t0\t3\t0.3035\t3\t0.3589\t1\t0.1881\t4\t0.4218\n+A_92_P026923\t500\t3\t5\t19\t2.0355\t13.006598\t2.822431766\t0.088789\t0.3903182\t26.2296063\t133.8448897\t0\t18\t1.9543\t19\t2.0355\t18\t1.9263\t19\t2.0355\n+A_92_P039569\t352\t1\t8\t7\t0.8332\t13.0066823\t2.822450059\t0.1175886\t0.6019598\t80.2690149\t-127.2694449\t0\t6\t0.8226\t10\t1.0608\t6\t0.719\t10\t1.1364\n+A_92_P015117\t93\t2\t5\t16\t1.7432\t13.0072436\t2.822571861\t0.1204211\t0.3959499\t1.1388054\t-302.2973742\t0\t16\t1.6502\t17\t1.8238\t15\t1.636\t17\t1.8685\n+A_92_P002090\t336\t3\t2\t7\t1.0104\t13.0072574\t2.822574856\t0.111461\t0.6145661\t14.5804668\t-25.0109808\t0\t6\t0.9418\t7\t1.0898\t5\t0.9047\t9\t1.3156\n+A_92_P012219\t150\t5\t10\t5\t0.53\t13.0079146\t2.822717468\t0.1127018\t0.5864812\t196.2449058\t-62.5427459\t0\t3\t0.4532\t5\t0.6082\t3\t0.3384\t5\t0.6871\n+A_92_P036063\t519\t1\t1\t11\t1.1271\t13.008592\t2.822864464\t0.0949896\t0.3371266\t2.4995497\t-148.063877\t0\t10\t1.0693\t11\t1.2418\t10\t1.0129\t11\t1.2677\n+A_92_P014796\t529\t3\t6\t8\t0.6928\t13.0093805\t2.823035569\t0.0579355\t0.6721388\t0.1991361\t-508.6256881\t0\t7\t0.6452\t9\t0.7742\t7\t0.6147\t9\t0.8289\n+A_92_P034129\t182\t2\t8\t9\t0.9932\t13.0095561\t2.823073674\t0.1027429\t0.353676\t35.8098095\t68.4588641\t0\t7\t0.9025\t9\t1.0199\t7\t0.8387\t10\t1.096\n+A_92_P028959\t228\t1\t2\t13\t1.6825\t13.0097735\t2.82312085\t0.0884723\t0.5560641\t28.1411422\t74.6480519\t0\t13\t1.6649\t13\t1.6825\t12\t1.5286\t13\t1.6825\n+A_92_P016167\t328\t4\t10\t8\t0.9063\t13.0103922\t2.823255107\t0.0894848\t0.3591821\t0.269662\t-301.0957034\t0\t7\t0.8438\t8\t0.9545\t6\t0.7873\t9\t1.029\n+A_92_P001933\t26\t1\t9\t5\t0.8906\t13.0107657\t2.823336157\t0.1425694\t0.2899345\t91.6696231\t772.1797927\t0\t5\t0.7771\t6\t0.9627\t5\t0.7006\t7\t1.0052\n+A_92_P003843\t535\t1\t3\t10\t1.0342\t13.010'..b'680286\t780.9540079\t0\t10\t1.3842\t10\t1.4139\t10\t1.3749\t11\t1.4598\n+A_92_P034801\t128\t3\t7\t8\t0.672\t130.5920547\t28.33847587\t0.7632863\t0.8481723\t2.0786492\t986.1573031\t0\t8\t0.6518\t8\t0.706\t8\t0.6485\t8\t0.7181\n+A_92_P010588\t267\t3\t8\t6\t0.7148\t130.65211\t28.35150787\t0.7544981\t0.8720197\t1.6865604\t6651.343609\t0\t6\t0.6946\t6\t0.7541\t6\t0.692\t6\t0.7682\n+A_92_P041334\t347\t3\t2\t7\t1.1104\t132.1767556\t28.68235597\t0.7379781\t0.8491016\t3.3458914\t775.3578187\t0\t7\t1.0808\t8\t1.1293\t7\t1.0632\t8\t1.1404\n+A_92_P024071\t365\t2\t6\t12\t1.3157\t132.4323013\t28.73780938\t0.7720361\t0.862216\t6.1769848\t1331.352972\t0\t12\t1.2945\t12\t1.353\t12\t1.2866\t12\t1.3614\n+A_92_P013601\t275\t4\t10\t7\t0.8356\t132.6445739\t28.78387254\t0.7079888\t0.8388011\t493.5419799\t-7738.298516\t0\t7\t0.8316\t7\t0.8588\t7\t0.8275\t7\t0.8684\n+A_92_P019359\t230\t2\t7\t2\t0.1304\t133.6104877\t28.99347583\t0.8078253\t0.8792644\t2.8681024\t970.6274991\t0\t2\t0.1134\t2\t0.1571\t2\t0.1086\t2\t0.1684\n+A_92_P019911\t231\t1\t2\t10\t1.3263\t134.6080118\t29.20993856\t0.7013391\t0.7563715\t2.4807951\t-168.659647\t0\t9\t1.3109\t10\t1.3383\t9\t1.2964\t10\t1.3495\n+A_92_P011456\t8\t1\t5\t11\t1.0171\t135.0547342\t29.30687732\t0.7044504\t0.8305892\t2.5325512\t3792.106484\t0\t10\t0.9932\t11\t1.0305\t10\t0.9809\t11\t1.042\n+A_92_P013776\t511\t2\t2\t7\t1.0304\t138.1769356\t29.98439503\t0.6160639\t0.862524\t3.3805532\t-392.4753274\t0\t7\t1.022\t7\t1.0567\t7\t1.0136\t7\t1.0712\n+A_92_P021191\t390\t1\t10\t12\t1.4654\t138.6569417\t30.08855635\t0.7780008\t0.8424187\t2.1055466\t2660.007396\t0\t12\t1.4354\t12\t1.4654\t12\t1.4215\t12\t1.4654\n+A_92_P028377\t458\t2\t5\t6\t0.5193\t138.7420164\t30.10701756\t0.7403525\t0.8388261\t12.7065328\t1185.277762\t0\t6\t0.5134\t6\t0.5593\t6\t0.5075\t6\t0.57\n+A_92_P027234\t18\t1\t10\t12\t1.4454\t140.0733983\t30.39592743\t0.8184543\t0.8528154\t3.8195969\t-1511.499728\t0\t12\t1.4253\t12\t1.4654\t12\t1.4124\t12\t1.4654\n+A_92_P019605\t374\t2\t2\t8\t1.1375\t141.1871809\t30.63761826\t0.787033\t0.852403\t16.3160446\t382.7015145\t0\t8\t1.1325\t8\t1.1562\t8\t1.1275\t8\t1.1594\n+A_92_P027846\t58\t1\t2\t10\t1.3263\t141.2734072\t30.65632936\t0.6600031\t0.7906127\t7.7713764\t492.1090255\t0\t9\t1.3015\t10\t1.3382\t9\t1.2858\t10\t1.3493\n+A_92_P025248\t190\t3\t4\t16\t1.5758\t141.8550961\t30.78255585\t0.7442516\t0.8507456\t4.2136524\t1767.90183\t0\t16\t1.5399\t16\t1.6192\t16\t1.5341\t16\t1.6383\n+A_92_P009859\t282\t2\t1\t23\t2.7704\t142.281216\t30.87502387\t0.7868536\t0.8199738\t0.4663222\t-1759.248337\t0\t23\t2.7598\t23\t2.7878\t22\t2.7099\t23\t2.802\n+A_92_P016320\t244\t1\t5\t11\t0.9971\t142.6714639\t30.95970767\t0.7225426\t0.7910168\t1.9472938\t1645.786905\t0\t10\t0.9856\t11\t1.0117\t10\t0.9777\t11\t1.0253\n+A_92_P023114\t345\t1\t3\t3\t0.376\t143.8411807\t31.21353621\t0.8190891\t0.8873401\t78.3352846\t1540.002806\t0\t3\t0.3387\t3\t0.4\t3\t0.3221\t3\t0.4066\n+A_92_P031740\t431\t1\t2\t9\t1.311\t145.7309382\t31.62361359\t0.7975063\t0.8420308\t31.0584159\t-2853.206861\t0\t9\t1.2883\t9\t1.3179\t9\t1.2721\t9\t1.3248\n+A_92_P018770\t203\t2\t8\t2\t0.1275\t145.9619935\t31.67375259\t0.7681285\t0.899848\t4.3163739\t-2488.981624\t0\t2\t0.123\t2\t0.1636\t2\t0.1184\t2\t0.1808\n+A_92_P023221\t493\t1\t2\t7\t1.1104\t146.8379131\t31.86382714\t0.6938007\t0.8256946\t1.686973\t386.3553721\t0\t7\t1.0853\t8\t1.1454\t7\t1.0694\t8\t1.1539\n+A_92_P016767\t73\t2\t4\t9\t0.9222\t150.4030665\t32.63746543\t0.6203924\t0.8328313\t2.2102593\t-5029.839775\t0\t8\t0.8854\t9\t0.9334\t8\t0.87\t9\t0.9436\n+A_92_P031655\t210\t3\t2\t9\t1.191\t151.0660125\t32.78132471\t0.747978\t0.8466157\t0.0129702\t1463.805478\t0\t9\t1.1763\t9\t1.2118\t8\t1.1405\t9\t1.2265\n+A_92_P024602\t230\t1\t2\t7\t1.1104\t152.6168173\t33.11784935\t0.712277\t0.9061143\t11.2893038\t-900.5392664\t0\t7\t1.0835\t7\t1.1142\t7\t1.0678\t8\t1.121\n+A_92_P020257\t277\t1\t1\t20\t2.4009\t153.2476809\t33.25474676\t0.8379817\t0.8500749\t0.4573917\t-704.6669244\t0\t20\t2.3775\t20\t2.4281\t20\t2.3739\t20\t2.4462\n+A_92_P027684\t331\t1\t2\t9\t1.311\t164.9492832\t35.79399445\t0.7463689\t0.8610954\t0.2046076\t577.8506214\t0\t9\t1.29\t10\t1.3318\t9\t1.2756\t10\t1.345\n+A_92_P030048\t12\t2\t2\t8\t1.1375\t166.2856728\t36.083991\t0.7541031\t0.8714586\t3.474365\t2079.164638\t0\t8\t1.1333\t8\t1.1565\t8\t1.1291\t8\t1.1586\n+A_92_P030765\t348\t1\t2\t9\t1.311\t167.5046399\t36.34850686\t0.8335695\t0.8718061\t4.2006978\t1815.082626\t0\t9\t1.2874\t9\t1.3169\t9\t1.2686\t9\t1.3229\n+A_92_P020277\t492\t2\t5\t6\t0.4993\t168.9161349\t36.65480127\t0.7650603\t0.8777001\t16.2793943\t1726.811119\t0\t5\t0.4859\t6\t0.5156\t5\t0.4743\t6\t0.5298\n'
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/gene_positions_sense_antisense_EST_gDNA.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/input/gene_positions_sense_antisense_EST_gDNA.txt Fri Mar 18 05:15:29 2016 -0400
b
b'@@ -0,0 +1,32937 @@\n+A_92_P039856\t1\t33214735\t33217244\n+A_92_P039276\t2\t216416829\t216433258\n+A_92_P039116\t6\t162556092\t162559012\n+A_92_P038628\t4\t197750322\t197751855\n+A_92_P038470\t7\t144322379\t144325978\n+A_92_P038150\t10\t88551726\t88552391\n+A_92_P037989\t8\t163218231\t163219697\n+A_92_P037834\t4\t28738352\t28739816\n+A_92_P037670\t5\t180868777\t180878474\n+A_92_P037191\t5\t182124005\t182130631\n+A_92_P037035\t9\t131670769\t131671798\n+A_92_P036877\t2\t133839420\t133842192\n+A_92_P036723\t6\t120277169\t120281942\n+A_92_P036564\t2\t30360497\t30366496\n+A_92_P036402\t1\t236908551\t236919911\n+A_92_P036241\t5\t169785721\t169787634\n+A_92_P036076\t8\t13615942\t13620752\n+A_92_P035912\t2\t226699977\t226705433\n+A_92_P035763\t4\t32498151\t32531144\n+A_92_P035602\t3\t132681893\t132683283\n+A_92_P035118\t8\t3797512\t3799222\n+A_92_P034308\t1\t105760826\t105766937\n+A_92_P034151\t6\t149718098\t149720707\n+A_92_P033985\t6\t167923246\t167927234\n+A_92_P033825\t5\t179269759\t179270340\n+A_92_P033667\t1\t64719329\t64722844\n+A_92_P033509\t9\t154366270\t154367471\n+A_92_P033346\t10\t17780804\t17786360\n+A_92_P033184\t2\t214233746\t214236078\n+A_92_P033019\t2\t230286713\t230300365\n+A_92_P032858\t6\t94498919\t94504496\n+A_92_P032375\t2\t144069637\t144072611\n+A_92_P032056\t10\t120714997\t120741244\n+A_92_P031732\t8\t151256869\t151263339\n+A_92_P031571\t1\t44326722\t44331993\n+A_92_P031411\t3\t135445422\t135448935\n+A_92_P031249\t10\t129459455\t129463455\n+A_92_P031092\t8\t90360742\t90364213\n+A_92_P030934\t1\t106158869\t106168070\n+A_92_P030772\t1\t86838334\t86848726\n+A_92_P030609\t2\t3668044\t3675584\n+A_92_P030447\t6\t105093953\t105098839\n+A_92_P030285\t4\t82360717\t82361499\n+A_92_P029803\t1\t202307514\t202313358\n+A_92_P029645\t2\t2819590\t2822760\n+A_92_P029326\t2\t12677824\t12680299\n+A_92_P029164\t1\t209125639\t209127498\n+A_92_P028678\t5\t191069692\t191077093\n+A_92_P028512\t6\t3311047\t3312387\n+A_92_P028354\t3\t190571142\t190571780\n+A_92_P028201\t9\t119838646\t119840122\n+A_92_P028042\t1\t87439142\t87450008\n+A_92_P027880\t1\t223927990\t223942085\n+A_92_P027719\t5\t213363138\t213366325\n+A_92_P027554\t3\t184605266\t184606735\n+A_92_P027390\t5\t30740679\t30750954\n+A_92_P027231\t9\t104881158\t104885023\n+A_92_P027072\t7\t174582270\t174585306\n+A_92_P026911\t1\t26911781\t26913484\n+A_92_P026428\t1\t52764295\t52769331\n+A_92_P026109\t8\t12989704\t12991151\n+A_92_P025789\t7\t141676033\t141682220\n+A_92_P025313\t2\t71143731\t71147623\n+A_92_P025153\t7\t22004372\t22015553\n+A_92_P024994\t1\t180624583\t180624524\n+A_92_P024836\t5\t214089781\t214098979\n+A_92_P024678\t3\t114020698\t114023620\n+A_92_P024516\t1\t242151150\t242169299\n+A_92_P024354\t3\t154738458\t154740403\n+A_92_P024190\t3\t226624022\t226632817\n+A_92_P024032\t9\t138244517\t138245759\n+A_92_P023713\t2\t6473777\t6482852\n+A_92_P023551\t10\t4694280\t4699187\n+A_92_P023235\t7\t159777544\t159783160\n+A_92_P023080\t8\t39121584\t39127702\n+A_92_P022918\t8\t2990866\t3047187\n+A_92_P022755\t10\t127370239\t127371829\n+A_92_P022592\t4\t54810032\t54810565\n+A_92_P022430\t2\t186630118\t186630680\n+A_92_P022110\t5\t216645872\t216647758\n+A_92_P021792\t1\t252142903\t252154238\n+A_92_P021634\t6\t167824944\t167826463\n+A_92_P021472\t1\t212287664\t212305641\n+A_92_P020986\t8\t20691284\t20698300\n+A_92_P020826\t4\t222958343\t223019623\n+A_92_P020666\t7\t52303386\t52307475\n+A_92_P020503\t4\t17141696\t17143090\n+A_92_P020342\t8\t155931487\t155935651\n+A_92_P020181\t2\t78769137\t78772293\n+A_92_P020018\t9\t119945144\t119948254\n+A_92_P019863\t1\t11528522\t11534033\n+A_92_P019704\t3\t85659561\t85663504\n+A_92_P019542\t4\t238990853\t238994795\n+A_92_P019221\t10\t4071331\t4073937\n+A_92_P018907\t6\t115076681\t115080561\n+A_92_P018745\t1\t151356484\t151358622\n+A_92_P018588\t1\t173846756\t173848499\n+A_92_P018428\t5\t213732108\t213736912\n+A_92_P018264\t8\t149257796\t149260091\n+A_92_P017946\t7\t106490212\t106494352\n+A_92_P017625\t10\t12600584\t12608266\n+A_92_P017465\t3\t31898226\t31901626\n+A_92_P017302\t9\t123626669\t123632500\n+A_92_P016982\t5\t206024284\t206027085\n+A_92_P016822\t10\t104874345\t104875095\n+A_92_P016658\t1\t271106011\t271114338\n+A_92_P016493\t10\t142431765\t142442301\n+A_92_P016339\t3\t44223365\t44228905\n+A_92_P016178\t5\t13576263\t13591781\n+A_92_P015859\t1\t40511639\t40514803\n+A_92_P015535\t2\t166337129\t166343550\n+A_92_P015377\t8\t34579789\t34581430\n+A_92_P015217\t4\t146061379\t146064837\n+A_'..b'156917525\n+A_92_P027881\t3\t179639691\t179643994\n+A_92_P027555\t6\t109292609\t109296377\n+A_92_P027232\t6\t67454716\t67457087\n+A_92_P027073\t6\t139275339\t139281024\n+A_92_P026912\t8\t111823880\t111830792\n+A_92_P026268\t2\t25730302\t25742692\n+A_92_P025632\t1\t296254082\t296259864\n+A_92_P025476\t6\t108069110\t108070157\n+A_92_P025314\t5\t69096740\t69101545\n+A_92_P025154\t1\t250071368\t250076916\n+A_92_P024995\t1\t76839835\t76842563\n+A_92_P024517\t7\t101575776\t101585717\n+A_92_P024355\t6\t159684144\t159686824\n+A_92_P023875\t7\t134079461\t134083853\n+A_92_P023714\t4\t72228201\t72228994\n+A_92_P023395\t1\t299988513\t299993142\n+A_92_P022919\t5\t9971667\t9976046\n+A_92_P022756\t9\t102493249\t102498039\n+A_92_P022593\t9\t137336819\t137339379\n+A_92_P022431\t6\t125268897\t125272586\n+A_92_P022270\t4\t56859950\t56860713\n+A_92_P022111\t2\t7423753\t7427106\n+A_92_P021949\t5\t201403227\t201404458\n+A_92_P021793\t10\t48351452\t48354107\n+A_92_P021635\t7\t25493806\t25496967\n+A_92_P021473\t8\t133562507\t133562566\n+A_92_P021309\t5\t155030183\t155038462\n+A_92_P021150\t6\t161725359\t161731090\n+A_92_P020987\t8\t14541175\t14542451\n+A_92_P020827\t9\t136572037\t136574076\n+A_92_P020667\t3\t179264407\t179266842\n+A_92_P020504\t4\t230884015\t230886011\n+A_92_P020343\t4\t44859117\t44861817\n+A_92_P020182\t2\t232593698\t232598237\n+A_92_P020019\t5\t43417416\t43421787\n+A_92_P019864\t3\t17116720\t17116663\n+A_92_P019543\t3\t146595220\t146597385\n+A_92_P019381\t3\t142424238\t142431581\n+A_92_P019064\t4\t158558932\t158560342\n+A_92_P018746\t1\t293644603\t293647117\n+A_92_P018589\t8\t5678043\t5684338\n+A_92_P018265\t5\t58055908\t58060567\n+A_92_P018105\t1\t287705805\t287714917\n+A_92_P017792\t9\t123411699\t123426029\n+A_92_P017626\t1\t65657063\t65660290\n+A_92_P017466\t2\t14728687\t14732144\n+A_92_P017303\t4\t9589010\t9592389\n+A_92_P017142\t2\t144880257\t144881689\n+A_92_P016823\t7\t107926112\t107930789\n+A_92_P016659\t1\t4757912\t4760893\n+A_92_P016340\t1\t61930850\t61941338\n+A_92_P016017\t8\t149925712\t149929308\n+A_92_P015860\t6\t110807326\t110809938\n+A_92_P015378\t3\t218176324\t218184390\n+A_92_P015218\t3\t168695539\t168839001\n+A_92_P014907\t4\t189572280\t189572223\n+A_92_P014746\t1\t23216683\t23224896\n+A_92_P014581\t5\t24416365\t24420200\n+A_92_P014426\t2\t41302953\t41306867\n+A_92_P013954\t6\t144173729\t144179108\n+A_92_P013799\t5\t191091219\t191095710\n+A_92_P013640\t2\t98647416\t98657842\n+A_92_P013482\t1\t202158131\t202160689\n+A_92_P013329\t9\t132007779\t132036274\n+A_92_P012855\t3\t111343931\t111347964\n+A_92_P012693\t5\t13396025\t13399562\n+A_92_P012539\t8\t17662835\t17663659\n+A_92_P012048\t5\t212970970\t212973559\n+A_92_P011883\t4\t178496306\t178502473\n+A_92_P011724\t2\t189564040\t189567318\n+A_92_P011404\t2\t195035853\t195038235\n+A_92_P011083\t4\t153627243\t153631088\n+A_92_P010607\t6\t96335569\t96339914\n+A_92_P010456\t1\t22866776\t22874253\n+A_92_P010294\t3\t16646353\t16647183\n+A_92_P009973\t1\t57553335\t57559348\n+A_92_P009806\t6\t35090976\t35091502\n+A_92_P009644\t7\t50274610\t50276155\n+A_92_P009479\t1\t201486510\t201490115\n+A_92_P009318\t9\t18896527\t18899443\n+A_92_P009162\t10\t23393918\t23400365\n+A_92_P008851\t6\t82497057\t82500132\n+A_92_P008687\t4\t33428585\t33432641\n+A_92_P008525\t1\t60867082\t60870260\n+A_92_P008367\t2\t154609991\t154610756\n+A_92_P008207\t6\t165151948\t165157662\n+A_92_P008048\t3\t43866692\t43869660\n+A_92_P007886\t4\t199278823\t199283117\n+A_92_P007726\t2\t228174038\t228173979\n+A_92_P007566\t5\t77753934\t77757260\n+A_92_P007403\t2\t194355266\t194356913\n+A_92_P007082\t5\t7982533\t7986261\n+A_92_P006924\t9\t22100864\t22105552\n+A_92_P006770\t2\t138569267\t138570888\n+A_92_P006610\t5\t202082974\t202094161\n+A_92_P006445\t7\t15210820\t15212786\n+A_92_P006287\t2\t212349126\t212354040\n+A_92_P006126\t9\t11396677\t11399043\n+A_92_P005968\t2\t4159971\t4163217\n+A_92_P005646\t3\t56812209\t56820107\n+A_92_P005318\t4\t116868299\t116870127\n+A_92_P005158\t6\t161894274\t161901390\n+A_92_P004834\t1\t298271801\t298273665\n+A_92_P004672\t4\t4851331\t4855715\n+A_92_P004512\t10\t34930686\t34932016\n+A_92_P004352\t2\t193829792\t193833616\n+A_92_P004200\t1\t272832650\t272835441\n+A_92_P003727\t5\t16129518\t16164823\n+A_92_P003567\t2\t207698186\t207700327\n+A_92_P003403\t2\t209807096\t209819838\n+A_92_P003242\t6\t153843385\t153845019\n+A_92_P003078\t8\t166800538\t166804990\n+A_92_P002916\t5\t46109710\t46119468\n+A_92_P002757\t7\t95533897\t95534429\n'
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/input/lookup.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/input/lookup.txt Fri Mar 18 05:15:29 2016 -0400
b
b'@@ -0,0 +1,1020 @@\n+id\tchr\tmarker\tinterval\tcM\tbp\tlength_cM\n+1\t1\t1\t0.0001\t0.0\t2038278\t2.0\n+2\t1\t1\t0.0201\t2.0\t2466324\t2.0\n+3\t1\t1\t0.0401\t4.0\t2894370\t2.0\n+4\t1\t1\t0.0601\t6.0\t3322416\t1.53\n+5\t1\t2\t0.0754\t7.53\t3649871\t2.0\n+6\t1\t2\t0.0954\t9.53\t4095673\t2.0\n+7\t1\t2\t0.1154\t11.53\t4541476\t2.0\n+8\t1\t2\t0.1354\t13.53\t4987278\t2.0\n+9\t1\t2\t0.1554\t15.53\t5433081\t2.0\n+10\t1\t2\t0.1754\t17.53\t5878883\t1.24\n+11\t1\t3\t0.1878\t18.77\t6155281\t2.0\n+12\t1\t3\t0.2078\t20.77\t6781464\t2.0\n+13\t1\t3\t0.2278\t22.77\t7407646\t2.0\n+14\t1\t3\t0.2478\t24.77\t8033829\t2.0\n+15\t1\t3\t0.2678\t26.77\t8660012\t2.0\n+16\t1\t3\t0.2878\t28.77\t9286194\t2.0\n+17\t1\t3\t0.3078\t30.77\t9912377\t2.0\n+18\t1\t3\t0.3278\t32.77\t10538560\t2.0\n+19\t1\t3\t0.3478\t34.77\t11164742\t2.0\n+20\t1\t3\t0.3678\t36.77\t11790925\t1.94\n+21\t1\t4\t0.3872\t38.71\t12398322\t2.0\n+22\t1\t4\t0.4072\t40.71\t12998447\t2.0\n+23\t1\t4\t0.4272\t42.71\t13598572\t1.91\n+24\t1\t5\t0.4463\t44.62\t14171692\t2.0\n+25\t1\t5\t0.4663\t46.62\t15319046\t2.0\n+26\t1\t5\t0.4863\t48.62\t16466401\t0.11\n+27\t1\t6\t0.4874\t48.73\t16529505\t2.0\n+28\t1\t6\t0.5074\t50.73\t17676859\t2.0\n+29\t1\t6\t0.5274\t52.73\t18824214\t0.48\n+30\t1\t7\t0.5322\t53.21\t19099579\t2.0\n+31\t1\t7\t0.5522\t55.21\t20991425\t2.0\n+32\t1\t7\t0.5722\t57.21\t22883271\t2.0\n+33\t1\t7\t0.5922\t59.21\t24775117\t2.0\n+34\t1\t7\t0.6122\t61.21\t26666963\t2.0\n+35\t1\t7\t0.6322\t63.21\t28558809\t2.0\n+36\t1\t7\t0.6522\t65.21\t30450655\t2.0\n+37\t1\t7\t0.6722\t67.21\t32342501\t2.0\n+38\t1\t7\t0.6922\t69.21\t34234347\t0.76\n+39\t1\t8\t0.6998\t69.97\t34953249\t2.0\n+40\t1\t8\t0.7198\t71.97\t36421871\t2.0\n+41\t1\t8\t0.7398\t73.97\t37890493\t2.0\n+42\t1\t8\t0.7598\t75.97\t39359115\t2.0\n+43\t1\t8\t0.7798\t77.97\t40827737\t2.0\n+44\t1\t8\t0.7998\t79.97\t42296359\t1.9\n+45\t1\t9\t0.8188\t81.87\t43691550\t2.0\n+46\t1\t9\t0.8388\t83.87\t45292235\t2.0\n+47\t1\t9\t0.8588\t85.87\t46892920\t2.0\n+48\t1\t9\t0.8788\t87.87\t48493606\t2.0\n+49\t1\t9\t0.8988\t89.87\t50094291\t2.0\n+50\t1\t9\t0.9188\t91.87\t51694976\t2.0\n+51\t1\t9\t0.9388\t93.87\t53295661\t2.0\n+52\t1\t9\t0.9588\t95.87\t54896346\t0.23\n+53\t1\t10\t0.9611\t96.1\t55080425\t2.0\n+54\t1\t10\t0.9811\t98.1\t56970721\t2.0\n+55\t1\t10\t1.0011\t100.1\t58861017\t2.0\n+56\t1\t10\t1.0211\t102.1\t60751312\t2.0\n+57\t1\t10\t1.0411\t104.1\t62641608\t2.0\n+58\t1\t10\t1.0611\t106.1\t64531904\t2.0\n+59\t1\t10\t1.0811\t108.1\t66422200\t2.0\n+60\t1\t10\t1.1011\t110.1\t68312495\t2.0\n+61\t1\t10\t1.1211\t112.1\t70202791\t0.6\n+62\t1\t11\t1.1271\t112.7\t70769880\t2.0\n+63\t1\t11\t1.1471\t114.7\t72592319\t2.0\n+64\t1\t11\t1.1671\t116.7\t74414759\t2.0\n+65\t1\t11\t1.1871\t118.7\t76237198\t2.0\n+66\t1\t11\t1.2071\t120.7\t78059638\t2.0\n+67\t1\t11\t1.2271\t122.7\t79882077\t2.0\n+68\t1\t11\t1.2471\t124.7\t81704517\t2.0\n+69\t1\t11\t1.2671\t126.7\t83526956\t0.13\n+70\t1\t12\t1.2684\t126.83\t83645415\t2.0\n+71\t1\t12\t1.2884\t128.83\t96061299\t2.0\n+72\t1\t12\t1.3084\t130.83\t108477184\t2.0\n+73\t1\t12\t1.3284\t132.83\t120893068\t2.0\n+74\t1\t12\t1.3484\t134.83\t133308952\t2.0\n+75\t1\t12\t1.3684\t136.83\t145724837\t2.0\n+76\t1\t12\t1.3884\t138.83\t158140721\t2.0\n+77\t1\t12\t1.4084\t140.83\t170556606\t1.86\n+78\t1\t13\t1.4270\t142.69\t182103378\t2.0\n+79\t1\t13\t1.4470\t144.69\t183913368\t2.0\n+80\t1\t13\t1.4670\t146.69\t185723358\t2.0\n+81\t1\t13\t1.4870\t148.69\t187533348\t0.28\n+82\t1\t14\t1.4898\t148.97\t187786747\t2.0\n+83\t1\t14\t1.5098\t150.97\t189596737\t2.0\n+84\t1\t14\t1.5298\t152.97\t191406727\t2.0\n+85\t1\t14\t1.5498\t154.97\t193216717\t2.0\n+86\t1\t14\t1.5698\t156.97\t195026707\t2.0\n+87\t1\t14\t1.5898\t158.97\t196836697\t2.0\n+88\t1\t14\t1.6098\t160.97\t198646687\t2.0\n+89\t1\t14\t1.6298\t162.97\t200456677\t1.31\n+90\t1\t15\t1.6429\t164.28\t201642220\t2.0\n+91\t1\t15\t1.6629\t166.28\t203363547\t2.0\n+92\t1\t15\t1.6829\t168.28\t205084874\t2.0\n+93\t1\t15\t1.7029\t170.28\t206806201\t2.0\n+94\t1\t15\t1.7229\t172.28\t208527528\t2.0\n+95\t1\t15\t1.7429\t174.28\t210248855\t2.0\n+96\t1\t15\t1.7629\t176.28\t211970183\t2.0\n+97\t1\t15\t1.7829\t178.28\t213691510\t0.84\n+98\t1\t16\t1.7913\t179.12\t214414467\t2.0\n+99\t1\t16\t1.8113\t181.12\t216838996\t2.0\n+100\t1\t16\t1.8313\t183.12\t219263525\t2.0\n+101\t1\t16\t1.8513\t185.12\t221688053\t2.0\n+102\t1\t16\t1.8713\t187.12\t224112582\t0.12\n+103\t1\t17\t1.8725\t187.24\t224258054\t2.0\n+104\t1\t17\t1.8925\t189.24\t227061670\t2.0\n+105\t1\t17\t1.9125\t191.24\t229865285\t2.0\n+106\t1\t17\t1.9325\t193.24\t232668901\t0.18\n+107\t1\t18\t1.9343\t193.42\t232921226\t2.0\n+108\t1\t18\t1.9543\t195.42\t234458043\t2.0\n+109\t1\t18\t1.9743\t197.42\t235994861\t2.0\n+110\t1\t18\t1.9943\t199.42\t237531678\t2.0\n+111\t1\t18\t2.0143\t201.42\t239068496\t0.71\n+112\t1\t19\t2.0214\t202.13\t239614066\t2'..b'82\t111.81\t140693277\t2.0\n+913\t9\t7\t1.1382\t113.81\t141761436\t2.0\n+914\t9\t7\t1.1582\t115.81\t142829596\t2.0\n+915\t9\t7\t1.1782\t117.81\t143897755\t2.0\n+916\t9\t7\t1.1982\t119.81\t144965914\t0.7\n+917\t9\t8\t1.2052\t120.51\t145339770\t2.0\n+918\t9\t8\t1.2252\t122.51\t146423479\t2.0\n+919\t9\t8\t1.2452\t124.51\t147507188\t0.27\n+920\t9\t9\t1.2479\t124.78\t147653489\t2.0\n+921\t9\t9\t1.2679\t126.78\t148080162\t2.0\n+922\t9\t9\t1.2879\t128.78\t148506836\t2.0\n+923\t9\t9\t1.3079\t130.78\t148933509\t2.0\n+924\t9\t9\t1.3279\t132.78\t149360182\t2.0\n+925\t9\t9\t1.3479\t134.78\t149786856\t2.0\n+926\t9\t9\t1.3679\t136.78\t150213529\t2.0\n+927\t9\t9\t1.3879\t138.78\t150640202\t1.6\n+928\t9\t10\t1.4039\t140.38\t150981541\t2.0\n+929\t9\t10\t1.4239\t142.38\t151233890\t2.0\n+930\t9\t10\t1.4439\t144.38\t151486238\t2.0\n+931\t9\t10\t1.4639\t146.38\t151738587\t2.0\n+932\t9\t10\t1.4839\t148.38\t151990936\t2.0\n+933\t9\t10\t1.5039\t150.38\t152243284\t2.0\n+934\t9\t10\t1.5239\t152.38\t152495633\t2.0\n+935\t9\t10\t1.5439\t154.38\t152747982\t2.0\n+936\t9\t10\t1.5639\t156.38\t153000331\t2.0\n+937\t9\t10\t1.5839\t158.38\t153252679\t0.4\n+938\t9\t11\t1.5879\t158.78\t153303149\t0\n+939\t10\t1\t0.0001\t0.0\t2646499\t2.0\n+940\t10\t1\t0.0201\t2.0\t2960619\t2.0\n+941\t10\t1\t0.0401\t4.0\t3274739\t2.0\n+942\t10\t1\t0.0601\t6.0\t3588859\t2.0\n+943\t10\t1\t0.0801\t8.0\t3902979\t2.0\n+944\t10\t1\t0.1001\t10.0\t4217100\t2.0\n+945\t10\t1\t0.1201\t12.0\t4531220\t2.0\n+946\t10\t1\t0.1401\t14.0\t4845340\t1.02\n+947\t10\t2\t0.1503\t15.02\t5005541\t2.0\n+948\t10\t2\t0.1703\t17.02\t5415805\t2.0\n+949\t10\t2\t0.1903\t19.02\t5826069\t2.0\n+950\t10\t2\t0.2103\t21.02\t6236333\t2.0\n+951\t10\t2\t0.2303\t23.02\t6646598\t2.0\n+952\t10\t2\t0.2503\t25.02\t7056862\t2.0\n+953\t10\t2\t0.2703\t27.02\t7467126\t2.0\n+954\t10\t2\t0.2903\t29.02\t7877390\t2.0\n+955\t10\t2\t0.3103\t31.02\t8287654\t1.55\n+956\t10\t3\t0.3258\t32.57\t8605609\t2.0\n+957\t10\t3\t0.3458\t34.57\t9339920\t2.0\n+958\t10\t3\t0.3658\t36.57\t10074232\t2.0\n+959\t10\t3\t0.3858\t38.57\t10808543\t2.0\n+960\t10\t3\t0.4058\t40.57\t11542855\t2.0\n+961\t10\t3\t0.4258\t42.57\t12277166\t2.0\n+962\t10\t3\t0.4458\t44.57\t13011478\t1.48\n+963\t10\t4\t0.4606\t46.05\t13554868\t2.0\n+964\t10\t4\t0.4806\t48.05\t31923673\t2.0\n+965\t10\t4\t0.5006\t50.05\t50292478\t2.0\n+966\t10\t4\t0.5206\t52.05\t68661284\t0.94\n+967\t10\t5\t0.5300\t52.99\t77294622\t2.0\n+968\t10\t5\t0.5500\t54.99\t81739358\t2.0\n+969\t10\t5\t0.5700\t56.99\t86184094\t2.0\n+970\t10\t5\t0.5900\t58.99\t90628830\t2.0\n+971\t10\t5\t0.6100\t60.99\t95073566\t2.0\n+972\t10\t5\t0.6300\t62.99\t99518301\t2.0\n+973\t10\t5\t0.6500\t64.99\t103963037\t2.0\n+974\t10\t5\t0.6700\t66.99\t108407773\t2.0\n+975\t10\t5\t0.6900\t68.99\t112852509\t2.0\n+976\t10\t5\t0.7100\t70.99\t117297245\t2.0\n+977\t10\t5\t0.7300\t72.99\t121741981\t2.0\n+978\t10\t5\t0.7500\t74.99\t126186717\t0.18\n+979\t10\t6\t0.7518\t75.17\t126586743\t2.0\n+980\t10\t6\t0.7718\t77.17\t127958220\t2.0\n+981\t10\t6\t0.7918\t79.17\t129329697\t2.0\n+982\t10\t6\t0.8118\t81.17\t130701174\t0.38\n+983\t10\t7\t0.8156\t81.55\t130961755\t2.0\n+984\t10\t7\t0.8356\t83.55\t132356414\t2.0\n+985\t10\t7\t0.8556\t85.55\t133751073\t2.0\n+986\t10\t7\t0.8756\t87.55\t135145732\t2.0\n+987\t10\t7\t0.8956\t89.55\t136540391\t1.07\n+988\t10\t8\t0.9063\t90.62\t137286534\t2.0\n+989\t10\t8\t0.9263\t92.62\t137578907\t2.0\n+990\t10\t8\t0.9463\t94.62\t137871280\t2.0\n+991\t10\t8\t0.9663\t96.62\t138163653\t2.0\n+992\t10\t8\t0.9863\t98.62\t138456026\t0.05\n+993\t10\t9\t0.9868\t98.67\t138463335\t2.0\n+994\t10\t9\t1.0068\t100.67\t138982567\t2.0\n+995\t10\t9\t1.0268\t102.67\t139501799\t1.93\n+996\t10\t10\t1.0461\t104.6\t140002858\t2.0\n+997\t10\t10\t1.0661\t106.6\t140522090\t2.0\n+998\t10\t10\t1.0861\t108.6\t141041322\t2.0\n+999\t10\t10\t1.1061\t110.6\t141560554\t2.0\n+1000\t10\t10\t1.1261\t112.6\t142079786\t2.0\n+1001\t10\t10\t1.1461\t114.6\t142599018\t2.0\n+1002\t10\t10\t1.1661\t116.6\t143118250\t1.03\n+1003\t10\t11\t1.1764\t117.63\t143385654\t2.0\n+1004\t10\t11\t1.1964\t119.63\t143836329\t2.0\n+1005\t10\t11\t1.2164\t121.63\t144287005\t2.0\n+1006\t10\t11\t1.2364\t123.63\t144737680\t2.0\n+1007\t10\t11\t1.2564\t125.63\t145188355\t2.0\n+1008\t10\t11\t1.2764\t127.63\t145639031\t2.0\n+1009\t10\t11\t1.2964\t129.63\t146089706\t0.9\n+1010\t10\t12\t1.3054\t130.53\t146292510\t2.0\n+1011\t10\t12\t1.3254\t132.53\t146699702\t2.0\n+1012\t10\t12\t1.3454\t134.53\t147106895\t2.0\n+1013\t10\t12\t1.3654\t136.53\t147514087\t2.0\n+1014\t10\t12\t1.3854\t138.53\t147921279\t2.0\n+1015\t10\t12\t1.4054\t140.53\t148328472\t2.0\n+1016\t10\t12\t1.4254\t142.53\t148735664\t2.0\n+1017\t10\t12\t1.4454\t144.53\t149142856\t2.0\n+1018\t10\t12\t1.4654\t146.53\t149550049\t0.95\n+1019\t10\t13\t1.4749\t147.48\t149743465\t0\n'
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._.DS_Store
b
Binary file classifier/test-data/output/._.DS_Store has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._all_classification_test.txt
b
Binary file classifier/test-data/output/._all_classification_test.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._chr_summary_v2.txt
b
Binary file classifier/test-data/output/._chr_summary_v2.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._cis_classification_test.txt
b
Binary file classifier/test-data/output/._cis_classification_test.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._classification_summary_test.txt
b
Binary file classifier/test-data/output/._classification_summary_test.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._eQTL_gene_position_plot.pdf
b
Binary file classifier/test-data/output/._eQTL_gene_position_plot.pdf has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._eQTL_per_gene_summary.txt
b
Binary file classifier/test-data/output/._eQTL_per_gene_summary.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._gene_pos_v2.txt
b
Binary file classifier/test-data/output/._gene_pos_v2.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/._trans_classification_test.txt
b
Binary file classifier/test-data/output/._trans_classification_test.txt has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/all_classification_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/all_classification_test.txt Fri Mar 18 05:15:29 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 ef9c2044d86a classifier/test-data/output/chr_summary_v2.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/chr_summary_v2.txt Fri Mar 18 05:15:29 2016 -0400
b
@@ -0,0 +1,12 @@
+chr markers cM bp interval positions bins genes cis eQTL trans eQT unknown eQTL all eQTL
+1 27 324.4 301354135 177 176 5185 759 1954 470 3183
+2 14 169.11 237068873 92 91 3782 426 1127 319 1872
+3 19 221.29 232140174 123 122 3608 430 1112 310 1852
+4 20 188.37 241473504 105 104 3389 458 1252 325 2035
+5 20 203.82 217872852 110 109 3964 629 1834 465 2928
+6 17 195.85 169174353 106 105 2744 349 787 229 1365
+7 12 111.16 176764762 63 62 2721 375 832 207 1414
+8 14 141.31 175793759 77 76 2869 465 1076 277 1818
+9 11 158.78 156750706 85 84 2416 264 1142 260 1666
+10 13 147.48 150189435 81 80 2228 325 1423 325 2073
+Total 167 1861.57 2058582553 1019 1009 32906 4480 12539 3187 20206
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/cis_classification_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/cis_classification_test.txt Fri Mar 18 05:15:29 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 ef9c2044d86a classifier/test-data/output/classification_summary_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/classification_summary_test.txt Fri Mar 18 05:15:29 2016 -0400
b
@@ -0,0 +1,5 @@
+class number_eQTLs percentage_eQTLs average_peakLR average_rsq average_rtsq
+cis 4480 22.17% 36.4 0.3 0.5
+trans 12539 62.06% 18.2 0.15 0.42
+unknown 3187 15.77% 23.5 0.2 0.46
+all 20206 100.0% 23.1 0.19 0.44
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/eQTL_gene_position_plot.pdf
b
Binary file classifier/test-data/output/eQTL_gene_position_plot.pdf has changed
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/eQTL_per_gene_summary.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/eQTL_per_gene_summary.txt Fri Mar 18 05:15:29 2016 -0400
b
@@ -0,0 +1,7 @@
+Average number of eQTLs per gene with eQTL 1.9
+Average number of cis eQTLs per gene with cis eQTL 1.0
+Average number of trans eQTLs per gene with trans eQTL 1.5
+Number of genes with only cis eQTL (no trans) 2244 (20.8%)
+Number of genes with only trans eQTL (no cis) 6316 (58.6%)
+Number of genes with cis and trans eQTL 2218 (20.6%)
+Number of genes with cis or trans eQTL 10778 (100.0%)
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/gene_pos_v2.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/gene_pos_v2.txt Fri Mar 18 05:15:29 2016 -0400
b
b'@@ -0,0 +1,32938 @@\n+gene\tchr\tstart_bp\tend_bp\tnum_eQTL\tnum_cis_eQTL\tnum_trans_eQTL\tnum_unknown_eQTL\tgene_bin\n+A_92_P036799\t6\t155513712\t155518148\t1\t0\t1\t0\t682\n+A_92_P036798\t4\t230729005\t230729064\t0\t0\t0\t0\t472\n+A_92_P026279\t2\t172852270\t172853086\t1\t0\t1\t0\t229\n+A_92_P026278\t1\t282744902\t282749375\t2\t0\t2\t0\t154\n+A_92_P036791\t2\t6556394\t6560322\t0\t0\t0\t0\t189\n+A_92_P036790\t2\t12067190\t12070841\t1\t0\t1\t0\t202\n+A_92_P036793\t2\t26713018\t26714723\t0\t0\t0\t0\t217\n+A_92_P036792\t5\t15650410\t15655937\t1\t0\t1\t0\t527\n+A_92_P036795\t4\t52896233\t52900266\t0\t0\t0\t0\t425\n+A_92_P026272\t2\t186265525\t186267387\t0\t0\t0\t0\t229\n+A_92_P036797\t8\t19972646\t19977268\t1\t0\t1\t0\t801\n+A_92_P036796\t1\t226221925\t226222625\t1\t1\t0\t0\t103\n+A_92_P038628\t4\t197750322\t197751855\t1\t0\t1\t0\t465\n+A_92_P038623\t6\t151770259\t151778529\t0\t0\t0\t0\t679\n+A_92_P038622\t4\t183126627\t183129572\t0\t0\t0\t0\t457\n+A_92_P038627\t5\t130948585\t130958021\t0\t0\t0\t0\t550\n+A_92_P038626\t1\t83826430\t83826489\t0\t0\t0\t0\t70\n+A_92_P038625\t4\t10454548\t10456154\t0\t0\t0\t0\t403\n+A_92_P038624\t9\t147394217\t147407930\t0\t0\t0\t0\t918\n+A_92_P030436\t5\t24155065\t24158143\t0\t0\t0\t0\t534\n+A_92_P030435\t5\t209688174\t209693685\t0\t0\t0\t0\t589\n+A_92_P030433\t3\t171814341\t171814634\t0\t0\t0\t0\t343\n+A_92_P007412\t6\t100205307\t100214671\t0\t0\t0\t0\t638\n+A_92_P007413\t5\t3501149\t3505626\t0\t0\t0\t0\t500\n+A_92_P007411\t4\t191766835\t191770806\t1\t0\t1\t0\t464\n+A_92_P007416\t8\t88275115\t88321085\t5\t0\t4\t1\tNA\n+A_92_P007417\t2\t218459415\t218461700\t1\t0\t1\t0\t254\n+A_92_P030438\t5\t70681619\t70683191\t0\t0\t0\t0\t546\n+A_92_P030439\t8\t159955220\t159956089\t0\t0\t0\t0\t829\n+A_92_P038191\t3\t9384682\t9390232\t0\t0\t0\t0\t289\n+A_92_P038193\t4\t237389452\t237389511\t0\t0\t0\t0\t482\n+A_92_P038192\t5\t6985304\t7003515\t1\t0\t1\t0\t512\n+A_92_P000827\t10\t148524717\t148528310\t0\t0\t0\t0\t1015\n+A_92_P038197\t6\t163979437\t163984362\t0\t0\t0\t0\t704\n+A_92_P038196\t2\t130950189\t130956550\t1\t0\t1\t0\t227\n+A_92_P038199\t3\t19418744\t19451717\t1\t1\t0\t0\t297\n+A_92_P038198\t7\t132631702\t132633307\t0\t0\t0\t0\t735\n+A_92_P000828\t3\t206870712\t206871675\t2\t0\t1\t1\t369\n+A_92_P000829\t3\t215590446\t215594988\t0\t0\t0\t0\t379\n+A_92_P002549\t8\t173788083\t173793095\t1\t1\t0\t0\t849\n+A_92_P002548\t9\t11530110\t11533070\t0\t0\t0\t0\t866\n+A_92_P002543\t8\t170819280\t170821634\t0\t0\t0\t0\t843\n+A_92_P002542\t1\t227367233\t227369643\t0\t0\t0\t0\t104\n+A_92_P002541\t5\t204318262\t204322524\t0\t0\t0\t0\t582\n+A_92_P002540\t2\t181110668\t181120123\t0\t0\t0\t0\t229\n+A_92_P030296\t8\t162788741\t162790666\t0\t0\t0\t0\t832\n+A_92_P002546\t3\t199651064\t199660284\t0\t0\t0\t0\t363\n+A_92_P002545\t5\t1949863\t1954952\t0\t0\t0\t0\tNA\n+A_92_P002544\t8\t29717511\t29720258\t1\t0\t1\t0\t804\n+A_92_P039574\t7\t170109690\t170113008\t2\t0\t1\t1\t766\n+A_92_P039575\t2\t201971116\t201972947\t0\t0\t0\t0\t230\n+A_92_P039576\t1\t173680417\t173681872\t0\t0\t0\t0\t77\n+A_92_P039577\t7\t166152272\t166157716\t2\t0\t1\t1\t760\n+A_92_P039570\t10\t117897726\t117902254\t1\t0\t1\t0\t976\n+A_92_P039571\t8\t163424050\t163434210\t1\t0\t1\t0\t832\n+A_92_P039572\t7\t7453972\t7459323\t0\t0\t0\t0\tNA\n+A_92_P039573\t8\t1640429\t1650651\t1\t0\t1\t0\t777\n+A_92_P039578\t6\t113584799\t113595444\t3\t1\t2\t0\t651\n+A_92_P039579\t3\t194818944\t194820744\t0\t0\t0\t0\t359\n+A_92_P031746\t4\t172010354\t172019014\t0\t0\t0\t0\t445\n+A_92_P031745\t3\t2138269\t2142726\t2\t0\t2\t0\t271\n+A_92_P031744\t6\t138360824\t138361516\t0\t0\t0\t0\t673\n+A_92_P031743\t1\t2801080\t2803977\t0\t0\t0\t0\t2\n+A_92_P031742\t5\t213533998\t213539571\t0\t0\t0\t0\t599\n+A_92_P031741\t9\t109316648\t109319741\t3\t0\t2\t1\t898\n+A_92_P031740\t2\t195711623\t195711564\t3\t0\t2\t1\t230\n+A_92_P031749\t1\t219892621\t219901471\t1\t0\t1\t0\t100\n+A_92_P031748\t1\t121487438\t121498734\t2\t1\t1\t0\t73\n+A_92_P014157\t3\t132396184\t132400373\t1\t0\t1\t0\t313\n+A_92_P014156\t5\t189318352\t189325133\t0\t0\t0\t0\t570\n+A_92_P014155\t1\t280975076\t280975017\t0\t0\t0\t0\t152\n+A_92_P014154\t9\t10558516\t10559089\t0\t0\t0\t0\t865\n+A_92_P014152\t10\t101520598\t101521474\t0\t0\t0\t0\t972\n+A_92_P008197\t10\t117989579\t117992187\t0\t0\t0\t0\t976\n+A_92_P014158\t6\t164147092\t164150176\t1\t0\t1\t0\t704\n+A_92_P015161\t1\t60395572\t60406353\t0\t0\t0\t0\t55\n+A_92_P035918\t7\t5133958\t5140686\t0\t0\t0\t0\tNA\n+A_92_P035919\t5\t63564993\t63569468\t2\t1\t0\t1\t544\n+A_92_P035916\t3\t27770894\t27772294\t0\t0\t0\t0\t303\n+A_92_P035917\t10\t12634735\t12643862\t0\t0\t0\t0\t961\n+A_92_P035915\t4\t211189921\t211192674\t0\t0\t0\t0\t468\n+A_92_P035912\t2\t226699977\t226705433\t0\t0\t0\t0\t261\n+A_92_P035913\t10\t21678999\t21694247'..b'03753539\t0\t0\t0\t0\t366\n+A_92_P021509\t1\t32539832\t32543610\t1\t1\t0\t0\t37\n+A_92_P021506\t4\t19591386\t19599253\t1\t0\t1\t0\t416\n+A_92_P021507\t7\t129716439\t129717062\t0\t0\t0\t0\t734\n+A_92_P021500\t7\t80018035\t80022204\t1\t0\t1\t0\t721\n+A_92_P021501\t6\t35680626\t35684863\t1\t1\t0\t0\t612\n+A_92_P021503\t5\t207708230\t207730486\t5\t0\t3\t2\t586\n+A_92_P034308\t1\t105760826\t105766937\t0\t0\t0\t0\t71\n+A_92_P034309\t1\t43344063\t43358846\t0\t0\t0\t0\t44\n+A_92_P009138\t4\t216863072\t216863975\t0\t0\t0\t0\t469\n+A_92_P034300\t8\t166780990\t166783002\t0\t0\t0\t0\t836\n+A_92_P034301\t2\t166440624\t166446806\t2\t0\t2\t0\t229\n+A_92_P034302\t1\t38725745\t38739788\t1\t1\t0\t0\t41\n+A_92_P034303\t8\t73686442\t73686885\t0\t0\t0\t0\t808\n+A_92_P034304\t3\t134015051\t134017773\t0\t0\t0\t0\t315\n+A_92_P034306\t5\t13179021\t13182317\t1\t1\t0\t0\t523\n+A_92_P029040\t4\t40354679\t40358758\t0\t0\t0\t0\t424\n+A_92_P024365\t1\t158688179\t158693246\t0\t0\t0\t0\t76\n+A_92_P024364\t3\t211872427\t211878967\t0\t0\t0\t0\t375\n+A_92_P024363\t1\t24050823\t24052281\t0\t0\t0\t0\t32\n+A_92_P024362\t8\t172559174\t172568352\t1\t0\t1\t0\t847\n+A_92_P024361\t10\t128561787\t128568964\t0\t0\t0\t0\t980\n+A_92_P024360\t7\t129767647\t129768963\t0\t0\t0\t0\t734\n+A_92_P024369\t1\t240022928\t240026032\t0\t0\t0\t0\t112\n+A_92_P029048\t2\t224982658\t224983164\t0\t0\t0\t0\t259\n+A_92_P013687\t1\t19690785\t19690726\t0\t0\t0\t0\t30\n+A_92_P003557\t1\t146859652\t146859712\t0\t0\t0\t0\t75\n+A_92_P028936\t4\t18910819\t18913019\t0\t0\t0\t0\t416\n+A_92_P013688\t4\t23523782\t23529631\t0\t0\t0\t0\t419\n+A_92_P028709\t1\t266043909\t266047205\t1\t1\t0\t0\t139\n+A_92_P028708\t3\t142424238\t142431581\t0\t0\t0\t0\t319\n+A_92_P011276\t3\t57083118\t57089915\t2\t0\t1\t1\t304\n+A_92_P028701\t7\t158460078\t158467848\t1\t1\t0\t0\t753\n+A_92_P003553\t7\t52674839\t52679426\t0\t0\t0\t0\t720\n+A_92_P028703\t6\t110695290\t110707260\t0\t0\t0\t0\t649\n+A_92_P028702\t3\t207547850\t207548812\t0\t0\t0\t0\t370\n+A_92_P028704\t2\t135378389\t135394927\t2\t0\t1\t1\t228\n+A_92_P028707\t8\t145082985\t145087859\t0\t0\t0\t0\t825\n+A_92_P003552\t3\t225581552\t225581611\t0\t0\t0\t0\t391\n+A_92_P011095\t3\t201319630\t201320413\t0\t0\t0\t0\t364\n+A_92_P003551\t9\t77544305\t77549474\t2\t0\t2\t0\t892\n+A_92_P011094\t10\t9220900\t9225379\t0\t0\t0\t0\t956\n+A_92_P003550\t4\t168084600\t168087331\t0\t0\t0\t0\t442\n+A_92_P028938\t1\t212530779\t212532690\t3\t1\t1\t1\t96\n+A_92_P028939\t8\t48088346\t48135622\t0\t0\t0\t0\t806\n+A_92_P011090\t5\t22453541\t22453482\t0\t0\t0\t0\t533\n+A_92_P011093\t3\t13311963\t13316402\t1\t0\t1\t0\t293\n+A_92_P032071\t1\t56073143\t56077145\t0\t0\t0\t0\t53\n+A_92_P032072\t1\t267783072\t267785255\t0\t0\t0\t0\t140\n+A_92_P032074\t10\t75809368\t75814889\t2\t1\t1\t0\t966\n+A_92_P032075\t5\t211073899\t211077757\t0\t0\t0\t0\t591\n+A_92_P023838\t3\t163084867\t163088262\t1\t0\t1\t0\t333\n+A_92_P023839\t1\t84814341\t84815071\t0\t0\t0\t0\t70\n+A_92_P023836\t4\t97533829\t97537605\t0\t0\t0\t0\t428\n+A_92_P023834\t9\t128726139\t128729453\t0\t0\t0\t0\t902\n+A_92_P023835\t8\t88812713\t88814117\t2\t0\t2\t0\tNA\n+A_92_P023832\t5\t122651542\t122654881\t0\t0\t0\t0\t549\n+A_92_P023833\t5\t39627828\t39628698\t0\t0\t0\t0\t540\n+A_92_P023830\t3\t167362919\t167372271\t2\t1\t1\t0\t337\n+A_92_P017803\t4\t210302499\t210329212\t1\t1\t0\t0\t468\n+A_92_P027108\t1\t262719636\t262725651\t2\t0\t2\t0\t134\n+A_92_P027109\t1\t212191637\t212196339\t0\t0\t0\t0\t96\n+A_92_P027105\t6\t95933083\t95937399\t0\t0\t0\t0\t634\n+A_92_P027102\t8\t144870544\t144880920\t1\t1\t0\t0\t825\n+A_92_P027103\t7\t88915743\t88915684\t0\t0\t0\t0\t722\n+A_92_P027100\t3\t88009455\t88010785\t1\t1\t0\t0\t306\n+A_92_P027101\t4\t6531476\t6535120\t2\t0\t2\t0\t397\n+A_92_P017806\t8\t171891444\t171894441\t0\t0\t0\t0\t847\n+A_92_P017807\t8\t173036044\t173041846\t0\t0\t0\t0\t848\n+A_92_P006899\t2\t32257322\t32262715\t0\t0\t0\t0\t220\n+A_92_P006898\t6\t1334626\t1338778\t1\t0\t1\t0\tNA\n+A_92_P006891\t6\t1711127\t1714270\t0\t0\t0\t0\tNA\n+A_92_P006893\t9\t102439715\t102441583\t0\t0\t0\t0\t897\n+A_92_P006892\t1\t31742039\t31744508\t0\t0\t0\t0\t36\n+A_92_P006895\t8\t123041911\t123044071\t0\t0\t0\t0\t819\n+A_92_P006894\t3\t9390250\t9390279\t0\t0\t0\t0\t289\n+A_92_P006897\t6\t140707883\t140726982\t2\t0\t1\t1\t674\n+A_92_P006896\t1\t243019744\t243025046\t0\t0\t0\t0\t115\n+A_92_P008949\t7\t175291490\t175292507\t1\t1\t0\t0\tNA\n+A_92_P008941\t1\t3130454\t3136449\t0\t0\t0\t0\t3\n+A_92_P008940\t3\t86773492\t86774571\t0\t0\t0\t0\t306\n+A_92_P008943\t5\t142423850\t142426306\t0\t0\t0\t0\t550\n+A_92_P008942\t4\t239157799\t239157859\t0\t0\t0\t0\t488\n+A_92_P008944\t9\t126446813\t126450339\t0\t0\t0\t0\t901\n+A_92_P008947\t1\t280829159\t280833157\t0\t0\t0\t0\t151\n+A_92_P008946\t6\t161126368\t161129841\t0\t0\t0\t0\t696\n'
b
diff -r 000000000000 -r ef9c2044d86a classifier/test-data/output/trans_classification_test.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/test-data/output/trans_classification_test.txt Fri Mar 18 05:15:29 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 ef9c2044d86a classifier/tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/classifier/tool_dependencies.xml Fri Mar 18 05:15:29 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>
+