view get_root_terms.xml @ 0:fc4edae65b37 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/onto-toolkit commit 9422f839ae354d4c26b02d4494abdeaad518d0e6
author iuc
date Fri, 10 Nov 2017 11:34:52 -0500
parents
children
line wrap: on
line source

<tool id="onto_tk_get_root_terms" name="Get the root terms" version="@VERSION@.0">
    <description>of a given OBO term</description>
    <macros>
        <import>onto_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
    get_root_terms.pl
        -f '$input' > '$output'
    </command>
    <inputs>
        <expand macro="input_ontology" />
    </inputs>
    <outputs>
        <data format="tabular" name="output" label="Root terms of ${on_string}">
            <actions>
                <action name="column_names" type="metadata" default="term ID,term name" />
            </actions>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="input" value="pre_cco_core.obo"/>
            <output name="output" file="root_terms.tab"/>
        </test>
    </tests>
    <help>

.. class:: infomark

Collects the root terms (list of IDs) of the given OBO ontology.

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