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