Mercurial > repos > saskia-hiltemann > cgatools_v17
annotate tools/cgatools17/join_v17.xml @ 5:64017ce705b6 draft
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools commit c475b4222a15cdadc6085865f4d13426249fec25-dirty
author | yhoogstrate |
---|---|
date | Wed, 11 Nov 2015 03:51:05 -0500 |
parents | 3a2e0f376f26 |
children |
rev | line source |
---|---|
1
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
1 <tool id="cg_join" name="Join" version="1.7.1"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
2 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
3 <description>Join two tsv files based on equal fields or overlapping regions.</description> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
4 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
5 <requirements> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
6 <requirement type="package" version="1">cgatools17</requirement> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
7 </requirements> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
8 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
9 <command> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
10 cgatools | head -1; |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
11 cgatools join --beta |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
12 --input $inputA |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
13 --input $inputB |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
14 --output $output |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
15 --output-mode $outmode |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
16 $dump |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
17 --select $col |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
18 #for $m in $matches |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
19 --match ${m.match} |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
20 #end for |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
21 #if $range_overlap.range == 'yes' |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
22 #for $o in $range_overlap.overlaps |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
23 --overlap ${o.overlap} |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
24 #end for |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
25 --overlap-mode $range_overlap.overlapmode |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
26 --overlap-fraction-A $range_overlap.fractionA |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
27 --boundary-uncertainty-A $range_overlap.boundaryA |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
28 --overlap-fraction-B $range_overlap.fractionB |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
29 --boundary-uncertainty-B $range_overlap.boundaryB |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
30 #end if |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
31 </command> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
32 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
33 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
34 <inputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
35 <param name="inputA" type="data" format="tabular" label="Select input file A "/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
36 <param name="inputB" type="data" format="tabular" label="Select input file B "/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
37 <param name="col" type="text" value="A.*,B.*" size="40" label="Specify columns for output" help="The default value A.*,B.* prints all columns from both files, other selections enter in the format A.col_name1,A.col_name3,B.col_name1" /> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
38 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
39 <param name="outmode" type="select" label="Select output mode"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
40 <option value="full" selected="true">full (1 line for each match of records in A and B)</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
41 <option value="compact">compact (1 line for each record in A, joining multiple records in B by semicolon)</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
42 <option value="compact-pct">compact-pct (same as compact, annotated with % overlap)</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
43 </param> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
44 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
45 <param name="dump" type="select" label="Select records to print"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
46 <option value="--always-dump" selected="true">print all records of A even if not matched in B</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
47 <option value="">print only records of A that are matched in B</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
48 </param> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
49 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
50 <repeat name="matches" title="Exact match column"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
51 <param name="match" type="text" size="40" label="Enter column:column" help="Enter column_from_A:column_from_B, e.g. chromosome:chromosome"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
52 </repeat> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
53 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
54 <conditional name="range_overlap"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
55 <param name="range" type="select" label="Do you want to match columns by overlapping range?"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
56 <option value="no">no</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
57 <option value="yes">yes</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
58 </param> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
59 <when value="no"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
60 <!-- no options --> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
61 </when> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
62 <when value="yes"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
63 <repeat name="overlaps" title="Range column"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
64 <param name="overlap" type="text" size="40" label="Enter column[,column]:column[,column]" help="Enter range_start_from_A[,range_stop_from_A]:range_start_from_B[,range_stop_from_B], e.g. begin,end:begin,end (overlapping range of positions) or begin,end:position"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
65 </repeat> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
66 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
67 <param name="overlapmode" type="select" label="Select overlap mode"> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
68 <option value="strict" selected="true">strict (overlap if A.begin<B.end and B.begin>A.end)</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
69 <option value="allow-abutting-points">allow-abutting-points (overlap if A.begin<B.end and B.begin>A.end, or if A.begin<=B.end and B.begin<=A.end and either A or B has zero length.)</option> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
70 </param> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
71 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
72 <param name="fractionA" type="integer" value="0" label="Minimum fraction of A region overlap " /> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
73 <param name="boundaryA" type="integer" value="0" label="Boundary uncertainty for A for overlap filtering " help="Records failing the following boundary-uncertainty calculation are not included in the output: overlap length >= overlap-fraction-A * (A-range-length - boundary-uncertainty-A)"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
74 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
75 <param name="fractionB" type="integer" value="0" label="Minimum fraction of B region overlap " /> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
76 <param name="boundaryB" type="integer" value="0" label="Boundary uncertainty for overlap filtering " help="Records failing the following boundary-uncertainty calculation are not included in the output: overlap length >= overlap-fraction-B * (B-range-length - boundary-uncertainty-B)"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
77 </when> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
78 </conditional> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
79 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
80 <!-- prefix for output file so you dont have to manually rename history items --> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
81 <param name="fname" type="text" value="" label="Prefix for your output file" help="Optional"/> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
82 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
83 </inputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
84 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
85 <outputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
86 <data format="tabular" name="output" label="$fname ${tool.name} on data ${on_string}" /> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
87 </outputs> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
88 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
89 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
90 <help> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
91 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
92 **What it does** |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
93 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
94 This tool joins two tab-delimited files based on equal fields or overlapping regions. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
95 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
96 **cgatools 1.7.1 Documentation** |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
97 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
98 Userguide: http://cgatools.sourceforge.net/docs/1.7.1/cgatools-user-guide.pdf |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
99 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
100 Release notes: http://cgatools.sourceforge.net/docs/1.7.1/cgatools-release-notes.pdf |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
101 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
102 **Command line reference**:: |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
103 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
104 COMMAND NAME |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
105 join - Joins two tab-delimited files based on equal fields or overlapping regions. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
106 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
107 DESCRIPTION |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
108 Joins two tab-delimited files based on equal fields or overlapping regions. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
109 By default, an output record is produced for each match found between file |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
110 A and file B, but output format can be controlled by the --output-mode |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
111 parameter. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
112 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
113 OPTIONS |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
114 -h [ --help ] |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
115 Print this help message. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
116 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
117 --beta |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
118 This is a beta command. To run this command, you must pass the --beta |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
119 flag. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
120 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
121 --input arg |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
122 File name to use as input (may be passed in as arguments at the end of |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
123 the command), or omitted for stdin). There must be exactly two input |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
124 files to join. If only one file is specified by name, file A is taken |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
125 to be stdin and file B is the named file. File B is read fully into |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
126 memory, and file A is streamed. File A's columns appear first in the |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
127 output. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
128 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
129 --output arg (=STDOUT) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
130 The output file name (may be omitted for stdout). |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
131 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
132 --match arg |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
133 A match specification, which is a column from A and a column from B |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
134 separated by a colon. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
135 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
136 --overlap arg |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
137 Overlap specification. An overlap specification consists of a range |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
138 definition for files A and B, separated by a colon. A range definition |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
139 may be two columns, in which case they are interpreted as the beginning |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
140 and end of the range. Or it may be one column, in which case the range |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
141 is defined as the 1-base range starting at the given value. The records |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
142 from the two files must overlap in order to be considered for output. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
143 Two ranges are considered to overlap if the overlap is at least one |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
144 base long, or if one of the ranges is length 0 and the ranges overlap |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
145 or abut. For example, "begin,end:offset" will match wherever end-begin |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
146 > 0, begin<offset+1, and end>offset, or wherever end-begin = 0, |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
147 begin<=offset+1, and end>=offset. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
148 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
149 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
150 -m [ --output-mode ] arg (=full) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
151 Output mode, one of the following: |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
152 full Print an output record for each match found between |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
153 file A and file B. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
154 compact Print at most one record for each record of file A, |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
155 joining the file B values by a semicolon and |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
156 suppressing repeated B values and empty B values. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
157 compact-pct Same as compact, but for each distinct B value, |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
158 annotate with the percentage of the A record that is |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
159 overlapped by B records with that B value. Percentage |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
160 is rounded up to nearest integer. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
161 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
162 --overlap-mode arg (=strict) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
163 Overlap mode, one of the following: |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
164 strict Range A and B overlap if A.begin < B.end and |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
165 B.begin < A.end. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
166 allow-abutting-points Range A and B overlap they meet the strict |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
167 requirements, or if A.begin <= B.end and |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
168 B.begin <= A.end and either A or B has zero |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
169 length. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
170 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
171 --select arg (=A.*,B.*) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
172 Set of fields to select for output. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
173 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
174 -a [ --always-dump ] |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
175 Dump every record of A, even if there are no matches with file B. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
176 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
177 --overlap-fraction-A arg (=0) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
178 Minimum fraction of A region overlap for filtering output. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
179 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
180 --boundary-uncertainty-A arg (=0) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
181 Boundary uncertainty for overlap filtering. Specifically, records |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
182 failing the following predicate are filtered away: overlap >= |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
183 overlap-fraction-A * ( A-range-length - boundary-uncertainty-A ) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
184 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
185 --overlap-fraction-B arg (=0) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
186 Minimum fraction of B region overlap for filtering output. |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
187 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
188 --boundary-uncertainty-B arg (=0) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
189 Boundary uncertainty for overlap filtering. Specifically, records |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
190 failing the following predicate are filtered away: overlap >= |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
191 overlap-fraction-B * ( B-range-length - boundary-uncertainty-B ) |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
192 |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
193 SUPPORTED FORMAT_VERSION |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
194 Any |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
195 </help> |
3a2e0f376f26
Minor change to tv2vcf.xml to allow for workflow automation
dgdekoning
parents:
diff
changeset
|
196 </tool> |