annotate macros.xml @ 29:6bb3cd018203 draft

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