# HG changeset patch
# User iuc
# Date 1432033536 14400
# Node ID 457b09031d57545dec5ff3963c6396810f3523cb
# Parent 82aac94b06c36be7f63f8db73adf30c9a85340cb
Uploaded
diff -r 82aac94b06c3 -r 457b09031d57 genomeCoverageBed.xml
--- a/genomeCoverageBed.xml Thu Jan 08 14:25:51 2015 -0500
+++ b/genomeCoverageBed.xml Tue May 19 07:05:36 2015 -0400
@@ -19,14 +19,14 @@
$strand
#if str($report.report_select) == "bg":
- #if $zero_regions.value:
- $zero_regions
+ #if $report.zero_regions:
+ $report.zero_regions
#else:
-bg
#end if
- #if str($scale):
- -scale $scale
+ #if str($report.scale):
+ -scale $report.scale
#end if
#else:
#if str($report.max):
diff -r 82aac94b06c3 -r 457b09031d57 macros.xml
--- a/macros.xml Thu Jan 08 14:25:51 2015 -0500
+++ b/macros.xml Tue May 19 07:05:36 2015 -0400
@@ -4,7 +4,6 @@
bedtools
- bedtools --version
2.22
@@ -16,6 +15,7 @@
+ bedtools --version
-
@@ -81,14 +81,42 @@
+ label="Specify the column(s) that should be summarized"
+ help="comma separated (-c)">
+
+
+
+
+
+ #set $col = list()
+ #set $op = list()
+ #for $item in $c_and_o_argument_repeat:
+ #silent $col.append( str($item.col) )
+ #silent $op.append( str($item.operation) )
+ #end for
+ #if $col:
+ -c #echo ','.join($col)#
+ -o #echo ','.join($op)#
+ #end if
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 82aac94b06c3 -r 457b09031d57 mapBed.xml
--- a/mapBed.xml Thu Jan 08 14:25:51 2015 -0500
+++ b/mapBed.xml Tue May 19 07:05:36 2015 -0400
@@ -1,4 +1,4 @@
-
+
macros.xml
@@ -11,8 +11,7 @@
-a "${inputA}"
-b "${inputB}"
$strand
- -o $operation
- -c "${cols}"
+ @C_AND_O_ARGUMENT@
-f $overlap
$reciprocal
$split
@@ -26,16 +25,12 @@
-
-
-
-
-
+
@@ -53,30 +48,38 @@
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
-
-
+
+
+
+
diff -r 82aac94b06c3 -r 457b09031d57 mergeBed.xml
--- a/mergeBed.xml Thu Jan 08 14:25:51 2015 -0500
+++ b/mergeBed.xml Tue May 19 07:05:36 2015 -0400
@@ -1,4 +1,4 @@
-
+
(mergeBed)
macros.xml
@@ -12,6 +12,7 @@
$strand
-d $distance
$header
+ @C_AND_O_ARGUMENT@
> "${output}"
]]>
@@ -27,11 +28,7 @@
label="Maximum distance between features allowed for features to be merged"
help="That is, overlapping and/or book-ended features are merged. (-d)"/>
-
-
-
-
-
+
@@ -56,6 +53,15 @@
+
+
+
+
+
+
+
+
+
diff -r 82aac94b06c3 -r 457b09031d57 randomBed.xml
--- a/randomBed.xml Thu Jan 08 14:25:51 2015 -0500
+++ b/randomBed.xml Tue May 19 07:05:36 2015 -0400
@@ -11,7 +11,7 @@
-g $genome
-l $length
-n $intervals
- #if $seed.seed_choose:
+ #if str($seed.seed_choose) == "True":
-seed $seed.seed
#end if
> "$output"
@@ -29,11 +29,15 @@
-
-
+
-
+
diff -r 82aac94b06c3 -r 457b09031d57 test-data/mergedBed_result5.bed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/mergedBed_result5.bed Tue May 19 07:05:36 2015 -0400
@@ -0,0 +1,1 @@
+chr1 100 1000 2
diff -r 82aac94b06c3 -r 457b09031d57 test-data/randomBed_result1.bed
--- a/test-data/randomBed_result1.bed Thu Jan 08 14:25:51 2015 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-chr1 115594142 115594147 1 5 +
-chr1 167415497 167415502 2 5 -
-chr1 191692404 191692409 3 5 -