# HG changeset patch
# User bcrain-completegenomics
# Date 1339521924 14400
# Node ID ed3c76be8a416dd3be34f78f53a0385043d462e5
# Parent 8c5691a9e67f9dd80cb9677efbd8540c2cd961db
Uploaded
diff -r 8c5691a9e67f -r ed3c76be8a41 cgatools/tools/cgatools/join.xml
--- a/cgatools/tools/cgatools/join.xml Tue Jun 12 13:20:49 2012 -0400
+++ b/cgatools/tools/cgatools/join.xml Tue Jun 12 13:25:24 2012 -0400
@@ -8,15 +8,25 @@
cgatools join --beta
- --input $input1
- --input $input2
+ --input $inputA
+ --input $inputB
--output $output
--output-mode $outmode
$dump
--select $col
- #for $m in $matched
- --match ${m.match}
+ #for $m in $matches
+ --match ${m.match}
#end for
+ #if $range_overlap.range == 'yes'
+ #for $o in $range_overlap.overlaps
+ --overlap ${o.overlap}
+ #end for
+ --overlap-mode $range_overlap.overlapmode
+ --overlap-fraction-A $range_overlap.fractionA
+ --boundary-uncertainty-A $range_overlap.boundaryA
+ --overlap-fraction-B $range_overlap.fractionB
+ --boundary-uncertainty-B $range_overlap.boundaryB
+ #end if
@@ -25,7 +35,7 @@
-
+
-
+
-
-
-
-
-
-
+
@@ -60,8 +65,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
**What it does**
@@ -107,7 +144,19 @@
separated by a colon.
--overlap arg
-
+ Overlap specification. An overlap specification consists of a range
+ definition for files A and B, separated by a colon. A range definition
+ may be two columns, in which case they are interpreted as the beginning
+ and end of the range. Or it may be one column, in which case the range
+ is defined as the 1-base range starting at the given value. The records
+ from the two files must overlap in order to be considered for output.
+ Two ranges are considered to overlap if the overlap is at least one
+ base long, or if one of the ranges is length 0 and the ranges overlap
+ or abut. For example, "begin,end:offset" will match wherever end-begin
+ > 0, begin<offset+1, and end>offset, or wherever end-begin = 0,
+ begin<=offset+1, and end>=offset.
+
+
-m [ --output-mode ] arg (=full)
Output mode, one of the following:
full Print an output record for each match found between