comparison bigwig_to_wig.xml @ 0:ee2fbee916f7 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/bigwig_to_wig commit 5baa8e0a6a2bf65e58972c19b636ff4789c25b56
author artbio
date Tue, 25 Sep 2018 17:41:20 -0400
parents
children ac8ea1ca115d
comparison
equal deleted inserted replaced
-1:000000000000 0:ee2fbee916f7
1 <tool id="bigwig_to_wig" name="BigWig to Wig" version="2.0.0">
2 <description>converter</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <stdio>
8 <exit_code range="1:" level="fatal" description="Tool exception" />
9 </stdio>
10 <command detect_errors="exit_code"><![CDATA[
11 sh $__tool_directory__/bigwig_to_wig.sh -f $input -b $bin_size -l $mylab > $output
12 ]]></command>
13 <inputs>
14 <param name="input" format="bigwig" type="data" label="BigWig file to convert" />
15 <param name="bin_size" size="4" type="integer" value="500" label="Bin size" help="Choose the resolution (in bp) of your wig file. Must be an even integer > 100." />
16 <param name="mylab" type="text" value="wiggle_file" label="Output file prefix" help="" />
17 </inputs>
18 <outputs>
19 <data format="wig" name="output" label="${mylab}_density_bin${bin_size}.wig" />
20 </outputs>
21 <tests>
22 <test>
23 <param name="input" value="1.bigwig" />
24 <param name="bin_size" value="500" />
25 <param name="mylab" value="wiggle_file" />
26 <output name="output" file="1.wig" />
27 </test>
28 <test>
29 <param name="input" value="2.bigwig" />
30 <param name="bin_size" value="2000" />
31 <param name="mylab" value="wiggle_file" />
32 <output name="output" file="2.wig" />
33 </test>
34 </tests>
35 <help><![CDATA[
36
37 @HELP_CONTENT@
38
39 @TOOL_ATTRIBUTION@
40
41 ]]></help>
42 <expand macro="citation"/>
43 </tool>