view graphlan_annotate.xml @ 2:97e3b735ed22 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2/ commit fb23555b3087ca4022f0d186dfea40c2407ca211
author iuc
date Fri, 09 Feb 2024 21:29:45 +0000
parents cf1df6b2220a
children
line wrap: on
line source

<tool id="graphlan_annotate" name="Generation, personalization and annotation of tree" version="@WRAPPER_VERSION@">
    <description>for GraPhlAn</description>
    <macros>
        <import>graphlan_macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements"/>
    <stdio>
        <regex match="Warning"
               source="stderr"
               level="warning"
               description="" />
    </stdio>
    <version_command>graphlan_annotate.py -v</version_command>
    <command>
<![CDATA[        
        graphlan_annotate.py
            #if $annot
                --annot '$annot'
            #end if
            '$input_tree'
            '$output_tree'
]]>
    </command>
    <inputs>
        <param name="input_tree" type="data" format="txt,nhx,nex,phyloxml" label="Input tree"/>
        <param argument="--annot" type="data" format="txt" label="Annotation file" help="The annotation file is a tab-delimited file listing the graphical options for clades" optional="True"/>
    </inputs>
    <outputs>
        <data format="phyloxml" name="output_tree" label="${tool.name} on ${on_string}: Tree in PhyloXML" />
    </outputs>
    <tests>
        <test>
            <param name="input_tree" value="input_tree" />
            <param name="annot" value="input_annotation" />
            <output name="output_tree" file="intermediary_tree" />
        </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.

`graphlan_annotate` modifies any input tree (in any of the three standard format) adding additional information regarding structural or graphical aspects of the tree (like colors and style of the taxa, labels, shadows, heatmaps, ...).

The annotation file is a tab-delimited file listing the graphical options for clades. Usually each line has three fields: the name of the clade, the name of the option, and the value to assign to the option. Lines can however have two fields (typically for "global" option not referred to a specific clade) or four fields when the external rings (a sort of circular heatmap) is specified.

For more information, check the `user manual <https://github.com/biobakery/graphlan>`_.

    ]]></help>
    <expand macro="citations"/>
</tool>