Mercurial > repos > iuc > bedtools
annotate sortBed.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 | b06c53665eb6 |
| 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_sortbed" name="bedtools SortBED" 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>order the intervals</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 sortBed |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
10 -i '$input' |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
11 $option |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
12 > '$output' |
|
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
13 ]]></command> |
| 8 | 14 <inputs> |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
15 <param name="input" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="Sort the following @STD_BEDTOOLS_INPUT_LABEL@ file" /> |
| 8 | 16 <param name="option" type="select" label="Sort by"> |
| 17 <!-- sort -k 1,1 -k2,2 -n a.bed --> | |
| 18 <option value="">chromosome, then by start position (asc)</option> | |
| 19 <option value="-sizeA">feature size in ascending order.</option> | |
| 20 <option value="-sizeD">feature size in descending order.</option> | |
| 21 <option value="-chrThenSizeA">chromosome, then by feature size (asc).</option> | |
| 22 <option value="-chrThenSizeD">chromosome, then by feature size (desc).</option> | |
| 23 <option value="-chrThenScoreA">chromosome, then by score (asc).</option> | |
| 24 <option value="-chrThenScoreD">chromosome, then by score (desc).</option> | |
| 25 </param> | |
| 26 </inputs> | |
| 27 <outputs> | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
28 <data name="output" format_source="input" metadata_source="input" label="SortBed on ${input.name}"/> |
| 8 | 29 </outputs> |
| 30 <tests> | |
| 31 <test> | |
| 32 <param name="input" value="sortBed1.bed" ftype="bed" /> | |
| 33 <param name="option" value="" /> | |
| 34 <output name="output" file="sortBed_result1.bed" ftype="bed" /> | |
| 35 </test> | |
| 36 </tests> | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
37 <help><![CDATA[ |
| 8 | 38 **What it does** |
| 39 | |
| 40 Sorts a feature file by chromosome and other criteria. | |
| 41 | |
| 42 | |
| 43 .. class:: warningmark | |
| 44 | |
| 45 It should be noted that sortBed is merely a convenience utility, as the UNIX sort utility | |
| 46 will sort BED files more quickly while using less memory. For example, UNIX sort will sort a BED file | |
| 47 by chromosome then by start position in the following manner: sort -k 1,1 -k2,2 -n a.bed | |
| 48 | |
| 49 @REFERENCES@ | |
|
50
df28283b3778
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
48
diff
changeset
|
50 ]]></help> |
| 8 | 51 <expand macro="citations" /> |
| 52 </tool> |
