Mercurial > repos > iuc > bandage
comparison bandage_image.xml @ 0:067592b6b312 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
author | iuc |
---|---|
date | Tue, 18 Sep 2018 05:41:44 -0400 |
parents | |
children | ebe4463404b4 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:067592b6b312 |
---|---|
1 <tool id="bandage_image" name="Bandage Image" version="@TOOL_VERSION@+galaxy0"> | |
2 <description>visualize de novo assembly graphs</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <expand macro="version_command"/> | |
8 <command detect_errors="exit_code"> | |
9 <![CDATA[ | |
10 Bandage | |
11 image | |
12 '$input_file' | |
13 'out.$output_format' | |
14 #if $height: | |
15 --height '$height' | |
16 #end if | |
17 #if $width: | |
18 --width '$width' | |
19 #end if | |
20 ]]></command> | |
21 <inputs> | |
22 <param name="input_file" type="data" format="tabular" label="Graphical Fragment Assembly" /> | |
23 <param argument="--height" type="integer" min="1" value="1000" optional="True" label="Image height" help="If only height or width is set, the other will be determined automatically. If both are set, the image will be exactly that size. Default: 1000."/> | |
24 <param argument="--width" type="integer" min="1" optional="True" label="Image width" help="If only height or width is set, the other will be determined automatically. If both are set, the image will be exactly that size. Default: not set."/> | |
25 <param name="output_format" type="select" label="Produce jpg, png or svg file?"> | |
26 <option selected="True" value="jpg">.jpg</option> | |
27 <option value="png">.png</option> | |
28 <option value="svg">.svg</option> | |
29 </param> | |
30 </inputs> | |
31 <outputs> | |
32 <data name="outfile" format="jpg" from_work_dir="out.*" label="${tool.name} on ${on_string}: Assembly Graph Image"> | |
33 <change_format> | |
34 <when input="output_format" value="png" format="png"/> | |
35 <when input="output_format" value="svg" format="svg"/> | |
36 </change_format> | |
37 </data> | |
38 </outputs> | |
39 <tests> | |
40 <test> | |
41 <param name="input_file" ftype="tabular" value="gfa.tabular"/> | |
42 <output name="outfile" ftype="jpg" file="out.jpg" compare="sim_size" delta="70000"/> | |
43 </test> | |
44 <test> | |
45 <param name="input_file" ftype="tabular" value="gfa.tabular"/> | |
46 <param name="height" value="100"/> | |
47 <param name="width" value="100"/> | |
48 <param name="output_format" value="png"/> | |
49 <output name="outfile" ftype="png" file="out.png" compare="sim_size" delta="120000"/> | |
50 </test> | |
51 <test> | |
52 <param name="input_file" ftype="tabular" value="gfa.tabular"/> | |
53 <param name="output_format" value="svg"/> | |
54 <output name="outfile" ftype="svg" file="out.svg" compare="sim_size" delta="120000"/> | |
55 </test> | |
56 </tests> | |
57 <help><![CDATA[ | |
58 @BANDAGE_OVERVIEW@ | |
59 | |
60 **Command Documentation** | |
61 | |
62 ``Bandage image`` will generate an image file of the graph visualisation. | |
63 | |
64 .. image:: $PATH_TO_IMAGES/bandage_graph.png | |
65 :alt: example bandage plot | |
66 | |
67 ]]></help> | |
68 <expand macro="citations"/> | |
69 </tool> | |
70 |