Mercurial > repos > iuc > graphlan
view graphlan.xml @ 0:8f62f666dcb6 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2/ commit 6e73e77d186e02d200fc3a61d25311e67864a824
author | iuc |
---|---|
date | Sat, 04 Mar 2017 10:27:03 -0500 |
parents | |
children | a490b70e46fc |
line wrap: on
line source
<tool id="graphlan" name="GraPhlAn" version="@WRAPPER_VERSION@.0"> <description>to produce graphical output of an input tree</description> <macros> <import>graphlan_macros.xml</import> </macros> <expand macro="requirements"/> <stdio> <regex match="Warning" source="stderr" level="warning" description="" /> </stdio> <version_command>graphlan.py -v</version_command> <command> <![CDATA[ graphlan.py --format '$image_format.format' --size '$size' #if $pad --pad '$pad' #end if #if str($image_format.format) == "png" and $image_format.dpi --dpi '$image_format.dpi' #end if '$input_tree' #if str($image_format.format) == "png" '$png_output_image' #else if str($image_format.format) == "pdf" '$pdf_output_image' #else if str($image_format.format) == "ps" '$ps_output_image' #else if str($image_format.format) == "eps" '$eps_output_image' #else '$svg_output_image' #end if ]]> </command> <inputs> <param name="input_tree" type="data" format="txt,nhx,phyloxml" label="Input tree"/> <conditional name="image_format"> <param argument='--format' type="select" label="Output format"> <option value="png" selected="true">PNG</option> <option value="pdf">PDF</option> <option value="ps">PS</option> <option value="eps">EPS</option> <option value="svg">SVG</option> </param> <when value="png"> <param argument="--dpi" type="integer" label="Dpi of the output image" optional="True"/> </when> <when value="pdf"/> <when value="ps"/> <when value="eps"/> <when value="svg"/> </conditional> <param argument="--size" type="integer" value="7" label="Size of the output image"/> <param argument="--pad" type="integer" label="Distance between the most external graphical element and the border of the image" optional="True"/> </inputs> <outputs> <data format="png" name="png_output_image" label="${tool.name} on ${on_string}: PNG"> <filter>image_format['format']=="png"</filter> </data> <data format="pdf" name="pdf_output_image" label="${tool.name} on ${on_string}: PDF"> <filter>image_format['format']=="pdf"</filter> </data> <data format="ps" name="ps_output_image" label="${tool.name} on ${on_string}: PS"> <filter>image_format['format']=="ps"</filter> </data> <data format="eps" name="eps_output_image" label="${tool.name} on ${on_string}: EPS"> <filter>image_format['format']=="eps"</filter> </data> <data format="svg" name="svg_output_image" label="${tool.name} on ${on_string}: SVG"> <filter>image_format['format']=="svg"</filter> </data> </outputs> <tests> <test> <param name="input_tree" value="intermediary_tree"/> <param name="format" value="png"/> <param name="dpi" value="100"/> <param name="size" value="7"/> <param name="pad" value="2"/> <output name="png_output_image" file="png_image.png" /> </test> </tests> <help><![CDATA[ **What it does** GraPhlAn is a software tool for producing high-quality circular representations of taxonomic and phylogenetic trees. GraPhlAn focuses on concise, integrative, informative, and publication-ready representations of phylogenetically- and taxonomically-driven investigation. For more information, check the `user manual <https://bitbucket.org/nsegata/graphlan/overview>`_. ]]></help> <expand macro="citations"/> </tool>