Mercurial > repos > iuc > bedtools
comparison slopBed.xml @ 32:b0d5e752c0c5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit a78ca56350b1fcf9d7de2a1112155c9bd0844348
| author | iuc |
|---|---|
| date | Tue, 05 Sep 2017 09:51:56 -0400 |
| parents | c0fbce5dc84a |
| children | ac2040a5e6ff |
comparison
equal
deleted
inserted
replaced
| 31:cb98f29aa1dc | 32:b0d5e752c0c5 |
|---|---|
| 1 <tool id="bedtools_slopbed" name="SlopBed" version="@WRAPPER_VERSION@.0"> | 1 <tool id="bedtools_slopbed" name="SlopBed" version="@WRAPPER_VERSION@.1"> |
| 2 <description>adjust the size of intervals</description> | 2 <description>adjust the size of intervals</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 <expand macro="requirements" /> | 6 <expand macro="requirements" /> |
| 8 <command> | 8 <command> |
| 9 <![CDATA[ | 9 <![CDATA[ |
| 10 bedtools slop | 10 bedtools slop |
| 11 $pct | 11 $pct |
| 12 $strand | 12 $strand |
| 13 -g '$genome' | 13 -g @GENOME_FILE@ |
| 14 -i '$inputA' | 14 -i '$inputA' |
| 15 #if $addition.addition_select == 'b': | 15 #if $addition.addition_select == 'b': |
| 16 -b $addition.b | 16 -b $addition.b |
| 17 #else: | 17 #else: |
| 18 -l $addition.l | 18 -l $addition.l |
| 22 > '$output' | 22 > '$output' |
| 23 ]]> | 23 ]]> |
| 24 </command> | 24 </command> |
| 25 <inputs> | 25 <inputs> |
| 26 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/> | 26 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file"/> |
| 27 <expand macro="genome" /> | 27 <expand macro="input_conditional_genome_file" /> |
| 28 <param name="pct" type="boolean" checked="false" truevalue="-pct" falsevalue="" | 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" | 29 label="Define -l and -r as a fraction of the feature’s length" |
| 30 help="E.g. if used on a 1000bp feature, -l 0.50, will add 500 bp “upstream”" /> | 30 help="E.g. if used on a 1000bp feature, -l 0.50, will add 500 bp “upstream”" /> |
| 31 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" | 31 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" |
| 32 label="Define -l and -r based on strand" | 32 label="Define -l and -r based on strand" |
| 38 <data format="bed" name="output"/> | 38 <data format="bed" name="output"/> |
| 39 </outputs> | 39 </outputs> |
| 40 <tests> | 40 <tests> |
| 41 <test> | 41 <test> |
| 42 <param name="inputA" value="a.bed" ftype="bed" /> | 42 <param name="inputA" value="a.bed" ftype="bed" /> |
| 43 <param name="genome_file_opts_selector" value="hist" /> | |
| 43 <param name="genome" value="mm9_chr1.len" ftype="bed" /> | 44 <param name="genome" value="mm9_chr1.len" ftype="bed" /> |
| 44 <param name="addition_select" value="b" /> | 45 <param name="addition_select" value="b" /> |
| 45 <param name="b" value="5" /> | 46 <param name="b" value="5" /> |
| 46 <output name="output" file="slopBed_result1.bed" ftype="bed" /> | 47 <output name="output" file="slopBed_result1.bed" ftype="bed" /> |
| 47 </test> | 48 </test> |
| 48 <test> | 49 <test> |
| 49 <param name="inputA" value="a.bed" ftype="bed" /> | 50 <param name="inputA" value="a.bed" ftype="bed" /> |
| 51 <param name="genome_file_opts_selector" value="hist" /> | |
| 50 <param name="genome" value="mm9_chr1.len" ftype="bed" /> | 52 <param name="genome" value="mm9_chr1.len" ftype="bed" /> |
| 51 <param name="addition_select" value="lr" /> | 53 <param name="addition_select" value="lr" /> |
| 52 <param name="l" value="2" /> | 54 <param name="l" value="2" /> |
| 53 <param name="r" value="3" /> | 55 <param name="r" value="3" /> |
| 54 <output name="output" file="slopBed_result2.bed" ftype="bed" /> | 56 <output name="output" file="slopBed_result2.bed" ftype="bed" /> |
