annotate flankBed.xml @ 31:e19bebe96cd2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 39701b6cbb7a45ec45f1545648b73a6b8ed3e184
author iuc
date Tue, 20 Nov 2018 10:34:42 -0500
parents db1841942d2b
children 4f7a5ccd2ae9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
a8eabd2838f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 542ddc9e98cee5cc2a9e4caae945dee4b2c747b8
iuc
parents: 17
diff changeset
1 <tool id="bedtools_flankbed" name="FlankBed" version="@WRAPPER_VERSION@.0">
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
diff changeset
2 <description>create new intervals from the flanks of existing intervals</description>
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
3 <macros>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
4 <import>macros.xml</import>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
5 </macros>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
6 <expand macro="requirements" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
7 <expand macro="stdio" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
8 <command>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
9 <![CDATA[
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
10 flankBed
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
11 $pct
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
12 $strand
17
44867b59dbf2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents: 11
diff changeset
13 -g @GENOME_FILE@
11
7308cc546a36 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents: 4
diff changeset
14 -i '$input'
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
15
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
16 #if $addition.addition_select == 'b':
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
17 -b $addition.b
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
18 #else:
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
19 -l $addition.l
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
20 -r $addition.r
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
21 #end if
11
7308cc546a36 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 19967671ddd4e750f53d71274e5c12325a402811
iuc
parents: 4
diff changeset
22 > '$output'
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
23 ]]>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
24 </command>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
25 <inputs>
26
95a3b2c25bd1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b75b9e79cf3186a22dc2e1e9d27c1a080b891b59
iuc
parents: 19
diff changeset
26 <param format="@STD_BEDTOOLS_INPUTS@" name="input" type="data" label="@STD_BEDTOOLS_INPUT_LABEL@ file"/>
17
44867b59dbf2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents: 11
diff changeset
27 <expand macro="input_conditional_genome_file" />
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
28 <param name="pct" type="boolean" checked="false" truevalue="-pct" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
29 label="Define -l and -r as a fraction of the feature’s length"
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
diff changeset
30 help="E.g. if used on a 1000bp feature, -l 0.50, will add 500 bp “upstream”. (-pct)" />
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
31 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
32 label="Define -l and -r based on strand"
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
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)" />
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
34 <expand macro="addition" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
35 </inputs>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
36 <outputs>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
37 <data metadata_source="input" format_source="input" name="output" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
38 </outputs>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
39 <tests>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
40 <test>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
41 <param name="input" value="a.bed" ftype="bed" />
17
44867b59dbf2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents: 11
diff changeset
42 <param name="genome_file_opts_selector" value="hist" />
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
43 <param name="genome" value="mm9_chr1.len"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
44 <param name="addition_select" value="b"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
45 <param name="b" value="5"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
46 <output name="output" file="flankBed_result1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
47 </test>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
48 <test>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
49 <param name="input" value="a.bed" ftype="bed" />
17
44867b59dbf2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit cf7a3674bc833bbd5fdd2ad02e724935ffc7a174
iuc
parents: 11
diff changeset
50 <param name="genome_file_opts_selector" value="hist" />
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
51 <param name="genome" value="mm9_chr1.len"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
52 <param name="addition_select" value="lr"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
53 <param name="l" value="2"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
54 <param name="r" value="3"/>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
55 <output name="output" file="flankBed_result2.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
56 </test>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
57 </tests>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
58 <help>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
59 <![CDATA[
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
60 **What it does**
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
61
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
62 bedtools flank will optionally create flanking intervals whose size is user-specified fraction of the original interval.
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
63
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
64 .. image:: $PATH_TO_IMAGES/flank-glyph.png
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
65
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
66 .. class:: warningmark
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
67
30
db1841942d2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b67e138b17f7e8cb34f59bed0925f691ec9740f3
iuc
parents: 26
diff changeset
68 In order to prevent creating intervals that violate chromosome boundaries, bedTools flank requires a bedTool genome file defining the length of each chromosome or contig. . This should be a two column tabular file with the chromosome name in the first column and the END coordinate of the chromosome in the second column.
db1841942d2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b67e138b17f7e8cb34f59bed0925f691ec9740f3
iuc
parents: 26
diff changeset
69
db1841942d2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b67e138b17f7e8cb34f59bed0925f691ec9740f3
iuc
parents: 26
diff changeset
70 If you need this data for any genome that is at UCSC (http://genome.ucsc.edu), it can be extracted from the Table Browser with the "Get Data: UCSC Main" tool. Set "group" to "All Tables", "table" to "chromInfo", and "output format" to "all fields from selected table".
db1841942d2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b67e138b17f7e8cb34f59bed0925f691ec9740f3
iuc
parents: 26
diff changeset
71
db1841942d2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit b67e138b17f7e8cb34f59bed0925f691ec9740f3
iuc
parents: 26
diff changeset
72
1
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
73
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
74 @REFERENCES@
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
75 ]]>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
76 </help>
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
77 <expand macro="citations" />
82aac94b06c3 Uploaded
iuc
parents:
diff changeset
78 </tool>