Mercurial > repos > erick-antezana > onto-toolkit
diff onto-toolkit/tools/ontology/get_parent_terms_by_relationship_type.xml @ 1:d2d26d330236
v 0.2: tools added for OPPL-galaxy
author | easr |
---|---|
date | Wed, 11 Apr 2012 10:33:41 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/onto-toolkit/tools/ontology/get_parent_terms_by_relationship_type.xml Wed Apr 11 10:33:41 2012 +0200 @@ -0,0 +1,51 @@ +<tool id="get_parent_terms_by_relationship_type" name="Get the terms of a given OBO term through a concrete relationship type" version="1.22"> + <description>Collects the terms from a given term in the given OBO ontology, filtered by a relationship type</description> + <command interpreter="perl">/usr/bin/get_parent_terms_by_relationship_type.pl $input_ontology $term_id $rel_id > $output</command> + <inputs> + <param format="text" name="input_ontology" type="data" label="Source file"/> + <param name="term_id" type="text" size="30" value="" label="Term ID" /> + <param name="rel_id" type="text" size="30" value="" label="Rel ID" /> + </inputs> + <outputs> + <data format="tabular" name="output" /> + </outputs> + + <tests> + <test> + <param name="input" value="pre_cco.obo"/> + <param name="term_id" value="CCO:B0000073"/> + <param name="rel_id" value="participates_in"/> + <output name="out_file" file="ancestors_rel_filtered.txt"/> + </test> + </tests> + + <help> + +.. class:: infomark + +Collects the terms (list of IDs) from a given term (existing ID) through a given relationship type in the given OBO ontology. +**Example** + +id: A +name: A +A part_of B +A part_of D +A participates_in F + +Que me devuelva los padres de A along part_of, es decir B y D. + +If you ask for the parent terms of **A** along along part_of you will get:: + + B + D + +**More information** + + ONTO-PERL: An API supporting the development and analysis of bio-ontologies + E. Antezana; M. Egana; B. De Baets; M. Kuiper; V. Mironov + Bioinformatics 2008; doi: 10.1093/bioinformatics/btn042 + + </help> + +</tool> +