annotate flankbed.xml @ 6:75d323631dce draft

Uploaded
author bernhardlutz
date Wed, 18 Jun 2014 12:40:28 -0400
parents b78d20957e7f
children 1e2f23214cf4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
1 <tool id="bedtools_flankbed" name="FlankBed" version="0.2.0">
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
2 <description></description>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
3 <macros>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
4 <import>macros.xml</import>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
5 </macros>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
6 <expand macro="requirements" />
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
7 <expand macro="stdio" />
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
8 <command>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
9 flankBed
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
10 $pct
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
11 $strand
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
12 -g $genome
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
13 -i $inputA
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
14 &gt; $output
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
15 #if addition.addition_select = 'b':
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
16 -b $b
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
17 #else:
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
18 -l $l
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
19 -r $r
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
20 #end if
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
21 </command>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
22 <inputs>
6
75d323631dce Uploaded
bernhardlutz
parents: 5
diff changeset
23 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/>
5
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
24 <expand macro="genome" />
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
25 <param name="pct" type="boolean" checked="false" truevalue="-pct" falsevalue="" label="Define -l and -r as a fraction of the feature’s length" help="E.g. if used on a 1000bp feature, -l 0.50, will add 500 bp “upstream”" />
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
26 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" label="Define -l and -r based on strand" help="For example. if used, -l 500 for a negative-stranded feature, it will add 500 bp to the end coordinate" />
6
75d323631dce Uploaded
bernhardlutz
parents: 5
diff changeset
27 <expand macro="conditional" />
5
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
28
6
75d323631dce Uploaded
bernhardlutz
parents: 5
diff changeset
29
5
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
30 </inputs>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
31 <outputs>
6
75d323631dce Uploaded
bernhardlutz
parents: 5
diff changeset
32 <data format="bed" name="output" label=""/>
5
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
33 </outputs>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
34 <help>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
35
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
36 **What it does**
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
37
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
38 bedtools flank will optionally create flanking intervals whose size is user-specified fraction of the original interval.
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
39
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
40 .. image:: $PATH_TO_IMAGES/flank-glyph.png
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
41
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
42 .. class:: warningmark
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
43
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
44 In order to prevent creating intervals that violate chromosome boundaries, bedtools flank requires a genome file defining the length of each chromosome or contig.
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
45
6
75d323631dce Uploaded
bernhardlutz
parents: 5
diff changeset
46 @REFERENCES@
5
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
47 </help>
b78d20957e7f Uploaded
bernhardlutz
parents:
diff changeset
48 </tool>