1
|
1 <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">
|
|
2 <description>Collects the terms from a given term in the given OBO ontology, filtered by a relationship type</description>
|
|
3 <command interpreter="perl">/usr/bin/get_parent_terms_by_relationship_type.pl $input_ontology $term_id $rel_id > $output</command>
|
|
4 <inputs>
|
|
5 <param format="text" name="input_ontology" type="data" label="Source file"/>
|
|
6 <param name="term_id" type="text" size="30" value="" label="Term ID" />
|
|
7 <param name="rel_id" type="text" size="30" value="" label="Rel ID" />
|
|
8 </inputs>
|
|
9 <outputs>
|
|
10 <data format="tabular" name="output" />
|
|
11 </outputs>
|
|
12
|
|
13 <tests>
|
|
14 <test>
|
|
15 <param name="input" value="pre_cco.obo"/>
|
|
16 <param name="term_id" value="CCO:B0000073"/>
|
|
17 <param name="rel_id" value="participates_in"/>
|
|
18 <output name="out_file" file="ancestors_rel_filtered.txt"/>
|
|
19 </test>
|
|
20 </tests>
|
|
21
|
|
22 <help>
|
|
23
|
|
24 .. class:: infomark
|
|
25
|
|
26 Collects the terms (list of IDs) from a given term (existing ID) through a given relationship type in the given OBO ontology.
|
|
27 **Example**
|
|
28
|
|
29 id: A
|
|
30 name: A
|
|
31 A part_of B
|
|
32 A part_of D
|
|
33 A participates_in F
|
|
34
|
|
35 Que me devuelva los padres de A along part_of, es decir B y D.
|
|
36
|
|
37 If you ask for the parent terms of **A** along along part_of you will get::
|
|
38
|
|
39 B
|
|
40 D
|
|
41
|
|
42 **More information**
|
|
43
|
|
44 ONTO-PERL: An API supporting the development and analysis of bio-ontologies
|
|
45 E. Antezana; M. Egana; B. De Baets; M. Kuiper; V. Mironov
|
|
46 Bioinformatics 2008; doi: 10.1093/bioinformatics/btn042
|
|
47
|
|
48 </help>
|
|
49
|
|
50 </tool>
|
|
51
|