Repository 'ccat'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/ccat

Changeset 0:a0c8dc671a23 (2014-01-27)
Next changeset 1:201d8e7dfc43 (2015-07-21)
Commit message:
Imported from capsule None
added:
ccat_wrapper.py
ccat_wrapper.xml
test-data/1.interval
test-data/1.txt
test-data/2.interval
test-data/2.txt
test-data/a.tab
test-data/chipseq_enriched.bed.gz
test-data/chipseq_input.bed.gz
test-data/peakcalling_ccat/3.0/ccat_test_log_out_1.txt
test-data/peakcalling_ccat/3.0/ccat_test_log_out_2.txt
test-data/peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match
test-data/peakcalling_ccat/3.0/ccat_test_peak_out_2.interval.re_match
test-data/peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match
test-data/peakcalling_ccat/3.0/ccat_test_region_out_2.interval.re_match
test-data/peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match
test-data/peakcalling_ccat/3.0/ccat_test_top_out_2.interval.sorted.re_match
tool-data/ccat_configurations.loc.sample
tool_data_table_conf.xml.sample
tool_dependencies.xml
b
diff -r 000000000000 -r a0c8dc671a23 ccat_wrapper.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ccat_wrapper.py Mon Jan 27 09:27:03 2014 -0500
[
@@ -0,0 +1,41 @@
+import sys, subprocess, tempfile, shutil, os.path
+
+CCAT_BINARY = "CCAT"
+
+def get_top_count( filename ):
+    for line in open( filename ):
+        if line.startswith( 'outputNum' ):
+            return int( line.split()[-1].strip() ) 
+
+def stop_err( tmp_dir, exception ):
+    print >> sys.stderr, "Error running CCAT."
+    shutil.rmtree( tmp_dir ) #some error has occurred, provide info and remove possibly non-empty temp directory
+    raise exception
+
+def main():
+    input_tag_file = sys.argv[1]
+    input_control_file = sys.argv[2]
+    chrom_info_file = sys.argv[3]
+    input_config_file = sys.argv[4]
+    project_name = sys.argv[5]
+    output_peak_file = sys.argv[6]
+    output_region_file = sys.argv[7]
+    output_top_file = sys.argv[8]
+    output_log_file = sys.argv[9]
+    
+    tmp_dir = tempfile.mkdtemp()
+    try:
+        assert os.path.exists( chrom_info_file ), "The required chromosome length file does not exist."
+        proc = subprocess.Popen( args="%s %s > %s" % ( CCAT_BINARY, " ".join( map( lambda x: "'%s'" % x, [ input_tag_file, input_control_file, chrom_info_file, input_config_file, project_name ] ) ), output_log_file ), shell=True, cwd=tmp_dir )
+        proc.wait()
+        if proc.returncode:
+            raise Exception( "Error code: %i" % proc.returncode )
+        output_num = get_top_count( input_config_file )
+        shutil.move( os.path.join( tmp_dir, "%s.significant.peak" % project_name ), output_peak_file )
+        shutil.move( os.path.join( tmp_dir, "%s.significant.region" % project_name ), output_region_file )
+        shutil.move( os.path.join( tmp_dir, "%s.top%i.peak" % ( project_name, output_num ) ), output_top_file )
+    except Exception, e:
+        return stop_err( tmp_dir, e )
+    os.rmdir( tmp_dir ) #clean up empty temp working directory
+
+if __name__ == "__main__": main()
b
diff -r 000000000000 -r a0c8dc671a23 ccat_wrapper.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ccat_wrapper.xml Mon Jan 27 09:27:03 2014 -0500
[
b'@@ -0,0 +1,148 @@\n+<tool id="peakcalling_ccat" name="CCAT" version="0.0.1">\n+  <description>Control-based ChIP-seq Analysis Tool</description>\n+  <requirements>\n+    <requirement type="package" version="3.0">CCAT</requirement>\n+  </requirements>\n+  <command interpreter="python">ccat_wrapper.py \'$input_tag_file\' \'$input_control_file\' \'$chromInfo\' \n+  #if str( $options_type[ \'options_type_selector\' ] ) == \'advanced\':\n+  \'$input_advanced_config_file\' \n+  #else:\n+  \'${ options_type.input_config_file.fields.path }\'\n+  #end if\n+  \'CCAT in Galaxy\' \n+  \'$output_peak_file\' \'$output_region_file\' \'$output_top_file\' \'$output_log_file\'</command>\n+  <inputs>\n+    <param name="input_tag_file" type="data" format="bed" label="ChIP-Seq Tag File" >\n+      <validator type="unspecified_build" />\n+    </param>\n+    <param name="input_control_file" type="data" format="bed" label="ChIP-Seq Control File" >\n+      <validator type="unspecified_build" />\n+    </param>\n+    <conditional name="options_type">\n+      <param name="options_type_selector" type="select" label="Advanced Options">\n+        <option value="basic" selected="True">Hide Advanced Options</option>\n+        <option value="advanced">Show Advanced Options</option>\n+      </param>\n+      <when value="basic">\n+        <param name="input_config_file" type="select" label="Select a pre-defined configuration file">\n+          <options from_data_table="ccat_configurations">\n+            <validator type="no_options" message="No configurations are available"/>\n+          </options>\n+        </param>\n+      </when>\n+      <when value="advanced">\n+        <param name="fragment_size" type="integer" label="Length of DNA fragment" value="200"/>\n+        <param name="sliding_window_size" type="integer" label="Sliding window size" value="500" help="transcription factor binding default: 300; histone modifications default: 500"/>\n+        <param name="moving_step" type="integer" label="Step of sliding window" value="50" help="transcription factor binding default: 10; histone modifications default: 50"/>\n+        <param name="is_strand_sensitive_mode" type="select" label="isStrandSensitiveMode" >\n+          <option value="1">Transition from sense strand to anti-sense strand</option>\n+          <option value="0" selected="True">Local maximum of read-enrichment profile</option>\n+        </param>\n+        <param name="min_count" type="integer" label="Minimum number of read counts at the peak" value="4"/>\n+        <param name="output_num" type="integer" label="Number of peaks reported in top peak file" value="100000"/>\n+        <param name="random_seed" type="integer" label="Random Seed" value="123456"/>\n+        <param name="min_score" type="float" label="Minimum score of normalized difference" value="3.0"/>\n+        <param name="bootstrap_pass" type="integer" label="Number of passes in the bootstrapping process" value="50"/>\n+      </when>\n+    </conditional>\n+  </inputs>\n+  <outputs>\n+    <data name="output_peak_file" format="interval" label="${tool.name} on ${on_string} (peaks)">\n+      <actions>\n+        <action type="metadata" name="chromCol" default="1"/>\n+        <action type="metadata" name="startCol" default="3"/>\n+        <action type="metadata" name="endCol" default="4"/>\n+      </actions>\n+    </data>\n+    <data name="output_region_file" format="interval" label="${tool.name} on ${on_string} (regions)">\n+      <actions>\n+        <action type="metadata" name="chromCol" default="1"/>\n+        <action type="metadata" name="startCol" default="3"/>\n+        <action type="metadata" name="endCol" default="4"/>\n+      </actions>\n+    </data>\n+    <data name="output_top_file" format="interval" label="${tool.name} on ${on_string} (top peaks)">\n+      <actions>\n+        <action type="metadata" name="chromCol" default="1"/>\n+        <action type="metadata" name="startCol" default="3"/>\n+        <action type="metadata" name="endCol" default="4"/>\n+      </actions>\n+    </data>\n+    <data name="output_log_file" fo'..b' ]}\n+minScore\t${options_type[ \'min_score\' ]}\t\n+bootstrapPass\t${options_type[ \'bootstrap_pass\' ]}\n+#end if</configfile>\n+  </configfiles>\n+  <tests>\n+    <test>\n+      <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />\n+      <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />\n+      <param name="options_type_selector" value="advanced" />\n+      <param name="fragment_size" value="200" />\n+      <param name="sliding_window_size" value="500" />\n+      <param name="moving_step" value="50" />\n+      <param name="is_strand_sensitive_mode" value="0" />\n+      <param name="min_count" value="4" />\n+      <param name="output_num" value="100000" />\n+      <param name="random_seed" value="123456" />\n+      <param name="min_score" value="5.0" />\n+      <param name="bootstrap_pass" value="50" />\n+      <output name="output_peak_file" file="peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match" compare="re_match" />\n+      <output name="output_region_file" file="peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match" compare="re_match" />\n+      <output name="output_top_file" file="peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match" compare="re_match" sort="True" />\n+      <output name="output_log_file" file="peakcalling_ccat/3.0/ccat_test_log_out_1.txt" />\n+    </test>\n+    <test>\n+      <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />\n+      <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />\n+      <param name="options_type_selector" value="basic" />\n+      <param name="input_config_file" value="ccat_3.0_histone_config" />\n+      <output name="output_peak_file" file="peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match" compare="re_match" />\n+      <output name="output_region_file" file="peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match" compare="re_match" />\n+      <output name="output_top_file" file="peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match" compare="re_match" sort="true" />\n+      <output name="output_log_file" file="peakcalling_ccat/3.0/ccat_test_log_out_1.txt" />\n+    </test>\n+    <!-- Test below gives different answers on different architectures, \n+    e.g.: x86_64 GNU/Linux gave an extra line (additional peak called) when compared to the version running on 10.6.0 Darwin i386 \n+    slidingWinSize was fixed to be 1000, default as per readme.txt\n+    -->\n+    <!--\n+    <test>\n+      <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />\n+      <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />\n+      <param name="options_type_selector" value="basic" />\n+      <param name="input_config_file" value="ccat_3.0_histone_config_readme" />\n+      <output name="output_peak_file" file="peakcalling_ccat/3.0/ccat_test_peak_out_2.interval.re_match" compare="re_match" />\n+      <output name="output_region_file" file="peakcalling_ccat/3.0/ccat_test_region_out_2.interval.re_match" compare="re_match" />\n+      <output name="output_top_file" file="peakcalling_ccat/3.0/ccat_test_top_out_2.interval.sorted.re_match" compare="re_match" sort="true" />\n+      <output name="output_log_file" file="peakcalling_ccat/3.0/ccat_test_log_out_2.txt" />\n+    </test>\n+  -->\n+  </tests>\n+  <help>\n+**What it does**\n+\n+This tool allows ChIP-seq peak/region calling using CCAT.\n+\n+View the original CCAT documentation: http://cmb.gis.a-star.edu.sg/ChIPSeq/paperCCAT.htm.\n+\n+------\n+\n+**Citation**\n+\n+For the underlying tool, please cite `Xu H, Handoko L, Wei X, Ye C, Sheng J, Wei CL, Lin F, Sung WK. A signal-noise model for significance analysis of ChIP-seq with negative control. Bioinformatics. 2010 May 1;26(9):1199-204. &lt;http://www.ncbi.nlm.nih.gov/pubmed/20371496&gt;`_\n+\n+If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*\n+\n+  </help>\n+</tool>\n'
b
diff -r 000000000000 -r a0c8dc671a23 test-data/1.interval
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/1.interval Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,5 @@
+chr1 4348187 4348589 3.70 4.90 2.55 0.24 0.46
+chr1 4488177 4488442 4.03 5.77 1.92 -0.67 0.81
+chr1 4774091 4774440 8.07 8.33 7.82 0.85 -0.40
+chr1 4800122 4800409 6.40 7.35 5.44 1.19 -0.42
+chr1 4878925 4879277 2.18 0.28 4.93 -0.96 1.24
b
diff -r 000000000000 -r a0c8dc671a23 test-data/1.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/1.txt Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,10 @@
+chr1    4225    19670
+chr10   6       8
+chr1    24417   24420
+chr6_hla_hap2   0       150
+chr2    1       5
+chr10   2       10
+chr1    30      55
+chrY    1       20
+chr1    1225979 42287290
+chr10   7       8
b
diff -r 000000000000 -r a0c8dc671a23 test-data/2.interval
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/2.interval Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,14 @@
+chrX 151117436 151117437 + 0.14351
+chrX 151117437 151117438 + 0.139843
+chrX 151117438 151117439 + 0.132509
+chrX 151117439 151117440 + 0.139843
+chrX 151117440 151117441 + 0.169179
+chrX 151117441 151117442 + 0.257185
+chrX 151117442 151117443 + 0.319523
+chrX 151117443 151117444 + 0.367193
+chrX 151117444 151117445 + 0.400195
+chrX 151117445 151117446 + 0.425864
+chrX 151117446 151117447 + 0.444198
+chrX 151117447 151117448 + 0.455199
+chrX 151117448 151117449 + 0.462533
+chrX 151117449 151117450 + 0.4662
b
diff -r 000000000000 -r a0c8dc671a23 test-data/2.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/2.txt Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,8 @@
+chr1    4225    19670
+chr10   6       8
+chr1    24417   24420
+chr6_hla_hap2   0       150
+chr2    1       5
+chr1    30      55
+chrY    1       20
+chr1    1225979 42287290
b
diff -r 000000000000 -r a0c8dc671a23 test-data/a.tab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/a.tab Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,15 @@
+CHR SNP BP A1 TEST NMISS BETA STAT P
+1 rs1181876 3671541 T DOMDEV 958 -1.415 -3.326 0.0009161
+1 rs10492923 5092886 C ADD 1007 5.105 4.368 1.382e-05
+1 rs10492923 5092886 C DOMDEV 1007 -5.612 -4.249 2.35e-05
+1 rs10492923 5092886 C GENO_2DF 1007 NA 19.9 4.775e-05
+1 rs1801133 11778965 T ADD 1022 1.23 3.97 7.682e-05
+1 rs1801133 11778965 T GENO_2DF 1022 NA 16.07 0.0003233
+1 rs1361912 12663121 A ADD 1021 12.69 4.093 4.596e-05
+1 rs1361912 12663121 A DOMDEV 1021 -12.37 -3.945 8.533e-05
+1 rs1361912 12663121 A GENO_2DF 1021 NA 17.05 0.0001982
+1 rs1009806 19373138 G ADD 1021 -1.334 -3.756 0.0001826
+1 rs1009806 19373138 G GENO_2DF 1021 NA 19.36 6.244e-05
+1 rs873654 29550948 A DOMDEV 1012 1.526 3.6 0.0003339
+1 rs10489527 36800027 C ADD 1016 12.67 4.114 4.211e-05
+1 rs10489527 36800027 C DOMDEV 1016 -13.05 -4.02 6.249e-05
b
diff -r 000000000000 -r a0c8dc671a23 test-data/chipseq_enriched.bed.gz
b
Binary file test-data/chipseq_enriched.bed.gz has changed
b
diff -r 000000000000 -r a0c8dc671a23 test-data/chipseq_input.bed.gz
b
Binary file test-data/chipseq_input.bed.gz has changed
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_log_out_1.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_log_out_1.txt Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,131 @@
+chromosome length information read. chromNum = 49!
+config file read.
+fragmentSize = 200
+isStrandSensitiveMode = 0
+slidingWinSize = 500
+movingStep = 50
+outputNum = 100000
+minCount = 4
+minScore = 5.000000
+bootstrapPass = 50
+randSeed = 123456
+reading tag files......
+10000 tags in L1, 10000 tags in L2.
+tag file read.
+pre-processing......
+pre-processing finished.
+estimating noise rate......
+not enough reads for noise rate estimation.
+noise rate estimation failed. noise rate set to be 1.0
+noise rate = 1.000000
+peak-finding......
+chr1......884 candidate peaks.
+chr1_random......0 candidate peaks.
+chr10......0 candidate peaks.
+chr10_random......0 candidate peaks.
+chr11......0 candidate peaks.
+chr11_random......0 candidate peaks.
+chr12......0 candidate peaks.
+chr13......0 candidate peaks.
+chr13_random......0 candidate peaks.
+chr14......0 candidate peaks.
+chr15......0 candidate peaks.
+chr15_random......0 candidate peaks.
+chr16......0 candidate peaks.
+chr16_random......0 candidate peaks.
+chr17......0 candidate peaks.
+chr17_random......0 candidate peaks.
+chr18......0 candidate peaks.
+chr18_random......0 candidate peaks.
+chr19......0 candidate peaks.
+chr19_random......0 candidate peaks.
+chr2......0 candidate peaks.
+chr2_random......0 candidate peaks.
+chr20......0 candidate peaks.
+chr21......0 candidate peaks.
+chr21_random......0 candidate peaks.
+chr22......0 candidate peaks.
+chr22_random......0 candidate peaks.
+chr22_h2_hap1......0 candidate peaks.
+chr3......0 candidate peaks.
+chr3_random......0 candidate peaks.
+chr4......0 candidate peaks.
+chr4_random......0 candidate peaks.
+chr5......0 candidate peaks.
+chr5_random......0 candidate peaks.
+chr5_h2_hap1......0 candidate peaks.
+chr6......0 candidate peaks.
+chr6_random......0 candidate peaks.
+chr6_cox_hap1......0 candidate peaks.
+chr6_qbl_hap2......0 candidate peaks.
+chr7......0 candidate peaks.
+chr7_random......0 candidate peaks.
+chr8......0 candidate peaks.
+chr8_random......0 candidate peaks.
+chr9......0 candidate peaks.
+chr9_random......0 candidate peaks.
+chrM......0 candidate peaks.
+chrX......0 candidate peaks.
+chrX_random......0 candidate peaks.
+chrY......0 candidate peaks.
+peak-finding finished.
+Significance Analysis......
+estimating paramters......
+smoothing factor = 0.356298
+estimating local FDR.....
+FDR at the threshold 5.000000 is 0.999000. You may want to adjust the threshold by inspecting the output files.
+post-processing......
+chr1......finished.
+chr1_random......finished.
+chr10......finished.
+chr10_random......finished.
+chr11......finished.
+chr11_random......finished.
+chr12......finished.
+chr13......finished.
+chr13_random......finished.
+chr14......finished.
+chr15......finished.
+chr15_random......finished.
+chr16......finished.
+chr16_random......finished.
+chr17......finished.
+chr17_random......finished.
+chr18......finished.
+chr18_random......finished.
+chr19......finished.
+chr19_random......finished.
+chr2......finished.
+chr2_random......finished.
+chr20......finished.
+chr21......finished.
+chr21_random......finished.
+chr22......finished.
+chr22_random......finished.
+chr22_h2_hap1......finished.
+chr3......finished.
+chr3_random......finished.
+chr4......finished.
+chr4_random......finished.
+chr5......finished.
+chr5_random......finished.
+chr5_h2_hap1......finished.
+chr6......finished.
+chr6_random......finished.
+chr6_cox_hap1......finished.
+chr6_qbl_hap2......finished.
+chr7......finished.
+chr7_random......finished.
+chr8......finished.
+chr8_random......finished.
+chr9......finished.
+chr9_random......finished.
+chrM......finished.
+chrX......finished.
+chrX_random......finished.
+chrY......finished.
+post-processing finished.
+Significance analysis finished.
+saving results.......
+results saved.
+CCAT process completed!
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_log_out_2.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_log_out_2.txt Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,131 @@
+chromosome length information read. chromNum = 49!
+config file read.
+fragmentSize = 200
+isStrandSensitiveMode = 0
+slidingWinSize = 1000
+movingStep = 50
+outputNum = 100000
+minCount = 4
+minScore = 5.000000
+bootstrapPass = 50
+randSeed = 123456
+reading tag files......
+10000 tags in L1, 10000 tags in L2.
+tag file read.
+pre-processing......
+pre-processing finished.
+estimating noise rate......
+not enough reads for noise rate estimation.
+noise rate estimation failed. noise rate set to be 1.0
+noise rate = 1.000000
+peak-finding......
+chr1......673 candidate peaks.
+chr1_random......0 candidate peaks.
+chr10......0 candidate peaks.
+chr10_random......0 candidate peaks.
+chr11......0 candidate peaks.
+chr11_random......0 candidate peaks.
+chr12......0 candidate peaks.
+chr13......0 candidate peaks.
+chr13_random......0 candidate peaks.
+chr14......0 candidate peaks.
+chr15......0 candidate peaks.
+chr15_random......0 candidate peaks.
+chr16......0 candidate peaks.
+chr16_random......0 candidate peaks.
+chr17......0 candidate peaks.
+chr17_random......0 candidate peaks.
+chr18......0 candidate peaks.
+chr18_random......0 candidate peaks.
+chr19......0 candidate peaks.
+chr19_random......0 candidate peaks.
+chr2......0 candidate peaks.
+chr2_random......0 candidate peaks.
+chr20......0 candidate peaks.
+chr21......0 candidate peaks.
+chr21_random......0 candidate peaks.
+chr22......0 candidate peaks.
+chr22_random......0 candidate peaks.
+chr22_h2_hap1......0 candidate peaks.
+chr3......0 candidate peaks.
+chr3_random......0 candidate peaks.
+chr4......0 candidate peaks.
+chr4_random......0 candidate peaks.
+chr5......0 candidate peaks.
+chr5_random......0 candidate peaks.
+chr5_h2_hap1......0 candidate peaks.
+chr6......0 candidate peaks.
+chr6_random......0 candidate peaks.
+chr6_cox_hap1......0 candidate peaks.
+chr6_qbl_hap2......0 candidate peaks.
+chr7......0 candidate peaks.
+chr7_random......0 candidate peaks.
+chr8......0 candidate peaks.
+chr8_random......0 candidate peaks.
+chr9......0 candidate peaks.
+chr9_random......0 candidate peaks.
+chrM......0 candidate peaks.
+chrX......0 candidate peaks.
+chrX_random......0 candidate peaks.
+chrY......0 candidate peaks.
+peak-finding finished.
+Significance Analysis......
+estimating paramters......
+smoothing factor = 0.287387
+estimating local FDR.....
+FDR at the threshold 5.000000 is 0.999000. You may want to adjust the threshold by inspecting the output files.
+post-processing......
+chr1......finished.
+chr1_random......finished.
+chr10......finished.
+chr10_random......finished.
+chr11......finished.
+chr11_random......finished.
+chr12......finished.
+chr13......finished.
+chr13_random......finished.
+chr14......finished.
+chr15......finished.
+chr15_random......finished.
+chr16......finished.
+chr16_random......finished.
+chr17......finished.
+chr17_random......finished.
+chr18......finished.
+chr18_random......finished.
+chr19......finished.
+chr19_random......finished.
+chr2......finished.
+chr2_random......finished.
+chr20......finished.
+chr21......finished.
+chr21_random......finished.
+chr22......finished.
+chr22_random......finished.
+chr22_h2_hap1......finished.
+chr3......finished.
+chr3_random......finished.
+chr4......finished.
+chr4_random......finished.
+chr5......finished.
+chr5_random......finished.
+chr5_h2_hap1......finished.
+chr6......finished.
+chr6_random......finished.
+chr6_cox_hap1......finished.
+chr6_qbl_hap2......finished.
+chr7......finished.
+chr7_random......finished.
+chr8......finished.
+chr8_random......finished.
+chr9......finished.
+chr9_random......finished.
+chrM......finished.
+chrX......finished.
+chrX_random......finished.
+chrY......finished.
+post-processing finished.
+Significance analysis finished.
+saving results.......
+results saved.
+CCAT process completed!
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match Mon Jan 27 09:27:03 2014 -0500
b
b'@@ -0,0 +1,382 @@\n+chr1\t4760025\t4756750\t4762650\t128\t0\t399\\.\\d+\t0\\.133000\n+chr1\t4761475\t4756750\t4762650\t74\t0\t230\\.\\d+\t0\\.133000\n+chr1\t4771725\t4768050\t4778800\t37\t0\t115\\.\\d+\t0\\.133000\n+chr1\t5061925\t5060800\t5063500\t15\t0\t46\\.\\d+\t0\\.133000\n+chr1\t5174925\t5172300\t5175650\t15\t0\t46\\.\\d+\t0\\.133000\n+chr1\t5198225\t5193500\t5203550\t13\t0\t40\\.\\d+\t0\\.133000\n+chr1\t5094525\t5090900\t5098600\t12\t0\t37\\.\\d+\t0\\.133000\n+chr1\t5649775\t5646050\t5655200\t12\t0\t37\\.\\d+\t0\\.133000\n+chr1\t4764325\t4763100\t4767650\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t5250175\t5247500\t5252250\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4861125\t4856150\t4863100\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t5202075\t5193500\t5203550\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4961625\t4952100\t4964300\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4830175\t4828350\t4831300\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t5177075\t5175750\t5180950\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4849575\t4842300\t4852000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4792275\t4789000\t4793650\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4996125\t4991700\t4999350\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5132325\t5128000\t5136550\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5270525\t5269800\t5276000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4716525\t4708050\t4718500\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4766575\t4763100\t4767650\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4740375\t4733200\t4746750\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5594075\t5591050\t5602000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4908575\t4907850\t4911250\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4806875\t4800850\t4808250\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5078275\t5075400\t5080200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5221425\t5215900\t5227150\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5616925\t5614250\t5618100\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4811775\t4809250\t4818000\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5224375\t5215900\t5227150\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4712925\t4708050\t4718500\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4820775\t4819250\t4824400\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5510975\t5510050\t5511700\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4757975\t4756750\t4762650\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4902125\t4896550\t4904200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4754525\t4746800\t4756450\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4752925\t4746800\t4756450\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4663075\t4662250\t4664800\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4747475\t4746800\t4756450\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5726225\t5725050\t5728250\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4666125\t4665400\t4667400\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5311275\t5309550\t5312000\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5653625\t5646050\t5655200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5267625\t5265900\t5268400\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5648725\t5646050\t5655200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4732075\t4728950\t4732850\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4955725\t4952100\t4964300\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4892675\t4889250\t4896100\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4891925\t4889250\t4896100\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5306625\t5303150\t5309300\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4337575\t4337150\t4338250\t54\t2\t25\\.\\d+\t0\\.193000\n+chr1\t5208725\t5206650\t5210650\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5217175\t5215900\t5227150\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5305275\t5303150\t5309300\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5429675\t5427700\t5430400\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4714325\t4708050\t4718500\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4743875\t4733200\t4746750\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5412375\t5411500\t5413450\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4882725\t4879050\t4885000\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4927275\t4924450\t4935350\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4844075\t4842300\t4852000\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4915625\t4913050\t4924250\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4918175\t4913050\t4924250\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4691975\t4687200\t4694150\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4967025\t4965550\t4970250\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4960075\t4952100\t4964300\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4957475\t4952100\t4964300\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4928675\t4924450\t4935350\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4934125\t4924450\t4935350\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4936125\t4935500\t4937950\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5122725\t5122100\t5123350\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5129925\t5128000\t5136550\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4833925\t4831400\t4840050\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5114275\t5113600\t5116850\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5045775\t5044700\t5048150\t8\t0\t24\\.\\d+\t0\\.193000'..b'hr1\t4828975\t4828350\t4831300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4680375\t4679750\t4684100\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4726475\t4725950\t4728150\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4852675\t4852100\t4853850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5372275\t5369000\t5375550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5373925\t5369000\t5375550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5374875\t5369000\t5375550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5354075\t5353400\t5357000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5364075\t5363650\t5365850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5369775\t5369000\t5375550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5396675\t5396050\t5398750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5407575\t5407000\t5411350\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5431675\t5430850\t5433300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5381625\t5381000\t5383200\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5382825\t5381000\t5383200\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5395225\t5394650\t5396000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5234475\t5233800\t5237550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5235825\t5233800\t5237550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5241075\t5239500\t5241650\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5218925\t5215900\t5227150\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5231075\t5229250\t5231850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5232925\t5232400\t5233500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5317175\t5316400\t5318750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5323675\t5323050\t5329500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5327625\t5323050\t5329500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5249175\t5247500\t5252250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5257475\t5257000\t5258200\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5290925\t5288100\t5291550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3196025\t3195750\t3196350\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5632475\t5631850\t5636000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5657525\t5657150\t5658300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5599225\t5591050\t5602000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5603725\t5602100\t5604250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5611875\t5610500\t5613650\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5712725\t5712200\t5713300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3062525\t3062250\t3062900\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5744775\t5743300\t5747400\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3118025\t3117750\t3118550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5660625\t5659950\t5661050\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5694925\t5694400\t5696050\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5496975\t5495700\t5499250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5508775\t5501700\t5509950\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5515525\t5514000\t5516700\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5434275\t5433650\t5434750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5440025\t5439250\t5440800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5452325\t5451600\t5457500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5550025\t5548350\t5551750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5551125\t5548350\t5551750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5587975\t5575800\t5590800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5524325\t5523650\t5525000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5529975\t5529250\t5531450\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5541075\t5539550\t5541750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5205775\t5205150\t5206300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4958925\t4952100\t4964300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5090025\t5082600\t5090800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5083375\t5082600\t5090800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5133575\t5128000\t5136550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4914225\t4913050\t4924250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5116325\t5113600\t5116850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5074275\t5073700\t5074850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4975375\t4974700\t4976400\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5002325\t5001700\t5010700\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4997125\t4991700\t4999350\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5016275\t5015500\t5020500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5010075\t5001700\t5010700\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5008625\t5001700\t5010700\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5135925\t5128000\t5136550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5161975\t5161200\t5162750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4919225\t4913050\t4924250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5139025\t5138250\t5139800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4895575\t4889250\t4896100\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4323875\t4323250\t4324550\t47\t4\t11\\.\\d+\t1\\.000000\n+chr1\t4629425\t4629150\t4629700\t9\t1\t7\\.\\d+\t1\\.000000\n+chr1\t3462625\t3462250\t3463300\t8\t1\t6\\.\\d+\t1\\.000000\n+chr1\t3559825\t3559550\t3560150\t7\t1\t5\\.\\d+\t1\\.000000\n+chr1\t3677375\t3677100\t3677700\t7\t1\t5\\.\\d+\t1\\.000000\n+chr1\t4247375\t4247100\t4247650\t11\t2\t5\\.\\d+\t1\\.000000\n'
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_peak_out_2.interval.re_match
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_peak_out_2.interval.re_match Mon Jan 27 09:27:03 2014 -0500
b
b'@@ -0,0 +1,272 @@\n+chr1\t4760225\t4725450\t4779800\t139\t0\t507\\.\\d+\t0\\.025000\n+chr1\t4761625\t4725450\t4779800\t87\t0\t318\\.\\d+\t0\\.025000\n+chr1\t4771925\t4725450\t4779800\t48\t0\t175\\.\\d+\t0\\.025000\n+chr1\t5061725\t5053400\t5068550\t19\t0\t69\\.\\d+\t0\\.025000\n+chr1\t5174775\t5163300\t5181450\t19\t0\t69\\.\\d+\t0\\.025000\n+chr1\t5094825\t5080750\t5101500\t19\t0\t69\\.\\d+\t0\\.025000\n+chr1\t5593825\t5575300\t5618600\t17\t0\t62\\.\\d+\t0\\.025000\n+chr1\t5198075\t5193000\t5227900\t17\t0\t62\\.\\d+\t0\\.025000\n+chr1\t5177325\t5163300\t5181450\t17\t0\t62\\.\\d+\t0\\.025000\n+chr1\t4740175\t4725450\t4779800\t16\t0\t58\\.\\d+\t0\\.025000\n+chr1\t4716275\t4707550\t4722700\t16\t0\t58\\.\\d+\t0\\.025000\n+chr1\t4961575\t4951600\t4964800\t15\t0\t54\\.\\d+\t0\\.025000\n+chr1\t4996075\t4990250\t5026600\t15\t0\t54\\.\\d+\t0\\.025000\n+chr1\t5201925\t5193000\t5227900\t15\t0\t54\\.\\d+\t0\\.025000\n+chr1\t5132075\t5121600\t5140300\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4820975\t4818750\t4863650\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4902375\t4888750\t4938450\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4811575\t4798500\t4818650\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4792775\t4788500\t4798400\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4830375\t4818750\t4863650\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4892125\t4888750\t4938450\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t4745275\t4725450\t4779800\t14\t0\t51\\.\\d+\t0\\.025000\n+chr1\t5220875\t5193000\t5227900\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4908725\t4888750\t4938450\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5224025\t5193000\t5227900\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4744125\t4725450\t4779800\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4666375\t4662050\t4671350\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4747725\t4725450\t4779800\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5130175\t5121600\t5140300\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4933975\t4888750\t4938450\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5078525\t5073200\t5080700\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4849775\t4818750\t4863650\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4861025\t4818750\t4863650\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5649475\t5645550\t5668850\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5208475\t5193000\t5227900\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5249925\t5247000\t5258700\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t4766525\t4725450\t4779800\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4872625\t4871150\t4888250\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4955475\t4951600\t4964800\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4764075\t4725450\t4779800\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4906075\t4888750\t4938450\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4915375\t4888750\t4938450\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t5510825\t5501200\t5517200\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t5306825\t5300700\t5319250\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4917725\t4888750\t4938450\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4967025\t4965050\t4970850\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4926725\t4888750\t4938450\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4753075\t4725450\t4779800\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4714125\t4707550\t4722700\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4998375\t4990250\t5026600\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4936475\t4888750\t4938450\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4734675\t4725450\t4779800\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t4662925\t4662050\t4671350\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t5106525\t5105050\t5117450\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4712625\t4707550\t4722700\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5653275\t5645550\t5668850\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5429475\t5427200\t5435250\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4806725\t4798500\t4818650\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5412475\t5406500\t5414000\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4692075\t4673000\t4701600\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5179175\t5163300\t5181450\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5726025\t5720500\t5731000\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4899375\t4888750\t4938450\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4844375\t4818750\t4863650\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4834175\t4818750\t4863650\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5386675\t5368500\t5389350\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4696075\t4673000\t4701600\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5004175\t4990250\t5026600\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4736575\t4725450\t4779800\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5286125\t5282250\t5299950\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4750225\t4725450\t4779800\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5616675\t5575300\t5618600\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5570325\t5567450\t5573850\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t4769675\t4725450\t4779800\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5270275\t5269300\t5281550\t11\t0\t40\\.\\d+\t0\\.034000\n+c'..b'53125\t4818750\t4863650\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t4841375\t4818750\t4863650\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t4975525\t4974200\t4976900\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t4885775\t4871150\t4888250\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5002675\t4990250\t5026600\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5505875\t5501200\t5517200\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5331125\t5322550\t5334750\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5138925\t5121600\t5140300\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5632975\t5631350\t5638100\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5354175\t5352900\t5357500\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5361225\t5357550\t5366350\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5348875\t5347750\t5349950\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5656025\t5645550\t5668850\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5236125\t5228750\t5242150\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5234575\t5228750\t5242150\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5273425\t5269300\t5281550\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5539925\t5538950\t5542250\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5606225\t5575300\t5618600\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5621625\t5618950\t5622950\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5507675\t5501200\t5517200\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5164425\t5163300\t5181450\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5119225\t5117850\t5121550\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5456475\t5450900\t5458700\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5487825\t5482700\t5489150\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5374275\t5368500\t5389350\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5440025\t5438750\t5445150\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5431425\t5427200\t5435250\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5744425\t5741000\t5748200\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5083325\t5080750\t5101500\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5666375\t5645550\t5668850\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5688775\t5687300\t5691900\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5372525\t5368500\t5389350\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5092375\t5080750\t5101500\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5097675\t5080750\t5101500\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t4507925\t4507250\t4509100\t44\t2\t20\\.\\d+\t0\\.199000\n+chr1\t5524125\t5521900\t5536850\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5283375\t5282250\t5299950\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t4877125\t4871150\t4888250\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t4784575\t4783350\t4788300\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5475625\t5474600\t5479600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5502325\t5501200\t5517200\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5396875\t5390850\t5406350\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t4781325\t4780250\t4782350\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5395375\t5390850\t5406350\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t4729475\t4725450\t4779800\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5664225\t5645550\t5668850\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5137425\t5121600\t5140300\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5635025\t5631350\t5638100\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5039275\t5037850\t5040800\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5722875\t5720500\t5731000\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5116025\t5105050\t5117450\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t4674175\t4673000\t4701600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5603475\t5575300\t5618600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5598575\t5575300\t5618600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5591875\t5575300\t5618600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5232775\t5228750\t5242150\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5205575\t5193000\t5227900\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5161725\t5159000\t5163250\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t4337875\t4336700\t4338600\t60\t4\t14\\.\\d+\t0\\.199000\n+chr1\t4676625\t4673000\t4701600\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5564125\t5562650\t5566050\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t3023575\t3022750\t3024750\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5584125\t5575300\t5618600\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5660675\t5645550\t5668850\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5637125\t5631350\t5638100\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5699925\t5693900\t5701400\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5485175\t5482700\t5489150\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5712725\t5711700\t5719950\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5434275\t5427200\t5435250\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5377125\t5368500\t5389350\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5237875\t5228750\t5242150\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t4984925\t4978900\t4987150\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5302025\t5300700\t5319250\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5381625\t5368500\t5389350\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5033175\t5032000\t5036100\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t4408525\t4407200\t4409200\t88\t13\t6\\.\\d+\t1\\.000000\n+chr1\t4324025\t4322650\t4324900\t48\t7\t6\\.\\d+\t1\\.000000\n'
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match Mon Jan 27 09:27:03 2014 -0500
b
b'@@ -0,0 +1,183 @@\n+chr1\t4760025\t4756750\t4762650\t128\t0\t399\\.\\d+\t0\\.133000\n+chr1\t4771725\t4768050\t4778800\t37\t0\t115\\.\\d+\t0\\.133000\n+chr1\t5061925\t5060800\t5063500\t15\t0\t46\\.\\d+\t0\\.133000\n+chr1\t5174925\t5172300\t5175650\t15\t0\t46\\.\\d+\t0\\.133000\n+chr1\t5198225\t5193500\t5203550\t13\t0\t40\\.\\d+\t0\\.133000\n+chr1\t5094525\t5090900\t5098600\t12\t0\t37\\.\\d+\t0\\.133000\n+chr1\t5649775\t5646050\t5655200\t12\t0\t37\\.\\d+\t0\\.133000\n+chr1\t5250175\t5247500\t5252250\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4861125\t4856150\t4863100\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4830175\t4828350\t4831300\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4764325\t4763100\t4767650\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t5177075\t5175750\t5180950\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4961625\t4952100\t4964300\t11\t0\t34\\.\\d+\t0\\.189000\n+chr1\t4849575\t4842300\t4852000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4908575\t4907850\t4911250\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4792275\t4789000\t4793650\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4996125\t4991700\t4999350\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5270525\t5269800\t5276000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5594075\t5591050\t5602000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4740375\t4733200\t4746750\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4716525\t4708050\t4718500\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5132325\t5128000\t5136550\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t4666125\t4665400\t4667400\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4806875\t4800850\t4808250\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5306625\t5303150\t5309300\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4747475\t4746800\t4756450\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5616925\t5614250\t5618100\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4732075\t4728950\t4732850\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5311275\t5309550\t5312000\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4811775\t4809250\t4818000\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5078275\t5075400\t5080200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5510975\t5510050\t5511700\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5267625\t5265900\t5268400\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4902125\t4896550\t4904200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4891925\t4889250\t4896100\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5726225\t5725050\t5728250\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5221425\t5215900\t5227150\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4820775\t4819250\t4824400\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4663075\t4662250\t4664800\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t4337575\t4337150\t4338250\t54\t2\t25\\.\\d+\t0\\.193000\n+chr1\t4882725\t4879050\t4885000\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4833925\t4831400\t4840050\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4936125\t4935500\t4937950\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4927275\t4924450\t4935350\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4915625\t4913050\t4924250\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5208725\t5206650\t5210650\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5045775\t5044700\t5048150\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4691975\t4687200\t4694150\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5055525\t5053900\t5058050\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5122725\t5122100\t5123350\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5429675\t5427700\t5430400\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t4967025\t4965550\t4970250\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5412375\t5411500\t5413450\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5114275\t5113600\t5116850\t8\t0\t24\\.\\d+\t0\\.193000\n+chr1\t5384325\t5383800\t5385000\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5017525\t5015500\t5020500\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5386625\t5385650\t5387700\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5400875\t5399200\t5403500\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t4872275\t4871650\t4875600\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5059325\t5058600\t5060000\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5229975\t5229250\t5231850\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5212225\t5210850\t5215150\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5314975\t5312250\t5316300\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5679225\t5678650\t5681350\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t4696225\t4694250\t4697100\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5568475\t5567950\t5569000\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t4905925\t4905100\t4907750\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5448175\t5447500\t5449550\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5570575\t5569100\t5573050\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5365125\t5363650\t5365850\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5004175\t5001700\t5010700\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t4794975\t4794200\t4797900\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t4944975\t4944400\t4947700\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t4508175\t4507350\t4508650\t41\t2\t19\\.\\d+\t0\\.193000\n+chr1\t5125975\t5124950\t5127600\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5697075\t5696100\t5697750\t6\t0\t18\\.\\d+\t0\\.193000\n+c'..b'r1\t5285775\t5285150\t5287400\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5279825\t5279200\t5281050\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5277575\t5276150\t5279150\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5324825\t5323050\t5329500\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t4787025\t4786400\t4787800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5265025\t5264250\t5265800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t4408225\t4407650\t4408750\t81\t5\t16\\.\\d+\t0\\.193000\n+chr1\t5119075\t5118350\t5121050\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t4855025\t4854250\t4856100\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5514725\t5514000\t5516700\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5110675\t5109600\t5112950\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t4885925\t4885150\t4886550\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5540175\t5539550\t5541750\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5621725\t5621000\t5622450\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t4681775\t4679750\t4684100\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t3832625\t3831950\t3833100\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5655975\t5655300\t5656700\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t4727375\t4725950\t4728150\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5633525\t5631850\t5636000\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t4674175\t4673500\t4675550\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5497825\t5495700\t5499250\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t4092425\t4091800\t4092950\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5506125\t5501700\t5509950\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5487775\t5487100\t5488500\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5666675\t5666250\t5667300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5606575\t5604350\t5609750\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5137425\t5136800\t5138000\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5370725\t5369000\t5375550\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5714575\t5714000\t5716900\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5356225\t5353400\t5357000\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5253325\t5252750\t5255300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5164475\t5163800\t5165200\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5148625\t5148200\t5150600\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t3139075\t3138350\t3139350\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5142775\t5141600\t5144200\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5475625\t5475100\t5477300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5292275\t5291650\t5293450\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5742225\t5741500\t5743250\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5288675\t5288100\t5291550\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t3054875\t3054500\t3055300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t3118025\t3117750\t3118550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5603725\t5602100\t5604250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5205775\t5205150\t5206300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5395225\t5394650\t5396000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5396675\t5396050\t5398750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5431675\t5430850\t5433300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5660625\t5659950\t5661050\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5161975\t5161200\t5162750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5657525\t5657150\t5658300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4975375\t4974700\t4976400\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4887025\t4886600\t4887750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3196025\t3195750\t3196350\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5257475\t5257000\t5258200\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4852675\t4852100\t4853850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4877275\t4876500\t4878000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5317175\t5316400\t5318750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4781125\t4780750\t4781850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4841375\t4840600\t4842150\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5232925\t5232400\t5233500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5712725\t5712200\t5713300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4784375\t4783850\t4785000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5381625\t5381000\t5383200\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5234475\t5233800\t5237550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3062525\t3062250\t3062900\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5440025\t5439250\t5440800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5694925\t5694400\t5696050\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5139025\t5138250\t5139800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5529975\t5529250\t5531450\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5434275\t5433650\t5434750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5074275\t5073700\t5074850\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5524325\t5523650\t5525000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t4323875\t4323250\t4324550\t47\t4\t11\\.\\d+\t1\\.000000\n+chr1\t4629425\t4629150\t4629700\t9\t1\t7\\.\\d+\t1\\.000000\n+chr1\t3462625\t3462250\t3463300\t8\t1\t6\\.\\d+\t1\\.000000\n+chr1\t3677375\t3677100\t3677700\t7\t1\t5\\.\\d+\t1\\.000000\n+chr1\t3559825\t3559550\t3560150\t7\t1\t5\\.\\d+\t1\\.000000\n+chr1\t4247375\t4247100\t4247650\t11\t2\t5\\.\\d+\t1\\.000000\n'
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_region_out_2.interval.re_match
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_region_out_2.interval.re_match Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,74 @@
+chr1 4760225 4725450 4779800 139 0 507\.\d+ 0\.025000
+chr1 5061725 5053400 5068550 19 0 69\.\d+ 0\.025000
+chr1 5094825 5080750 5101500 19 0 69\.\d+ 0\.025000
+chr1 5174775 5163300 5181450 19 0 69\.\d+ 0\.025000
+chr1 5198075 5193000 5227900 17 0 62\.\d+ 0\.025000
+chr1 5593825 5575300 5618600 17 0 62\.\d+ 0\.025000
+chr1 4716275 4707550 4722700 16 0 58\.\d+ 0\.025000
+chr1 4961575 4951600 4964800 15 0 54\.\d+ 0\.025000
+chr1 4996075 4990250 5026600 15 0 54\.\d+ 0\.025000
+chr1 4792775 4788500 4798400 14 0 51\.\d+ 0\.025000
+chr1 4820975 4818750 4863650 14 0 51\.\d+ 0\.025000
+chr1 4892125 4888750 4938450 14 0 51\.\d+ 0\.025000
+chr1 4811575 4798500 4818650 14 0 51\.\d+ 0\.025000
+chr1 5132075 5121600 5140300 14 0 51\.\d+ 0\.025000
+chr1 5078525 5073200 5080700 13 0 47\.\d+ 0\.025000
+chr1 5249925 5247000 5258700 13 0 47\.\d+ 0\.025000
+chr1 4666375 4662050 4671350 13 0 47\.\d+ 0\.025000
+chr1 5649475 5645550 5668850 13 0 47\.\d+ 0\.025000
+chr1 4872625 4871150 4888250 12 0 43\.\d+ 0\.025000
+chr1 5510825 5501200 5517200 12 0 43\.\d+ 0\.025000
+chr1 4967025 4965050 4970850 12 0 43\.\d+ 0\.025000
+chr1 5306825 5300700 5319250 12 0 43\.\d+ 0\.025000
+chr1 5270275 5269300 5281550 11 0 40\.\d+ 0\.034000
+chr1 5570325 5567450 5573850 11 0 40\.\d+ 0\.034000
+chr1 5106525 5105050 5117450 11 0 40\.\d+ 0\.034000
+chr1 5045675 5044200 5048700 11 0 40\.\d+ 0\.034000
+chr1 5532875 5521900 5536850 11 0 40\.\d+ 0\.034000
+chr1 5429475 5427200 5435250 11 0 40\.\d+ 0\.034000
+chr1 5726025 5720500 5731000 11 0 40\.\d+ 0\.034000
+chr1 5386675 5368500 5389350 11 0 40\.\d+ 0\.034000
+chr1 4692075 4673000 4701600 11 0 40\.\d+ 0\.034000
+chr1 5286125 5282250 5299950 11 0 40\.\d+ 0\.034000
+chr1 5412475 5406500 5414000 11 0 40\.\d+ 0\.034000
+chr1 5151825 5140350 5157200 10 0 36\.\d+ 0\.034000
+chr1 4945325 4943900 4949650 10 0 36\.\d+ 0\.034000
+chr1 5267725 5263750 5268900 10 0 36\.\d+ 0\.034000
+chr1 5442625 5438750 5445150 10 0 36\.\d+ 0\.034000
+chr1 4981425 4978900 4987150 10 0 36\.\d+ 0\.034000
+chr1 5746175 5741000 5748200 9 0 32\.\d+ 0\.034000
+chr1 4865425 4863900 4870300 9 0 32\.\d+ 0\.034000
+chr1 5448375 5445350 5450050 9 0 32\.\d+ 0\.034000
+chr1 5706725 5703650 5710750 8 0 29\.\d+ 0\.034000
+chr1 5679325 5675600 5681850 8 0 29\.\d+ 0\.034000
+chr1 5229925 5228750 5242150 8 0 29\.\d+ 0\.034000
+chr1 5364775 5357550 5366350 8 0 29\.\d+ 0\.034000
+chr1 5401025 5390850 5406350 8 0 29\.\d+ 0\.034000
+chr1 5324575 5322550 5334750 8 0 29\.\d+ 0\.034000
+chr1 5355975 5352900 5357500 7 0 25\.\d+ 0\.135000
+chr1 5548775 5547250 5552250 7 0 25\.\d+ 0\.135000
+chr1 5716025 5711700 5719950 7 0 25\.\d+ 0\.135000
+chr1 5496625 5495200 5499750 7 0 25\.\d+ 0\.135000
+chr1 5695175 5693900 5701400 7 0 25\.\d+ 0\.135000
+chr1 4787225 4783350 4788300 7 0 25\.\d+ 0\.135000
+chr1 5751925 5749150 5753500 7 0 25\.\d+ 0\.135000
+chr1 5453625 5450900 5458700 7 0 25\.\d+ 0\.135000
+chr1 5688775 5687300 5691900 6 0 21\.\d+ 0\.135000
+chr1 5632975 5631350 5638100 6 0 21\.\d+ 0\.135000
+chr1 4975525 4974200 4976900 6 0 21\.\d+ 0\.135000
+chr1 5487825 5482700 5489150 6 0 21\.\d+ 0\.135000
+chr1 5539925 5538950 5542250 6 0 21\.\d+ 0\.135000
+chr1 5348875 5347750 5349950 6 0 21\.\d+ 0\.135000
+chr1 5621625 5618950 5622950 6 0 21\.\d+ 0\.135000
+chr1 5119225 5117850 5121550 6 0 21\.\d+ 0\.135000
+chr1 4507925 4507250 4509100 44 2 20\.\d+ 0\.199000
+chr1 5161725 5159000 5163250 5 0 18\.\d+ 0\.199000
+chr1 4781325 4780250 4782350 5 0 18\.\d+ 0\.199000
+chr1 5475625 5474600 5479600 5 0 18\.\d+ 0\.199000
+chr1 5039275 5037850 5040800 5 0 18\.\d+ 0\.199000
+chr1 4337875 4336700 4338600 60 4 14\.\d+ 0\.199000
+chr1 3023575 3022750 3024750 4 0 14\.\d+ 1\.000000
+chr1 5033175 5032000 5036100 4 0 14\.\d+ 1\.000000
+chr1 5564125 5562650 5566050 4 0 14\.\d+ 1\.000000
+chr1 4408525 4407200 4409200 88 13 6\.\d+ 1\.000000
+chr1 4324025 4322650 4324900 48 7 6\.\d+ 1\.000000
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match Mon Jan 27 09:27:03 2014 -0500
b
b'@@ -0,0 +1,884 @@\n+chr1\t3002975\t3002975\t3002975\t4\t5\t0\\.\\d+\t1\\.000000\n+chr1\t3018775\t3018775\t3018775\t4\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3021225\t3021225\t3021225\t8\t6\t1\\.\\d+\t1\\.000000\n+chr1\t3026925\t3026925\t3026925\t4\t2\t1\\.\\d+\t1\\.000000\n+chr1\t3035625\t3035625\t3035625\t4\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3037175\t3037175\t3037175\t4\t5\t0\\.\\d+\t1\\.000000\n+chr1\t3038725\t3038725\t3038725\t6\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3041075\t3041075\t3041075\t4\t2\t1\\.\\d+\t1\\.000000\n+chr1\t3054875\t3054500\t3055300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t3062525\t3062250\t3062900\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3063225\t3063225\t3063225\t4\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3066125\t3066125\t3066125\t4\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3071275\t3071275\t3071275\t4\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3086425\t3086425\t3086425\t11\t15\t0\\.\\d+\t1\\.000000\n+chr1\t3089625\t3089625\t3089625\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3095475\t3095475\t3095475\t7\t8\t0\\.\\d+\t1\\.000000\n+chr1\t3104975\t3104975\t3104975\t5\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3107075\t3107075\t3107075\t6\t8\t0\\.\\d+\t1\\.000000\n+chr1\t3108325\t3108325\t3108325\t4\t5\t0\\.\\d+\t1\\.000000\n+chr1\t3110425\t3110425\t3110425\t10\t2\t4\\.\\d+\t1\\.000000\n+chr1\t3111975\t3111975\t3111975\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3118025\t3117750\t3118550\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3119725\t3119725\t3119725\t5\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3122475\t3122475\t3122475\t5\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3124625\t3124625\t3124625\t4\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3139075\t3138350\t3139350\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t3156575\t3156575\t3156575\t6\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3157575\t3157575\t3157575\t5\t2\t2\\.\\d+\t1\\.000000\n+chr1\t3161625\t3161625\t3161625\t6\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3168825\t3168825\t3168825\t6\t8\t0\\.\\d+\t1\\.000000\n+chr1\t3173725\t3173725\t3173725\t4\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3180775\t3180775\t3180775\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3187175\t3187175\t3187175\t6\t6\t1\\.\\d+\t1\\.000000\n+chr1\t3188725\t3188725\t3188725\t8\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3192225\t3192225\t3192225\t5\t5\t1\\.\\d+\t1\\.000000\n+chr1\t3196025\t3195750\t3196350\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t3201775\t3201775\t3201775\t6\t6\t1\\.\\d+\t1\\.000000\n+chr1\t3204725\t3204725\t3204725\t4\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3207225\t3207225\t3207225\t9\t4\t2\\.\\d+\t1\\.000000\n+chr1\t3208925\t3208925\t3208925\t8\t3\t2\\.\\d+\t1\\.000000\n+chr1\t3210775\t3210775\t3210775\t5\t1\t4\\.\\d+\t1\\.000000\n+chr1\t3212525\t3212525\t3212525\t6\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3213675\t3213675\t3213675\t6\t13\t0\\.\\d+\t1\\.000000\n+chr1\t3215275\t3215275\t3215275\t4\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3218225\t3217950\t3218650\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t3219225\t3219225\t3219225\t8\t4\t2\\.\\d+\t1\\.000000\n+chr1\t3237925\t3237925\t3237925\t4\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3238975\t3238975\t3238975\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3239825\t3239825\t3239825\t6\t6\t1\\.\\d+\t1\\.000000\n+chr1\t3242375\t3242375\t3242375\t6\t12\t0\\.\\d+\t1\\.000000\n+chr1\t3243175\t3243175\t3243175\t7\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3244675\t3244675\t3244675\t5\t5\t1\\.\\d+\t1\\.000000\n+chr1\t3246325\t3246325\t3246325\t6\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3248375\t3248375\t3248375\t5\t2\t2\\.\\d+\t1\\.000000\n+chr1\t3255375\t3255375\t3255375\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3256175\t3256175\t3256175\t6\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3257625\t3257625\t3257625\t5\t5\t1\\.\\d+\t1\\.000000\n+chr1\t3259775\t3259775\t3259775\t4\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3274825\t3274825\t3274825\t5\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3281275\t3281275\t3281275\t8\t3\t2\\.\\d+\t1\\.000000\n+chr1\t3288225\t3288225\t3288225\t6\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3290775\t3290775\t3290775\t4\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3292625\t3292625\t3292625\t7\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3302575\t3302575\t3302575\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3309275\t3309275\t3309275\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3310775\t3310775\t3310775\t6\t8\t0\\.\\d+\t1\\.000000\n+chr1\t3312075\t3312075\t3312075\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3312925\t3312925\t3312925\t5\t13\t0\\.\\d+\t1\\.000000\n+chr1\t3314975\t3314975\t3314975\t4\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3316675\t3316675\t3316675\t4\t5\t0\\.\\d+\t1\\.000000\n+chr1\t3317425\t3317425\t3317425\t4\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3323275\t3323275\t3323275\t4\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3324125\t3324125\t3324125\t5\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3325075\t3325075\t3325075\t7\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3346775\t3346775\t3346775\t6\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3353075\t3353075\t3353075\t8\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3354625\t3354625\t3354625\t6\t2\t2\\.\\d+\t1\\.000000\n+chr1\t3355875\t3355875\t3355875\t8\t9\t0\\.\\d+'..b'431675\t5430850\t5433300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5434275\t5433650\t5434750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5440025\t5439250\t5440800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5442275\t5441650\t5444200\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5448175\t5447500\t5449550\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5452325\t5451600\t5457500\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5453725\t5451600\t5457500\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5456175\t5451600\t5457500\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5475625\t5475100\t5477300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5487775\t5487100\t5488500\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5496975\t5495700\t5499250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5497825\t5495700\t5499250\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5506125\t5501700\t5509950\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5508775\t5501700\t5509950\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5510975\t5510050\t5511700\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5512575\t5511900\t5513200\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5514725\t5514000\t5516700\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5515525\t5514000\t5516700\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5524325\t5523650\t5525000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5529975\t5529250\t5531450\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5532625\t5531900\t5534450\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5533875\t5531900\t5534450\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5540175\t5539550\t5541750\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5541075\t5539550\t5541750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5549025\t5548350\t5551750\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5550025\t5548350\t5551750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5551125\t5548350\t5551750\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5568475\t5567950\t5569000\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5569825\t5569100\t5573050\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5570575\t5569100\t5573050\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5571625\t5569100\t5573050\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5576875\t5575800\t5590800\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5577775\t5575800\t5590800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5579775\t5575800\t5590800\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5581475\t5575800\t5590800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5586075\t5575800\t5590800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5587975\t5575800\t5590800\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5588975\t5575800\t5590800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5590125\t5575800\t5590800\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5594075\t5591050\t5602000\t10\t0\t31\\.\\d+\t0\\.189000\n+chr1\t5596625\t5591050\t5602000\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5599225\t5591050\t5602000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5600275\t5591050\t5602000\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5603725\t5602100\t5604250\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5606575\t5604350\t5609750\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5611875\t5610500\t5613650\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5612875\t5610500\t5613650\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5614875\t5614250\t5618100\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5616925\t5614250\t5618100\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5621725\t5621000\t5622450\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5632475\t5631850\t5636000\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5633525\t5631850\t5636000\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5646825\t5646050\t5655200\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5648725\t5646050\t5655200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5649775\t5646050\t5655200\t12\t0\t37\\.\\d+\t0\\.133000\n+chr1\t5651925\t5646050\t5655200\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5653625\t5646050\t5655200\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5655975\t5655300\t5656700\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5657525\t5657150\t5658300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5660625\t5659950\t5661050\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5666675\t5666250\t5667300\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5679225\t5678650\t5681350\t7\t0\t21\\.\\d+\t0\\.193000\n+chr1\t5680325\t5678650\t5681350\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5694925\t5694400\t5696050\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5697075\t5696100\t5697750\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5706275\t5704550\t5709600\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5712725\t5712200\t5713300\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5714575\t5714000\t5716900\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5716125\t5714000\t5716900\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5718675\t5716950\t5719450\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5726225\t5725050\t5728250\t9\t0\t28\\.\\d+\t0\\.189000\n+chr1\t5727525\t5725050\t5728250\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5742225\t5741500\t5743250\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5744775\t5743300\t5747400\t4\t0\t12\\.\\d+\t0\\.193000\n+chr1\t5745875\t5743300\t5747400\t6\t0\t18\\.\\d+\t0\\.193000\n+chr1\t5746675\t5743300\t5747400\t5\t0\t15\\.\\d+\t0\\.193000\n+chr1\t5751675\t5751000\t5752900\t6\t0\t18\\.\\d+\t0\\.193000\n'
b
diff -r 000000000000 -r a0c8dc671a23 test-data/peakcalling_ccat/3.0/ccat_test_top_out_2.interval.sorted.re_match
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/peakcalling_ccat/3.0/ccat_test_top_out_2.interval.sorted.re_match Mon Jan 27 09:27:03 2014 -0500
b
b'@@ -0,0 +1,673 @@\n+chr1\t3002625\t3002625\t3002625\t7\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3019925\t3019925\t3019925\t8\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3021425\t3021425\t3021425\t10\t9\t1\\.\\d+\t1\\.000000\n+chr1\t3023575\t3022750\t3024750\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t3026925\t3026925\t3026925\t4\t4\t0\\.\\d+\t1\\.000000\n+chr1\t3035775\t3035775\t3035775\t5\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3038975\t3038975\t3038975\t8\t13\t0\\.\\d+\t1\\.000000\n+chr1\t3041425\t3041425\t3041425\t6\t1\t4\\.\\d+\t1\\.000000\n+chr1\t3052125\t3052125\t3052125\t5\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3055075\t3055075\t3055075\t6\t1\t4\\.\\d+\t1\\.000000\n+chr1\t3062825\t3062825\t3062825\t7\t2\t3\\.\\d+\t1\\.000000\n+chr1\t3066475\t3066475\t3066475\t6\t6\t1\\.\\d+\t1\\.000000\n+chr1\t3071625\t3071625\t3071625\t5\t8\t0\\.\\d+\t1\\.000000\n+chr1\t3073725\t3073725\t3073725\t4\t4\t0\\.\\d+\t1\\.000000\n+chr1\t3086625\t3086625\t3086625\t15\t17\t0\\.\\d+\t1\\.000000\n+chr1\t3089025\t3089025\t3089025\t5\t5\t0\\.\\d+\t1\\.000000\n+chr1\t3093325\t3093325\t3093325\t4\t11\t0\\.\\d+\t1\\.000000\n+chr1\t3095325\t3095325\t3095325\t9\t12\t0\\.\\d+\t1\\.000000\n+chr1\t3105375\t3105375\t3105375\t7\t17\t0\\.\\d+\t1\\.000000\n+chr1\t3107225\t3107225\t3107225\t9\t12\t0\\.\\d+\t1\\.000000\n+chr1\t3110675\t3110675\t3110675\t13\t3\t4\\.\\d+\t1\\.000000\n+chr1\t3112225\t3112225\t3112225\t8\t8\t1\\.\\d+\t1\\.000000\n+chr1\t3114925\t3114925\t3114925\t4\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3119625\t3119625\t3119625\t7\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3122225\t3122225\t3122225\t6\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3124225\t3124225\t3124225\t5\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3126925\t3126925\t3126925\t4\t11\t0\\.\\d+\t1\\.000000\n+chr1\t3139075\t3139075\t3139075\t5\t1\t4\\.\\d+\t1\\.000000\n+chr1\t3156275\t3156275\t3156275\t9\t8\t1\\.\\d+\t1\\.000000\n+chr1\t3161375\t3161375\t3161375\t8\t11\t0\\.\\d+\t1\\.000000\n+chr1\t3168875\t3168875\t3168875\t7\t13\t0\\.\\d+\t1\\.000000\n+chr1\t3173775\t3173775\t3173775\t5\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3180225\t3180225\t3180225\t6\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3187375\t3187375\t3187375\t9\t16\t0\\.\\d+\t1\\.000000\n+chr1\t3188875\t3188875\t3188875\t11\t14\t0\\.\\d+\t1\\.000000\n+chr1\t3191875\t3191875\t3191875\t8\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3196575\t3196575\t3196575\t8\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3201925\t3201925\t3201925\t8\t8\t1\\.\\d+\t1\\.000000\n+chr1\t3205025\t3205025\t3205025\t7\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3207475\t3207475\t3207475\t13\t13\t1\\.\\d+\t1\\.000000\n+chr1\t3210525\t3210525\t3210525\t7\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3212475\t3212475\t3212475\t9\t7\t1\\.\\d+\t1\\.000000\n+chr1\t3215675\t3215675\t3215675\t7\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3219525\t3219525\t3219525\t13\t11\t1\\.\\d+\t1\\.000000\n+chr1\t3240375\t3240375\t3240375\t11\t16\t0\\.\\d+\t1\\.000000\n+chr1\t3242775\t3242775\t3242775\t12\t15\t0\\.\\d+\t1\\.000000\n+chr1\t3245975\t3245975\t3245975\t8\t7\t1\\.\\d+\t1\\.000000\n+chr1\t3248275\t3248275\t3248275\t7\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3256675\t3256675\t3256675\t10\t15\t0\\.\\d+\t1\\.000000\n+chr1\t3259875\t3259875\t3259875\t5\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3274825\t3274825\t3274825\t5\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3277125\t3277125\t3277125\t4\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3280975\t3280975\t3280975\t10\t4\t2\\.\\d+\t1\\.000000\n+chr1\t3287925\t3287925\t3287925\t9\t2\t4\\.\\d+\t1\\.000000\n+chr1\t3290525\t3290525\t3290525\t6\t4\t1\\.\\d+\t1\\.000000\n+chr1\t3292325\t3292325\t3292325\t10\t9\t1\\.\\d+\t1\\.000000\n+chr1\t3302375\t3302375\t3302375\t6\t7\t0\\.\\d+\t1\\.000000\n+chr1\t3309575\t3309575\t3309575\t10\t15\t0\\.\\d+\t1\\.000000\n+chr1\t3312575\t3312575\t3312575\t9\t19\t0\\.\\d+\t1\\.000000\n+chr1\t3314825\t3314825\t3314825\t6\t14\t0\\.\\d+\t1\\.000000\n+chr1\t3317125\t3317125\t3317125\t7\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3325325\t3325325\t3325325\t10\t11\t0\\.\\d+\t1\\.000000\n+chr1\t3334775\t3334775\t3334775\t4\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3344175\t3344175\t3344175\t4\t6\t0\\.\\d+\t1\\.000000\n+chr1\t3347075\t3347075\t3347075\t10\t10\t1\\.\\d+\t1\\.000000\n+chr1\t3350025\t3350025\t3350025\t5\t3\t1\\.\\d+\t1\\.000000\n+chr1\t3353575\t3353575\t3353575\t11\t16\t0\\.\\d+\t1\\.000000\n+chr1\t3355625\t3355625\t3355625\t9\t11\t0\\.\\d+\t1\\.000000\n+chr1\t3357825\t3357825\t3357825\t9\t6\t1\\.\\d+\t1\\.000000\n+chr1\t3359925\t3359925\t3359925\t8\t13\t0\\.\\d+\t1\\.000000\n+chr1\t3361375\t3361375\t3361375\t9\t8\t1\\.\\d+\t1\\.000000\n+chr1\t3365225\t3365225\t3365225\t7\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3371275\t3371275\t3371275\t10\t12\t0\\.\\d+\t1\\.000000\n+chr1\t3379875\t3379875\t3379875\t6\t10\t0\\.\\d+\t1\\.000000\n+chr1\t3383375\t3383375\t3383375\t10\t12\t0\\.\\d+\t1\\.000000\n+chr1\t3385875\t3385875\t3385875\t6\t9\t0\\.\\d+\t1\\.000000\n+chr1\t3389075\t3389075\t3389075\t9\t13\t0\\.\\d+\t1\\.000000\n+c'..b'8500\t5389350\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5384575\t5368500\t5389350\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5386675\t5368500\t5389350\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5395375\t5390850\t5406350\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5396875\t5390850\t5406350\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5401025\t5390850\t5406350\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5409325\t5406500\t5414000\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5412475\t5406500\t5414000\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5429475\t5427200\t5435250\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5431425\t5427200\t5435250\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5434275\t5427200\t5435250\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5440025\t5438750\t5445150\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5442625\t5438750\t5445150\t10\t0\t36\\.\\d+\t0\\.034000\n+chr1\t5448375\t5445350\t5450050\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5453625\t5450900\t5458700\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5456475\t5450900\t5458700\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5475625\t5474600\t5479600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5485175\t5482700\t5489150\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5487825\t5482700\t5489150\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5496625\t5495200\t5499750\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5502325\t5501200\t5517200\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5505875\t5501200\t5517200\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5507675\t5501200\t5517200\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5510825\t5501200\t5517200\t12\t0\t43\\.\\d+\t0\\.025000\n+chr1\t5515275\t5501200\t5517200\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5524125\t5521900\t5536850\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5530525\t5521900\t5536850\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5532875\t5521900\t5536850\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5539925\t5538950\t5542250\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5548775\t5547250\t5552250\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5550725\t5547250\t5552250\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5564125\t5562650\t5566050\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5568875\t5567450\t5573850\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5570325\t5567450\t5573850\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5571725\t5567450\t5573850\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5577575\t5575300\t5618600\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5579625\t5575300\t5618600\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5581825\t5575300\t5618600\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5584125\t5575300\t5618600\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5585925\t5575300\t5618600\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5588325\t5575300\t5618600\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5591875\t5575300\t5618600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5593825\t5575300\t5618600\t17\t0\t62\\.\\d+\t0\\.025000\n+chr1\t5596475\t5575300\t5618600\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5598575\t5575300\t5618600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5603475\t5575300\t5618600\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5606225\t5575300\t5618600\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5612475\t5575300\t5618600\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5614975\t5575300\t5618600\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5616675\t5575300\t5618600\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5621625\t5618950\t5622950\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5632975\t5631350\t5638100\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5635025\t5631350\t5638100\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5637125\t5631350\t5638100\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5647075\t5645550\t5668850\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5649475\t5645550\t5668850\t13\t0\t47\\.\\d+\t0\\.025000\n+chr1\t5651825\t5645550\t5668850\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5653275\t5645550\t5668850\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5656025\t5645550\t5668850\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5660675\t5645550\t5668850\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5664225\t5645550\t5668850\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5666375\t5645550\t5668850\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5679325\t5675600\t5681850\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5688775\t5687300\t5691900\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5695175\t5693900\t5701400\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5696975\t5693900\t5701400\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5699925\t5693900\t5701400\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5706725\t5703650\t5710750\t8\t0\t29\\.\\d+\t0\\.034000\n+chr1\t5712725\t5711700\t5719950\t4\t0\t14\\.\\d+\t1\\.000000\n+chr1\t5716025\t5711700\t5719950\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5718625\t5711700\t5719950\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5722875\t5720500\t5731000\t5\t0\t18\\.\\d+\t0\\.199000\n+chr1\t5726025\t5720500\t5731000\t11\t0\t40\\.\\d+\t0\\.034000\n+chr1\t5742375\t5741000\t5748200\t7\t0\t25\\.\\d+\t0\\.135000\n+chr1\t5744425\t5741000\t5748200\t6\t0\t21\\.\\d+\t0\\.135000\n+chr1\t5746175\t5741000\t5748200\t9\t0\t32\\.\\d+\t0\\.034000\n+chr1\t5751925\t5749150\t5753500\t7\t0\t25\\.\\d+\t0\\.135000\n'
b
diff -r 000000000000 -r a0c8dc671a23 tool-data/ccat_configurations.loc.sample
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/ccat_configurations.loc.sample Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,5 @@
+#Provide Pre-compiled CCAT peak/region caller configuration files
+#UID Description path_to_config_file
+#ccat_3.0_tf_config CCAT 3.0 provided Transcription Factor Binding /path_to/ccat/configs/3.0/config_TF.txt
+#ccat_3.0_histone_config CCAT 3.0 provided Histone Modification /path_to/ccat/configs/3.0/config_histone.txt
+#ccat_3.0_histone_config_fixed CCAT 3.0 Histone Factor Binding (readme.txt defaults: slidingWinSize=1000) /path_to/ccat/configs/3.0/config_histone_readme.txt
\ No newline at end of file
b
diff -r 000000000000 -r a0c8dc671a23 tool_data_table_conf.xml.sample
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_data_table_conf.xml.sample Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,8 @@
+<!-- Use the file tool_data_table_conf.xml.oldlocstyle if you don't want to update your loc files as changed in revision 4550:535d276c92bc-->
+<tables>
+    <!-- Locations of configurations in the CCAT peak/region caller format -->
+    <table name="ccat_configurations" comment_char="#">
+        <columns>value, name, path</columns>
+        <file path="tool-data/ccat_configurations.loc" />
+    </table>
+</tables>
b
diff -r 000000000000 -r a0c8dc671a23 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Mon Jan 27 09:27:03 2014 -0500
b
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="CCAT" version="3.0">
+      <repository changeset_revision="b65b1bab9226" name="package_ccat_3_0" owner="devteam" prior_installation_required="False" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+</tool_dependency>