annotate macros.xml @ 11:e526617a6bb9 draft

Uploaded
author bernhardlutz
date Wed, 18 Jun 2014 15:07:04 -0400
parents
children c782e0edc4f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
1 <macros>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
2 <xml name="stdio">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
3 <stdio>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
4 <!-- Anything other than zero is an error -->
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
5 <exit_code range="1:" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
6 <exit_code range=":-1" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
7 <!-- In case the return code has not been set propery check stderr too -->
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
8 <regex match="Error:" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
9 <regex match="Exception:" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
10 </stdio>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
11 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
12
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
13 <xml name="overlap">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
14 <param name="overlap" type="float" value="0.000000001" label="Minimum overlap required as a fraction of A" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
15 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
16 <xml name="strand2">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
17 <param name="strand" type="select" label="Calculation based on strandedness?">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
18 <option value="" selected="True">Overlaps on either strand</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
19 <option value="-s">Only overlaps occurring on the **same** strand.</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
20 <option value="-S">Only overlaps occurring on the **opposite** strand.</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
21 </param>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
22 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
23 <xml name="seed">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
24 <conditional name="seed">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
25 <param name="choose" type="boolean" label="Choose Seed?" selected="False" truevalue="True" falsevalue="False" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
26 <when value="True">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
27 <param name="seed" type="integer" value="12345" label="Enter Seed" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
28 </when>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
29 </conditional>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
30 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
31 <xml name="split">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
32 <param name="split" type="boolean" checked="true" truevalue="-split" falsevalue="" label="Treat split/spliced BAM or BED12 entries as distinct BED intervals when computing coverage." 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." />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
33
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
34 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
35 <xml name="requirements">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
36 <requirements>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
37 <requirement type="package" version="2.19.1">bedtools</requirement>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
38 </requirements>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
39 <version_command>bedtools --version</version_command>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
40 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
41 <xml name="genome">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
42 <param format="bed,vcf,gff,gff3" name="genome" type="data" label="Genome file" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
43 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
44 <xml name="addition">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
45 <conditional name="addition">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
46 <param name="addition_select" type="select" label="Choose what you want to do">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
47 <option value="b" selected="True">Increase the BED/GFF/VCF entry by the same number base pairs in each direction.</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
48 <option value="lr">Increase by Start Coordinate and End Coordinate</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
49 </param>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
50 <when value="b">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
51 <param name="b" label="Give Value" type="integer" value="0" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
52 </when>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
53 <when value="lr">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
54 <param name="l" label="The number of base pairs to subtract from the start coordinate" type="integer" value="0" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
55 <param name="r" label="The number of base pairs to add to the end coordinate" type="integer" value="0" />
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
56 </when>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
57 </conditional>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
58 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
59 <xml name="math_options">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
60 <option value="min">Min - numeric only</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
61 <option value="max">Max - numeric only</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
62 <option value="mean">Mean - numeric only</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
63 <option value="median">Median - numeric only</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
64 <option value="mode">Mode - numeric only</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
65 <option value="antimode">Antimode - numeric only</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
66 <option value="collapse">collapse (i.e., print a comma separated list) - numeric or text</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
67 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
68 <xml name="additional_math_options">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
69 <option value="count">Count - numeric or text</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
70 <option value="count_disctinct">Count Distinct - numeric or text</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
71 <option value="distinct">distinct (i.e., print a comma separated list) - numeric or text</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
72 <option value="concat">concat (i.e., print a comma separated list) - numeric or text</option>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
73 </xml>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
74
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
75
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
76
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
77 <token name="@REFERENCES@">
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
78 ------
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
79
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
80 This tool is part of the `bedtools package`__ from the `Quinlan laboratory`__.
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
81 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.`__
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
82
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
83 .. __: https://github.com/arq5x/bedtools2
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
84 .. __: http://cphg.virginia.edu/quinlan/
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
85 .. __: http://bioinformatics.oxfordjournals.org/content/26/6/841.short
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
86 .. __: http://bedtools.readthedocs.org/en/latest/content/bedtools-suite.html
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
87 </token>
e526617a6bb9 Uploaded
bernhardlutz
parents:
diff changeset
88 </macros>