annotate sortBed.xml @ 35:b28e0cfa7ba1 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit fe3f54a0d3edb83fcf6752e3b1524c582b4febd5"
author iuc
date Fri, 06 Sep 2019 14:29:59 -0400
parents dde39ba9c031
children ce3c7f062223
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
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
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
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
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 <param name="option" type="select" label="Sort by">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 <!-- sort -k 1,1 -k2,2 -n a.bed -->
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
18 <option value="">chromosome, then by start position (asc)</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 <option value="-sizeA">feature size in ascending order.</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 <option value="-sizeD">feature size in descending order.</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 <option value="-chrThenSizeA">chromosome, then by feature size (asc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22 <option value="-chrThenSizeD">chromosome, then by feature size (desc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 <option value="-chrThenScoreA">chromosome, then by score (asc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 <option value="-chrThenScoreD">chromosome, then by score (desc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
26 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
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
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
30 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
31 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
32 <param name="input" value="sortBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
33 <param name="option" value="" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
34 <output name="output" file="sortBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
35 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
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
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 Sorts a feature file by chromosome and other criteria.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
41
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
42
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
43 .. class:: warningmark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45 It should be noted that sortBed is merely a convenience utility, as the UNIX sort utility
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
46 will sort BED files more quickly while using less memory. For example, UNIX sort will sort a BED file
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47 by chromosome then by start position in the following manner: sort -k 1,1 -k2,2 -n a.bed
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
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
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
51 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
52 </tool>