Mercurial > repos > iuc > bedtools
annotate macros.xml @ 41:c96688f1746d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit ee522a02a3fab980a5b32a1387182c951ab04968
author | iuc |
---|---|
date | Fri, 20 Apr 2018 05:30:04 -0400 |
parents | ac2040a5e6ff |
children | d279800f4ff9 |
rev | line source |
---|---|
8 | 1 <macros> |
2 <xml name="requirements"> | |
3 <requirements> | |
35
ac2040a5e6ff
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents:
32
diff
changeset
|
4 <requirement type="package" version="2.27.0">bedtools</requirement> |
8 | 5 <yield/> |
6 </requirements> | |
7 </xml> | |
35
ac2040a5e6ff
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents:
32
diff
changeset
|
8 <token name="@WRAPPER_VERSION@">2.27.0</token> |
8 | 9 <xml name="stdio"> |
10 <stdio> | |
11 <!-- Anything other than zero is an error --> | |
12 <exit_code range="1:" /> | |
13 <exit_code range=":-1" /> | |
14 <!-- In case the return code has not been set propery check stderr too --> | |
15 <regex match="Error:" /> | |
16 <regex match="Exception:" /> | |
17 </stdio> | |
12
542d2008a462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
8
diff
changeset
|
18 <version_command>bedtools --version</version_command> |
8 | 19 </xml> |
20 <xml name="reciprocal"> | |
21 <param name="reciprocal" type="boolean" checked="false" truevalue="-r" falsevalue="" | |
22 label="Require that the fraction of overlap be reciprocal for A and B" | |
23 help="In other words, if -f is 0.90 and -r is used, this requires that B overlap at least 90% of A and that A also overlaps at least 90% of B. (-r)" /> | |
24 </xml> | |
25 <xml name="overlap"> | |
26 <param name="overlap" type="float" value="0.000000001" label="Minimum overlap required as a fraction of A" help="Default is 1E-9, i.e. 1bp. (-f)"/> | |
27 </xml> | |
28 <xml name="strand2"> | |
29 <param name="strand" type="select" label="Calculation based on strandedness?"> | |
30 <option value="" selected="True">Overlaps on either strand</option> | |
31 <option value="-s">Only overlaps occurring on the **same** strand.</option> | |
32 <option value="-S">Only overlaps occurring on the **opposite** strand.</option> | |
33 </param> | |
34 </xml> | |
35 <xml name="seed"> | |
36 <conditional name="seed"> | |
37 <param name="seed_choose" type="select" label="Choose Seed?" help="(-seed)"> | |
38 <option value="False" selected="True">Random Shuffling</option> | |
39 <option value="True">Choose fixed seed</option> | |
40 </param> | |
41 <when value="True"> | |
42 <param name="seed" type="integer" value="12345" label="Enter Seed" /> | |
43 </when> | |
44 <when value="False" /> | |
45 </conditional> | |
46 </xml> | |
47 <xml name="split"> | |
12
542d2008a462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
8
diff
changeset
|
48 <param name="split" type="boolean" checked="false" truevalue="-split" falsevalue="" |
542d2008a462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
8
diff
changeset
|
49 label="Treat split/spliced BAM or BED12 entries as distinct BED intervals when computing coverage." |
8 | 50 help="If set, the coverage will be calculated based the spliced intervals only. For BAM files, this inspects the CIGAR N operation to infer the blocks for computing coverage. For BED12 files, this inspects the BlockCount, BlockStarts, and BlockEnds fields (i.e., columns 10,11,12). If this option is not set, coverage will be calculated based on the interval's START/END coordinates, and would include introns in the case of RNAseq data. (-split)" /> |
51 </xml> | |
32
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
52 <xml name="input_conditional_genome_file"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
53 <conditional name="genome_file_opts"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
54 <param name="genome_file_opts_selector" type="select" label="Genome file"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
55 <option value="loc" selected="True">Locally installed Genome file</option> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
56 <option value="hist">Genome file from your history</option> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
57 </param> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
58 <when value="loc"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
59 <param name="genome" type="select" multiple="false" label="Genome file"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
60 <options from_data_table="__dbkeys__" /> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
61 </param> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
62 </when> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
63 <when value="hist"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
64 <param name="genome" type="data" format="tabular" label="Genome file" /> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
65 </when> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
66 </conditional> |
8 | 67 </xml> |
32
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
68 <token name="@GENOME_FILE@"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
69 #if $genome_file_opts.genome_file_opts_selector == "loc": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
70 '$genome_file_opts.genome.fields.len_path' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
71 #elif $genome_file_opts.genome_file_opts_selector == "hist": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
72 '$genome_file_opts.genome' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
73 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
74 </token> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
75 <token name="@GENOME_FILE_MAPBED@"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
76 #if $genome.genome_choose == "-g": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
77 #if $genome.genome_file_opts.genome_file_opts_selector == "loc": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
78 -g '$genome.genome_file_opts.genome.fields.len_path' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
79 #elif $genome.genome_file_opts.genome_file_opts_selector == "hist": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
80 -g '$genome.genome_file_opts.genome' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
81 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
82 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
83 </token> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
84 <token name="@GENOME_FILE_MAKEWINDOWS@"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
85 #if $type.type_select == "genome": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
86 #if $type.genome_file_opts.genome_file_opts_selector == "loc": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
87 -g '$type.genome_file_opts.genome.fields.len_path' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
88 #elif $type.genome_file_opts.genome_file_opts_selector == "hist": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
89 -g '$type.genome_file_opts.genome' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
90 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
91 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
92 </token> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
93 <token name="@GENOME_FILE_UNION@"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
94 #if $empty.empty_selector == "-empty": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
95 #if $empty.genome_file_opts.genome_file_opts_selector == "loc": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
96 -g '$empty.genome_file_opts.genome.fields.len_path' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
97 #elif $empty.genome_file_opts.genome_file_opts_selector == "hist": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
98 -g '$empty.genome_file_opts.genome' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
99 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
100 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
101 </token> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
102 <token name="@GENOME_FILE_COVERAGE@"> |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
103 #if $input_type.input_type_select == "bed": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
104 -i '$input_type.input' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
105 #if $input_type.genome_file_opts.genome_file_opts_selector == "loc": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
106 -g '$input_type.genome_file_opts.genome.fields.len_path' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
107 #elif $input_type.genome_file_opts.genome_file_opts_selector == "hist": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
108 -g '$input_type.genome_file_opts.genome' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
109 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
110 #elif $input_type.input_type_select == "bam": |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
111 -ibam '$input_type.input' |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
112 #end if |
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
29
diff
changeset
|
113 </token> |
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
114 <xml name="closest_D_option"> |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
115 <param name="iu" type="boolean" checked="false" truevalue="-iu" falsevalue="" |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
116 label="Ignore features in B that are upstream of features in A" |
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
117 help="This option requires -D and follows its orientation rules for determining what is 'upstream'. (-iu)" /> |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
118 |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
119 <param name="id" type="boolean" checked="false" truevalue="-id" falsevalue="" |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
120 label="Ignore features in B that are downstream of features in A" |
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
121 help="This option requires -D and follows its orientation rules for determining what is 'downstream'. (-id)" /> |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
122 |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
123 <param name="fu" type="boolean" checked="false" truevalue="-fu" falsevalue="" |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
124 label="Choose first from features in B that are upstream of features in A" |
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
125 help="This option requires -D and follows its orientation rules for determining what is 'upstream'. (-fu)" /> |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
126 |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
127 <param name="fd" type="boolean" checked="false" truevalue="-fd" falsevalue="" |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
17
diff
changeset
|
128 label="Choose first from features in B that are downstream of features in A" |
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
129 help="This option requires -D and follows its orientation rules for determining what is 'downstream'. (-fd)" /> |
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
16
diff
changeset
|
130 </xml> |
8 | 131 <xml name="addition"> |
132 <conditional name="addition"> | |
133 <param name="addition_select" type="select" label="Choose what you want to do"> | |
134 <option value="b" selected="True">Increase the BED/GFF/VCF entry by the same number base pairs in each direction.</option> | |
135 <option value="lr">Increase by Start Coordinate and End Coordinate</option> | |
136 </param> | |
137 <when value="b"> | |
138 <param name="b" value="1" label="Number of base pairs" type="integer" /> | |
139 </when> | |
140 <when value="lr"> | |
141 <param name="l" type="integer" value="0" label="The number of base pairs to subtract from the start coordinate" /> | |
142 <param name="r" type="integer" value="0" label="The number of base pairs to add to the end coordinate" /> | |
143 </when> | |
144 </conditional> | |
145 </xml> | |
146 <xml name="print_header"> | |
147 <param name="header" type="boolean" checked="False" truevalue="-header" falsevalue="" | |
148 label="Print the header from the A file prior to results" help="(-header)" /> | |
149 </xml> | |
150 <!-- TODO this is currently not used, but we should make use of it --> | |
151 <xml name="genome_validator"> | |
152 <validator type="unspecified_build" /> | |
153 <validator type="dataset_metadata_in_data_table" table_name="fasta_indexes" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." /> | |
154 </xml> | |
155 | |
156 <!-- ToDo column_picker --> | |
157 <xml name="choose_columns"> | |
158 <param name="cols" type="text" value="" | |
159 label="Specify the column(s) that should be summarized" | |
160 help="comma separated (-c)"> | |
161 <sanitizer invalid_char=""> | |
162 <valid initial="string.digits"><add value=","/></valid> | |
163 </sanitizer> | |
164 </param> | |
165 </xml> | |
166 | |
167 <token name="@C_AND_O_ARGUMENT@"> | |
168 #set $col = list() | |
169 #set $op = list() | |
170 #for $item in $c_and_o_argument_repeat: | |
171 #silent $col.append( str($item.col) ) | |
172 #silent $op.append( str($item.operation) ) | |
173 #end for | |
174 #if $col: | |
175 -c #echo ','.join($col)# | |
176 -o #echo ','.join($op)# | |
177 #end if | |
178 </token> | |
179 | |
180 <xml name="c_and_o_argument"> | |
181 <repeat name="c_and_o_argument_repeat" title="Applying operations to columns from merged intervals" min="0"> | |
16
e30113df8cf6
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 7b8a4ffc823f4dab194f1c629b7e83277dbe4337
iuc
parents:
15
diff
changeset
|
182 <yield /> |
8 | 183 <expand macro="choose_operations"> |
184 <expand macro="math_options" /> | |
185 <expand macro="additional_math_options" /> | |
186 </expand> | |
187 </repeat> | |
188 </xml> | |
189 | |
190 <xml name="choose_operations"> | |
191 <param name="operation" type="select" label="Specify the operation"> | |
192 <yield /> | |
193 </param> | |
194 </xml> | |
195 | |
196 <xml name="math_options"> | |
197 <option value="sum" selected="True">Sum - numeric only</option> | |
198 <option value="min">Min - numeric only</option> | |
199 <option value="max">Max - numeric only</option> | |
200 <option value="absmin">AbsMin - numeric only</option> | |
201 <option value="absmax">AbsMax - numeric only</option> | |
202 <option value="mean">Mean - numeric only</option> | |
203 <option value="median">Median - numeric only</option> | |
204 <option value="mode">Mode - numeric only</option> | |
205 <option value="antimode">Antimode - numeric only</option> | |
206 <option value="collapse">collapse (i.e., print a comma separated list) - numeric or text</option> | |
207 </xml> | |
208 <xml name="additional_math_options"> | |
209 <option value="count">Count - numeric or text</option> | |
210 <option value="count_disctinct">Count Distinct - numeric or text</option> | |
211 <option value="distinct">distinct (i.e., print a comma separated list) - numeric or text</option> | |
212 <option value="concat">concat (i.e., print a comma separated list) - numeric or text</option> | |
213 </xml> | |
214 <token name="@REFERENCES@"> | |
215 <![CDATA[ | |
216 ------ | |
217 | |
218 This tool is part of the `bedtools package`_ from the `Quinlan laboratory`_. | |
219 | |
220 .. _bedtools package: https://github.com/arq5x/bedtools2 | |
28
f0aca67fdb71
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 391d2d41095edb2badf70924d3636238453ee377
iuc
parents:
26
diff
changeset
|
221 .. _Quinlan laboratory: http://quinlanlab.org |
8 | 222 |
223 | |
224 **Citation** | |
225 | |
226 If you use this tool in Galaxy, please cite: | |
227 | |
228 Bjoern A. Gruening (2014), `Galaxy wrapper <https://github.com/bgruening/galaxytools>`_ | |
229 ]]> | |
230 </token> | |
231 <xml name="citations"> | |
232 <citations> | |
233 <citation type="doi">10.1093/bioinformatics/btq033</citation> | |
234 <yield /> | |
235 </citations> | |
236 </xml> | |
237 </macros> |