view get_relationship_types.xml @ 1:a6c8e5934ed2 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/onto-toolkit commit 744e26ea6d468c83ec5904221929092f8a2e78ba"
author iuc
date Wed, 22 Jan 2020 17:26:49 -0500
parents c5b1acc3c42c
children
line wrap: on
line source

<tool id="onto_tk_get_relationship_types" name="Get all the relationship types" version="@VERSION@.0">
    <description>from the given OBO ontology</description>
    <macros>
        <import>onto_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
    get_relationship_types.pl
        -f '$input' | sort > '$output'
    </command>
    <inputs>
        <expand macro="input_ontology" />
    </inputs>
    <outputs>
        <data format="tabular" name="output" label="Relationship types of ${on_string}">
            <actions>
                <action name="column_names" type="metadata" default="relationship type" />
            </actions>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="input" value="pre_cco_core.obo"/>
            <output name="output" file="relationship_types.tab" sort="true"/>
        </test>
    </tests>
    <help>

.. class:: infomark


Collects all the names of the relationship_types in a given ontology.

**Example**

If you ask for the relationships of the Gene Ontology, you will get::

  is_a
  part_of
  regulates
  has_part
  negatively_regulates
  positively_regulates

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