Mercurial > repos > iuc > bedtools
annotate groupbyBed.xml @ 50:df28283b3778 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
| author | iuc |
|---|---|
| date | Mon, 29 Apr 2019 05:54:22 -0400 |
| parents | 2f457890d8c8 |
| children | 7a06bb42dbb1 |
| rev | line source |
|---|---|
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
1 <tool id="bedtools_groupbybed" name="bedtools GroupByBed" version="@TOOL_VERSION@"> |
|
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
8
diff
changeset
|
2 <description>group by common cols and summarize other cols</description> |
| 8 | 3 <macros> |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <expand macro="stdio" /> | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
8 <command><![CDATA[ |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
9 bedtools groupby |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
10 -i '${inputA}' |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
11 -g '$group' |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
12 -c '${cols}' |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
13 -o $operation |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
14 > '${output}' |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
15 ]]></command> |
| 8 | 16 <inputs> |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
17 <param name="inputA" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/> |
| 8 | 18 <expand macro="choose_columns" /> |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
19 <param name="group" argument="-g" type="text" value="1,2,3" |
| 8 | 20 label="Specifies which column(s) (1-based) should be used to group the input" |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
21 help="Columns may be comma-separated with each column must be explicitly listed. Or, ranges (e.g. 1-4) are also allowed."> |
| 8 | 22 <sanitizer invalid_char=""> |
| 23 <valid initial="string.digits"><add value=","/><add value="-"/></valid> | |
| 24 </sanitizer> | |
| 25 </param> | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
26 <param name="operation" argument="-o" type="select" label="Specify the operation"> |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
27 <option value="sum" selected="true">Sum - numeric only</option> |
| 8 | 28 <option value="stdev">Stdev - numeric only</option> |
| 29 <option value="sstdev">Sstdev - numeric only</option> | |
| 30 <option value="freqasc">Freqasc - comma separated list of values observed and the number of times they were observed (ascending)</option> | |
| 31 <option value="freqdesc">Freqdesc - comma separated list of values observed and the number of times they were observed (descending)</option> | |
| 32 <option value="first">First - numeric or text</option> | |
| 33 <option value="last">Last - numeric or text</option> | |
| 34 <expand macro="math_options" /> | |
| 35 <expand macro="additional_math_options" /> | |
| 36 </param> | |
| 37 </inputs> | |
| 38 <outputs> | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
39 <data name="output" format_source="inputA" metadata_source="inputA"/> |
| 8 | 40 </outputs> |
| 41 <tests> | |
| 42 <test> | |
| 43 <param name="inputA" value="groupbyBed1.bed" ftype="bed" /> | |
| 44 <param name="cols" value="9" /> | |
| 45 <param name="group" value="1,2,3" /> | |
| 46 <param name="operation" value="sum" /> | |
| 47 <output name="output" file="groupbyBed_result1.bed" ftype="bed" /> | |
| 48 </test> | |
| 49 <test> | |
| 50 <param name="inputA" value="groupbyBed1.bed" ftype="bed" /> | |
| 51 <param name="cols" value="9" /> | |
| 52 <param name="group" value="1,2,3" /> | |
| 53 <param name="operation" value="min" /> | |
| 54 <output name="output" file="groupbyBed_result2.bed" ftype="bed" /> | |
| 55 </test> | |
| 56 <test> | |
| 57 <param name="inputA" value="groupbyBed1.bed" ftype="bed" /> | |
| 58 <param name="cols" value="9" /> | |
| 59 <param name="group" value="1-4" /> | |
| 60 <param name="operation" value="median" /> | |
| 61 <output name="output" file="groupbyBed_result3.bed" ftype="bed" /> | |
| 62 </test> | |
| 63 </tests> | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
64 <help><![CDATA[ |
| 8 | 65 **What it does** |
| 66 | |
| 67 Replicate lines in a file based on columns of comma-separated values. | |
| 68 | |
| 69 @REFERENCES@ | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
70 ]]></help> |
| 8 | 71 <expand macro="citations" /> |
| 72 </tool> |
