annotate sortBed.xml @ 46:64e2edfe7a2c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
author iuc
date Sat, 18 May 2024 23:28:38 +0000
parents 589e7e57fd6d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
64e2edfe7a2c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 3e7bf5ae62de3520635d75e3825701960b9722e4
iuc
parents: 44
diff changeset
1 <tool id="bedtools_sortbed" name="bedtools SortBED" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
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>
41
7ab85ac5f64b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 500a03281ea704abc7a16d9af63d67dbdcc5cd0b"
iuc
parents: 39
diff changeset
6 <expand macro="bio_tools" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <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
9 <command><![CDATA[
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
10 sortBed
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
11 -i '$input'
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
12 $option
43
07e8b80f278c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents: 41
diff changeset
13 @GENOME_FILE@
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
14 > '$output'
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
15 ]]></command>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 <inputs>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
17 <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
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>
44
589e7e57fd6d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 03a91f6c42c75dc36d09505c2e6a2236178e4695
iuc
parents: 43
diff changeset
28 <expand macro="input_conditional_genome_file" optional="true" help="Sort according to the chromosomes declared in a genome file" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 <outputs>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
31 <data name="output" format_source="input" metadata_source="input" label="SortBed on ${input.name}"/>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
33 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
34 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
35 <param name="input" value="sortBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
36 <param name="option" value="" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
37 <output name="output" file="sortBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
38 </test>
37
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
39 <test>
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
40 <param name="input" value="sortBed2.bed" ftype="bed" />
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
41 <param name="option" value="" />
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
42 <output name="output" file="sortBed_result2.bed" ftype="bed" />
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
43 </test>
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
44 <test>
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
45 <param name="input" value="sortBed2.bed" ftype="bed" />
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
46 <param name="option" value="" />
43
07e8b80f278c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents: 41
diff changeset
47 <conditional name="genome_file_opts">
07e8b80f278c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents: 41
diff changeset
48 <param name="genome_file_opts_selector" value="hist" />
07e8b80f278c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents: 41
diff changeset
49 <param name="genome" value="mm9.len" ftype="bed" />
07e8b80f278c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit db0b91a784ca0c216345bc488d7d488babf1b53f"
iuc
parents: 41
diff changeset
50 </conditional>
37
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
51 <output name="output" file="sortBed_result3.bed" ftype="bed" />
ce3c7f062223 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 8e072170dd8f7b68fabbf29b1b0d7d14974b8b22"
iuc
parents: 34
diff changeset
52 </test>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
53 </tests>
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
54 <help><![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
55 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
56
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
57 Sorts a feature file by chromosome and other criteria.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
58
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
59
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
60 .. class:: warningmark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
61
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
62 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
63 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
64 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
65
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
66 @REFERENCES@
34
dde39ba9c031 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b68002321ade5e160c556517a98ffb70f068be95
iuc
parents: 32
diff changeset
67 ]]></help>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
68 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
69 </tool>