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