Mercurial > repos > iuc > bedtools
annotate flankBed.xml @ 38:3f852f713d24 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0346e504b5f0aa94215279203beb09b767ada32c
author | iuc |
---|---|
date | Sun, 21 Jan 2018 07:16:59 -0500 |
parents | ac2040a5e6ff |
children | d279800f4ff9 |
rev | line source |
---|---|
35
ac2040a5e6ff
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents:
32
diff
changeset
|
1 <tool id="bedtools_flankbed" name="FlankBed" version="@WRAPPER_VERSION@.0"> |
17
a2d4c30ba2f9
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 0887009a23d176b21536c9fd8a18c4fecc417d4f
iuc
parents:
4
diff
changeset
|
2 <description>create new intervals from the flanks of existing intervals</description> |
4 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <expand macro="stdio" /> | |
8 <command> | |
9 <![CDATA[ | |
10 flankBed | |
11 $pct | |
12 $strand | |
32
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
26
diff
changeset
|
13 -g @GENOME_FILE@ |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
18
diff
changeset
|
14 -i '$input' |
4 | 15 |
16 #if $addition.addition_select == 'b': | |
17 -b $addition.b | |
18 #else: | |
19 -l $addition.l | |
20 -r $addition.r | |
21 #end if | |
26
c0fbce5dc84a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents:
18
diff
changeset
|
22 > '$output' |
4 | 23 ]]> |
24 </command> | |
25 <inputs> | |
26 <param format="bed,vcf,gff,gff3" name="input" type="data" label="BED/VCF/GFF file"/> | |
32
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
26
diff
changeset
|
27 <expand macro="input_conditional_genome_file" /> |
4 | 28 <param name="pct" type="boolean" checked="false" truevalue="-pct" falsevalue="" |
29 label="Define -l and -r as a fraction of the feature’s length" | |
18
5efc48568d8d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit e5a5ad091c621348dc6ce2df861475ebc54a380e
iuc
parents:
17
diff
changeset
|
30 help="E.g. if used on a 1000bp feature, -l 0.50, will add 500 bp “upstream”. (-pct)" /> |
4 | 31 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" |
32 label="Define -l and -r based on strand" | |
18
5efc48568d8d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit e5a5ad091c621348dc6ce2df861475ebc54a380e
iuc
parents:
17
diff
changeset
|
33 help="For example. if used, -l 500 for a negative-stranded feature, it will add 500 bp to the end coordinate. (-s)" /> |
4 | 34 <expand macro="addition" /> |
35 </inputs> | |
36 <outputs> | |
37 <data metadata_source="input" format_source="input" name="output" /> | |
38 </outputs> | |
39 <tests> | |
40 <test> | |
41 <param name="input" value="a.bed" ftype="bed" /> | |
32
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
26
diff
changeset
|
42 <param name="genome_file_opts_selector" value="hist" /> |
4 | 43 <param name="genome" value="mm9_chr1.len"/> |
44 <param name="addition_select" value="b"/> | |
45 <param name="b" value="5"/> | |
46 <output name="output" file="flankBed_result1.bed" ftype="bed" /> | |
47 </test> | |
48 <test> | |
49 <param name="input" value="a.bed" ftype="bed" /> | |
32
b0d5e752c0c5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
iuc
parents:
26
diff
changeset
|
50 <param name="genome_file_opts_selector" value="hist" /> |
4 | 51 <param name="genome" value="mm9_chr1.len"/> |
52 <param name="addition_select" value="lr"/> | |
53 <param name="l" value="2"/> | |
54 <param name="r" value="3"/> | |
55 <output name="output" file="flankBed_result2.bed" ftype="bed" /> | |
56 </test> | |
57 </tests> | |
58 <help> | |
59 <![CDATA[ | |
60 **What it does** | |
61 | |
62 bedtools flank will optionally create flanking intervals whose size is user-specified fraction of the original interval. | |
63 | |
64 .. image:: $PATH_TO_IMAGES/flank-glyph.png | |
65 | |
66 .. class:: warningmark | |
67 | |
68 In order to prevent creating intervals that violate chromosome boundaries, bedtools flank requires a genome file defining the length of each chromosome or contig. | |
69 | |
70 @REFERENCES@ | |
71 ]]> | |
72 </help> | |
73 <expand macro="citations" /> | |
74 </tool> |