Mercurial > repos > iuc > onto_tk_get_terms_by_relationship_type
view get_terms_by_relationship_type.xml @ 1:1959f84dd91d 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:30:51 -0500 |
parents | 7b625af8c84e |
children |
line wrap: on
line source
<tool id="onto_tk_get_terms_by_relationship_type" name="Get the terms that are related" version="@VERSION@.0"> <description>by a concrete relationship type</description> <macros> <import>onto_macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="aggressive"> perl '$__tool_directory__/get_terms_by_relationship_type.pl' '$input' '$rel_id' | sort > '$output' </command> <inputs> <expand macro="input_ontology" /> <expand macro="rel_id" /> </inputs> <outputs> <data format="tabular" name="output"> <actions> <action name="column_names" type="metadata" default="term name,relationship type,term name" /> </actions> </data> </outputs> <tests> <test> <param name="input" value="pre_cco_core.obo"/> <param name="rel_id" value="is_a"/> <output name="output" file="terms_rel_filtered.tab" sort="true"/> </test> </tests> <help> .. class:: infomark Collects the terms that are related by a concrete relationship type (e.g. is_a) **Example** If you ask for terms related by the relationship type 'participates_in' you will get tab delimited records like:: PR:0000001 participates_in GO:0000023 PR:0000002 participates_in GO:0033224 PR:0000003 participates_in GO:0021109 PR:0000004 participates_in GO:0034099 ... ... </help> <expand macro="citations" /> </tool>