Mercurial > repos > iuc > bandage
annotate bandage_image.xml @ 2:58124285e462 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
author | iuc |
---|---|
date | Fri, 05 Jul 2019 11:36:09 -0400 |
parents | ebe4463404b4 |
children | b2860df42e16 |
rev | line source |
---|---|
2
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
1 <tool id="bandage_image" name="Bandage Image" version="@TOOL_VERSION@+galaxy1"> |
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[ |
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
9 ## set headless mode |
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
10 export QT_QPA_PLATFORM='offscreen' && |
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
11 |
0
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
12 Bandage |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
13 image |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
14 '$input_file' |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
15 'out.$output_format' |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
16 #if $height: |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
17 --height '$height' |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
18 #end if |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
19 #if $width: |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
20 --width '$width' |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
21 #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
|
22 $names |
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
23 $lengths |
0
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
24 ]]></command> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
25 <inputs> |
1
ebe4463404b4
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 5badd53c6fdaf43796ffacff94852356696d30d0
iuc
parents:
0
diff
changeset
|
26 <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
|
27 <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
|
28 <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
|
29 <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
|
30 <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
|
31 <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
|
32 <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
|
33 <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
|
34 <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
|
35 </param> |
2
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
36 |
0
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
37 </inputs> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
38 <outputs> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
39 <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
|
40 <change_format> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
41 <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
|
42 <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
|
43 </change_format> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
44 </data> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
45 </outputs> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
46 <tests> |
2
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
47 <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
|
48 <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
|
49 <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
|
50 </test> |
2
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
51 <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
|
52 <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
|
53 <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
|
54 <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
|
55 <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
|
56 <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
|
57 </test> |
2
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 </test> |
2
58124285e462
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit 87337151f2f9ae1946db8b3a6da1c4f512ae135d
iuc
parents:
1
diff
changeset
|
63 <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
|
64 <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
|
65 <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
|
66 <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
|
67 <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
|
68 <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
|
69 </test> |
0
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
70 </tests> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
71 <help><![CDATA[ |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
72 @BANDAGE_OVERVIEW@ |
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 **Command Documentation** |
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 ``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
|
77 |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
78 .. 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
|
79 :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
|
80 |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
81 ]]></help> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
82 <expand macro="citations"/> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
83 </tool> |
067592b6b312
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
iuc
parents:
diff
changeset
|
84 |