Mercurial > repos > iuc > bedtools
annotate groupbyBed.xml @ 34:dde39ba9c031 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:55:48 -0400 |
parents | 4f7a5ccd2ae9 |
children | 3e38c9b3214f |
rev | line source |
---|---|
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
1 <tool id="bedtools_groupbybed" name="bedtools GroupByBed" version="@TOOL_VERSION@"> |
4
607c0576c6ab
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents:
1
diff
changeset
|
2 <description>group by common cols and summarize other cols</description> |
0 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <expand macro="stdio" /> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
8 <command><![CDATA[ |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
9 bedtools groupby |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
10 -i '${inputA}' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
11 -g '$group' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
12 -c '${cols}' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
13 -o $operation |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
14 > '${output}' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
15 ]]></command> |
0 | 16 <inputs> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
17 <param name="inputA" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/> |
1 | 18 <expand macro="choose_columns" /> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
19 <param name="group" argument="-g" type="text" value="1,2,3" |
1 | 20 label="Specifies which column(s) (1-based) should be used to group the input" |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
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."> |
1 | 22 <sanitizer invalid_char=""> |
23 <valid initial="string.digits"><add value=","/><add value="-"/></valid> | |
24 </sanitizer> | |
25 </param> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
26 <param name="operation" argument="-o" type="select" label="Specify the operation"> |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
27 <option value="sum" selected="true">Sum - numeric only</option> |
0 | 28 <option value="stdev">Stdev - numeric only</option> |
29 <option value="sstdev">Sstdev - numeric only</option> | |
1 | 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> | |
0 | 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> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
39 <data name="output" format_source="inputA" metadata_source="inputA"/> |
0 | 40 </outputs> |
1 | 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> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
64 <help><![CDATA[ |
0 | 65 **What it does** |
66 | |
67 Replicate lines in a file based on columns of comma-separated values. | |
68 | |
69 @REFERENCES@ | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
70 ]]></help> |
0 | 71 <expand macro="citations" /> |
72 </tool> |