11
|
1 <macros>
|
12
|
2 <xml name="requirements">
|
|
3 <requirements>
|
|
4 <requirement type="package" version="2.19.1">bedtools</requirement>
|
|
5 </requirements>
|
|
6 <version_command>bedtools --version</version_command>
|
|
7 </xml>
|
|
8 <token name="@WRAPPER_VERSION@">2.19</token>
|
11
|
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>
|
|
18 </xml>
|
|
19
|
|
20 <xml name="overlap">
|
|
21 <param name="overlap" type="float" value="0.000000001" label="Minimum overlap required as a fraction of A" />
|
|
22 </xml>
|
|
23 <xml name="strand2">
|
|
24 <param name="strand" type="select" label="Calculation based on strandedness?">
|
|
25 <option value="" selected="True">Overlaps on either strand</option>
|
|
26 <option value="-s">Only overlaps occurring on the **same** strand.</option>
|
|
27 <option value="-S">Only overlaps occurring on the **opposite** strand.</option>
|
|
28 </param>
|
|
29 </xml>
|
|
30 <xml name="seed">
|
|
31 <conditional name="seed">
|
|
32 <param name="choose" type="boolean" label="Choose Seed?" selected="False" truevalue="True" falsevalue="False" />
|
|
33 <when value="True">
|
|
34 <param name="seed" type="integer" value="12345" label="Enter Seed" />
|
|
35 </when>
|
|
36 </conditional>
|
|
37 </xml>
|
|
38 <xml name="split">
|
12
|
39 <param name="split" type="boolean" checked="true" truevalue="-split" falsevalue=""
|
|
40 label="Treat split/spliced BAM or BED12 entries as distinct BED intervals when computing coverage."
|
|
41 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." />
|
11
|
42 </xml>
|
|
43 <xml name="genome">
|
|
44 <param format="bed,vcf,gff,gff3" name="genome" type="data" label="Genome file" />
|
|
45 </xml>
|
|
46 <xml name="addition">
|
|
47 <conditional name="addition">
|
|
48 <param name="addition_select" type="select" label="Choose what you want to do">
|
|
49 <option value="b" selected="True">Increase the BED/GFF/VCF entry by the same number base pairs in each direction.</option>
|
|
50 <option value="lr">Increase by Start Coordinate and End Coordinate</option>
|
|
51 </param>
|
|
52 <when value="b">
|
|
53 <param name="b" label="Give Value" type="integer" value="0" />
|
|
54 </when>
|
|
55 <when value="lr">
|
12
|
56 <param name="l" label="The number of base pairs to subtract from the start coordinate" type="integer" value="0" />
|
|
57 <param name="r" label="The number of base pairs to add to the end coordinate" type="integer" value="0" />
|
11
|
58 </when>
|
|
59 </conditional>
|
|
60 </xml>
|
|
61 <xml name="math_options">
|
|
62 <option value="min">Min - numeric only</option>
|
|
63 <option value="max">Max - numeric only</option>
|
|
64 <option value="mean">Mean - numeric only</option>
|
|
65 <option value="median">Median - numeric only</option>
|
|
66 <option value="mode">Mode - numeric only</option>
|
|
67 <option value="antimode">Antimode - numeric only</option>
|
|
68 <option value="collapse">collapse (i.e., print a comma separated list) - numeric or text</option>
|
|
69 </xml>
|
|
70 <xml name="additional_math_options">
|
|
71 <option value="count">Count - numeric or text</option>
|
|
72 <option value="count_disctinct">Count Distinct - numeric or text</option>
|
|
73 <option value="distinct">distinct (i.e., print a comma separated list) - numeric or text</option>
|
|
74 <option value="concat">concat (i.e., print a comma separated list) - numeric or text</option>
|
|
75 </xml>
|
|
76 <token name="@REFERENCES@">
|
|
77 ------
|
|
78
|
|
79 This tool is part of the `bedtools package`__ from the `Quinlan laboratory`__.
|
|
80 If you use this tool, please cite `Quinlan AR, and Hall I.M. BEDTools: A flexible framework for comparing genomic features. Bioinformatics, 2010, 26, 6.`__
|
|
81
|
|
82 .. __: https://github.com/arq5x/bedtools2
|
|
83 .. __: http://cphg.virginia.edu/quinlan/
|
|
84 .. __: http://bioinformatics.oxfordjournals.org/content/26/6/841.short
|
|
85 .. __: http://bedtools.readthedocs.org/en/latest/content/bedtools-suite.html
|
|
86 </token>
|
|
87 </macros>
|