annotate bandage_image.xml @ 3:b2860df42e16 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit ef940ee99e8bf07cfe86b273a3eda72f09003fb3"
author iuc
date Thu, 05 Dec 2019 17:17:29 -0500
parents 58124285e462
children 94fe43e75ddc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
b2860df42e16 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit ef940ee99e8bf07cfe86b273a3eda72f09003fb3"
iuc
parents: 2
diff changeset
1 <tool id="bandage_image" name="Bandage Image" version="@TOOL_VERSION@+galaxy2" profile="18.01">
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
2 <description>visualize de novo assembly graphs</description>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
3 <macros>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
4 <import>macros.xml</import>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
5 </macros>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
7 <expand macro="version_command"/>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
8 <command detect_errors="exit_code"> <![CDATA[
3
b2860df42e16 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit ef940ee99e8bf07cfe86b273a3eda72f09003fb3"
iuc
parents: 2
diff changeset
9 @HEADLESS@
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
10 Bandage
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
11 image
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
12 '$input_file'
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
13 'out.$output_format'
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
14 #if $height:
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
15 --height '$height'
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
16 #end if
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
17 #if $width:
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
18 --width '$width'
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
19 #end if
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
20 $names
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
21 $lengths
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
22 ]]></command>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
23 <inputs>
1
ebe4463404b4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 5badd53c6fdaf43796ffacff94852356696d30d0
iuc
parents: 0
diff changeset
24 <param name="input_file" type="data" format="txt" label="Graphical Fragment Assembly" help="Supports multiple assembly graph formats: LastGraph (Velvet), FASTG (SPAdes), Trinity.fasta, ASQG and GFA."/>
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
25 <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."/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
26 <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."/>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
27 <param argument="--names" type="boolean" truevalue="--names" falsevalue="" label="Node name labels?"/>
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
28 <param argument="--lengths" type="boolean" truevalue="--lengths" falsevalue="" label="Node length labels?"/>
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
29 <param name="output_format" type="select" label="Produce jpg, png or svg file?">
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
30 <option selected="True" value="jpg">.jpg</option>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
31 <option value="png">.png</option>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
32 <option value="svg">.svg</option>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
33 </param>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
34
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
35 </inputs>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
36 <outputs>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
37 <data name="outfile" format="jpg" from_work_dir="out.*" label="${tool.name} on ${on_string}: Assembly Graph Image">
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
38 <change_format>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
39 <when input="output_format" value="png" format="png"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
40 <when input="output_format" value="svg" format="svg"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
41 </change_format>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
42 </data>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
43 </outputs>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
44 <tests>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
45 <test><!-- test with default settings -->
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
46 <param name="input_file" ftype="tabular" value="gfa.tabular"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
47 <output name="outfile" ftype="jpg" file="out.jpg" compare="sim_size" delta="70000"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
48 </test>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
49 <test><!-- test with width and height parameters -->
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
50 <param name="input_file" ftype="tabular" value="gfa.tabular"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
51 <param name="height" value="100"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
52 <param name="width" value="100"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
53 <param name="output_format" value="png"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
54 <output name="outfile" ftype="png" file="out.png" compare="sim_size" delta="120000"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
55 </test>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
56 <test><!-- test svg output -->
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
57 <param name="input_file" ftype="tabular" value="gfa.tabular"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
58 <param name="output_format" value="svg"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
59 <output name="outfile" ftype="svg" file="out.svg" compare="sim_size" delta="120000"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
60 </test>
2
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
61 <test><!-- test with node name and length labels -->
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
62 <param name="input_file" ftype="txt" value="gfa.tabular"/>
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
63 <param name="output_format" value="svg"/>
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
64 <param name="names" value="--names"/>
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
65 <param name="lengths" value="--lengths"/>
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
66 <output name="outfile" ftype="svg" file="out_labels.svg" compare="sim_size" delta="250000"/>
58124285e462 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents: 1
diff changeset
67 </test>
0
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
68 </tests>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
69 <help><![CDATA[
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
70 @BANDAGE_OVERVIEW@
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
71
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
72 **Command Documentation**
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
73
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
74 ``Bandage image`` will generate an image file of the graph visualisation.
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
75
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
76 .. image:: $PATH_TO_IMAGES/bandage_graph.png
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
77 :alt: example bandage plot
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
78
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
79 ]]></help>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
80 <expand macro="citations"/>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
81 </tool>
067592b6b312 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff changeset
82