annotate sortBed.xml @ 1:82aac94b06c3 draft

Uploaded
author iuc
date Thu, 08 Jan 2015 14:25:51 -0500
parents b8348686a0b9
children 607c0576c6ab
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="bedtools_sortbed" name="Sort BED files" version="@WRAPPER_VERSION@.0">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
2 <description></description>
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" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <command>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
9 <![CDATA[
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
10 sortBed
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
11 -i $input
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
12 $option
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
13 > $output
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
14 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 <inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 <param format="bed" name="input" type="data" label="Sort the following BED file"/>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
18 <param name="option" type="select" label="Sort by">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 <!-- sort -k 1,1 -k2,2 -n a.bed -->
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 <option value="">chromosome, then by start position (asc)</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 <option value="-sizeA">feature size in ascending order.</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22 <option value="-sizeD">feature size in descending order.</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 <option value="-chrThenSizeA">chromosome, then by feature size (asc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 <option value="-chrThenSizeD">chromosome, then by feature size (desc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 <option value="-chrThenScoreA">chromosome, then by score (asc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
26 <option value="-chrThenScoreD">chromosome, then by score (desc).</option>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
27 </param>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
28 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 <outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 <data format="bed" name="output" metadata_source="input" label="${input.name} (as BED)"/>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
32 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
33 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
34 <param name="input" value="sortBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
35 <param name="option" value="" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
36 <output name="output" file="sortBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
37 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
38 </tests>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39 <help>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
40 <![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
41 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
42
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
43 Sorts a feature file by chromosome and other criteria.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
46 .. class:: warningmark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
47
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
48 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
49 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
50 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
51
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
52 @REFERENCES@
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
53 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
54 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
55 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
56 </tool>