Mercurial > repos > iuc > bedtools
annotate sortBed.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 | ce3c7f062223 |
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_sortbed" name="bedtools SortBED" 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>order the intervals</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 sortBed |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
10 -i '$input' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
11 $option |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
12 > '$output' |
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
13 ]]></command> |
0 | 14 <inputs> |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
15 <param name="input" argument="-i" type="data" format="@STD_BEDTOOLS_INPUTS@" label="Sort the following @STD_BEDTOOLS_INPUT_LABEL@ file" /> |
0 | 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> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
28 <data name="output" format_source="input" metadata_source="input" label="SortBed on ${input.name}"/> |
0 | 29 </outputs> |
1 | 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> | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
37 <help><![CDATA[ |
0 | 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@ | |
34
dde39ba9c031
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents:
32
diff
changeset
|
50 ]]></help> |
0 | 51 <expand macro="citations" /> |
52 </tool> |