Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 110 lines (107 sloc) 2.756 kB
c84a201 @hlapp Patch file needed for bioperl 1.2.1 in connection with bioperl-db.
hlapp authored
1 Index: Bio/Annotation/OntologyTerm.pm
2 *** Bio/Annotation/OntologyTerm.pm 28 Feb 2003 05:15:42 -0000 1.5
3 --- Bio/Annotation/OntologyTerm.pm 4 Apr 2003 15:39:25 -0000
4 ***************
5 *** 388,392 ****
6 --- 388,490 ----
7 return shift->term()->remove_synonyms(@_);
8 } # remove_synonyms
9
10 + =head2 get_dblinks
11 +
12 + Title : get_dblinks()
13 + Usage : @ds = $term->get_dblinks();
14 + Function: Returns a list of each dblinks of this GO term.
15 + Returns : A list of dblinks [array of [scalars]].
16 + Args :
17 +
18 + =cut
19 +
20 + sub get_dblinks {
21 + return shift->term->get_dblinks(@_);
22 + } # get_dblinks
23 +
24 +
25 + =head2 add_dblink
26 +
27 + Title : add_dblink
28 + Usage : $term->add_dblink( @dbls );
29 + or
30 + $term->add_dblink( $dbl );
31 + Function: Pushes one or more dblinks
32 + into the list of dblinks.
33 + Returns :
34 + Args : One dblink [scalar] or a list of
35 + dblinks [array of [scalars]].
36 +
37 + =cut
38 +
39 + sub add_dblink {
40 + return shift->term->add_dblink(@_);
41 + } # add_dblink
42 +
43 +
44 + =head2 remove_dblinks
45 +
46 + Title : remove_dblinks()
47 + Usage : $term->remove_dblinks();
48 + Function: Deletes (and returns) the definition references of this GO term.
49 + Returns : A list of definition references [array of [scalars]].
50 + Args :
51 +
52 + =cut
53 +
54 + sub remove_dblinks {
55 + return shift->term->remove_dblinks(@_);
56 + } # remove_dblinks
57 +
58 + =head2 get_secondary_ids
59 +
60 + Title : get_secondary_ids
61 + Usage : @ids = $term->get_secondary_ids();
62 + Function: Returns a list of secondary identifiers of this Term.
63 +
64 + Secondary identifiers mostly originate from merging terms,
65 + or possibly also from splitting terms.
66 +
67 + Returns : A list of secondary identifiers [array of [scalar]]
68 + Args :
69 +
70 + =cut
71 +
72 + sub get_secondary_ids {
73 + return shift->term->get_secondary_ids(@_);
74 + } # get_secondary_ids
75 +
76 +
77 + =head2 add_secondary_id
78 +
79 + Title : add_secondary_id
80 + Usage : $term->add_secondary_id( @ids );
81 + or
82 + $term->add_secondary_id( $id );
83 + Function: Adds one or more secondary identifiers to this term.
84 + Returns :
85 + Args : One or more secondary identifiers [scalars]
86 +
87 + =cut
88 +
89 + sub add_secondary_id {
90 + return shift->term->add_secondary_id(@_);
91 + } # add_secondary_id
92 +
93 +
94 + =head2 remove_secondary_ids
95 +
96 + Title : remove_secondary_ids
97 + Usage : $term->remove_secondary_ids();
98 + Function: Deletes (and returns) the secondary identifiers of this Term.
99 + Returns : The previous list of secondary identifiers [array of [scalars]]
100 + Args :
101 +
102 + =cut
103 +
104 + sub remove_secondary_ids {
105 + return shift->term->remove_secondary_ids(@_);
106 + } # remove_secondary_ids
107 +
108
109 1;
Something went wrong with that request. Please try again.