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