Mercurial > repos > iuc > bedtools
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 |
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 | 3 <macros> |
4 <import>macros.xml</import> | |
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 | 7 <expand macro="requirements" /> |
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 | 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 | 18 <param name="option" type="select" label="Sort by"> |
19 <!-- sort -k 1,1 -k2,2 -n a.bed --> | |
20 <option value="">chromosome, then by start position (asc)</option> | |
21 <option value="-sizeA">feature size in ascending order.</option> | |
22 <option value="-sizeD">feature size in descending order.</option> | |
23 <option value="-chrThenSizeA">chromosome, then by feature size (asc).</option> | |
24 <option value="-chrThenSizeD">chromosome, then by feature size (desc).</option> | |
25 <option value="-chrThenScoreA">chromosome, then by score (asc).</option> | |
26 <option value="-chrThenScoreD">chromosome, then by score (desc).</option> | |
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 | 29 </inputs> |
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 | 32 </outputs> |
1 | 33 <tests> |
34 <test> | |
35 <param name="input" value="sortBed1.bed" ftype="bed" /> | |
36 <param name="option" value="" /> | |
37 <output name="output" file="sortBed_result1.bed" ftype="bed" /> | |
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 | 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 | 55 **What it does** |
56 | |
57 Sorts a feature file by chromosome and other criteria. | |
58 | |
59 | |
60 .. class:: warningmark | |
61 | |
62 It should be noted that sortBed is merely a convenience utility, as the UNIX sort utility | |
63 will sort BED files more quickly while using less memory. For example, UNIX sort will sort a BED file | |
64 by chromosome then by start position in the following manner: sort -k 1,1 -k2,2 -n a.bed | |
65 | |
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 | 68 <expand macro="citations" /> |
69 </tool> |