.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Bio::Ontology::InterProTerm 3pm" .TH Bio::Ontology::InterProTerm 3pm "2020-10-28" "perl v5.30.3" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Bio::Ontology::InterProTerm \- Implementation of InterProI term interface .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 11 \& my $term = Bio::Ontology::InterProTerm\->new( \& \-interpro_id => "IPR000001", \& \-name => "Kringle", \& \-definition => "Kringles are autonomous structural domains ...", \& \-ontology => "Domain" \& ); \& print $term\->interpro_id(), "\en"; \& print $term\->name(), "\en"; \& print $term\->definition(), "\en"; \& print $term\->is_obsolete(), "\en"; \& print $term\->ontology\->name(), "\en"; .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" This is a simple extension of Bio::Ontology::Term for InterPro terms. .SH "FEEDBACK" .IX Header "FEEDBACK" .SS "Mailing Lists" .IX Subsection "Mailing Lists" User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. .PP .Vb 2 \& bioperl\-l@bioperl.org \- General discussion \& http://bioperl.org/wiki/Mailing_lists \- About the mailing lists .Ve .SS "Support" .IX Subsection "Support" Please direct usage questions or support issues to the mailing list: .PP \&\fIbioperl\-l@bioperl.org\fR .PP rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. .SS "Reporting Bugs" .IX Subsection "Reporting Bugs" Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web: .PP .Vb 1 \& https://github.com/bioperl/bioperl\-live/issues .Ve .SH "AUTHOR \- Peter Dimitrov" .IX Header "AUTHOR - Peter Dimitrov" Email dimitrov@gnf.org .SH "APPENDIX" .IX Header "APPENDIX" The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ .SS "new" .IX Subsection "new" .Vb 6 \& Title : new \& Usage : $term = Bio::Ontology::InterProTerm\->new( \-interpro_id => "IPR000002", \& \-name => "Cdc20/Fizzy", \& \-definition => "The Cdc20/Fizzy region is almost always ...", \& \-ontology => "Domain" \& ); \& \& Function: Creates a new Bio::Ontology::InterProTerm. \& Example : \& Returns : A new Bio::Ontology::InterProTerm object. \& Args : \& \-interpro_id => the InterPro ID of the term. Has the form IPRdddddd, where dddddd is a zero\-padded six digit number \& \-name => the name of this InterPro term [scalar] \& \-definition => the definition/abstract of this InterPro term [scalar] \& \-ontology => ontology of InterPro terms [Bio::Ontology::OntologyI] \& \-comment => a comment [scalar] .Ve .SS "init" .IX Subsection "init" .Vb 6 \& Title : init \& Usage : $term\->init(); \& Function: Initializes this InterProTerm to all "" and empty lists. \& Example : \& Returns : \& Args : .Ve .SS "_check_interpro_id" .IX Subsection "_check_interpro_id" .Vb 6 \& Title : _check_interpro_id \& Usage : \& Function: Performs simple check in order to validate that its argument has the form IPRdddddd, where dddddd is a zero\-padded six digit number. \& Example : \& Returns : Returns its argument if valid, otherwise throws exception. \& Args : String .Ve .SS "interpro_id" .IX Subsection "interpro_id" .Vb 6 \& Title : interpro_id \& Usage : $obj\->interpro_id($newval) \& Function: Set/get for the interpro_id of this InterProTerm \& Example : \& Returns : value of interpro_id (a scalar) \& Args : new value (a scalar, optional) .Ve .SS "short_name" .IX Subsection "short_name" .Vb 6 \& Title : short_name \& Usage : $obj\->short_name($newval) \& Function: Set/get for the short name of this InterProTerm. \& Example : \& Returns : value of short_name (a scalar) \& Args : new value (a scalar, optional) .Ve .SS "protein_count" .IX Subsection "protein_count" .Vb 6 \& Title : protein_count \& Usage : $obj\->protein_count($newval) \& Function: Set/get for the protein count of this InterProTerm. \& Example : \& Returns : value of protein_count (a scalar) \& Args : new value (a scalar, optional) .Ve .SS "get_references" .IX Subsection "get_references" .Vb 6 \& Title : get_references \& Usage : \& Function: Get the references for this InterPro term. \& Example : \& Returns : An array of L objects \& Args : .Ve .SS "add_reference" .IX Subsection "add_reference" .Vb 6 \& Title : add_reference \& Usage : \& Function: Add one or more references to this InterPro term. \& Example : \& Returns : \& Args : One or more L objects. .Ve .SS "remove_references" .IX Subsection "remove_references" .Vb 7 \& Title : remove_references \& Usage : \& Function: Remove all references for this InterPro term. \& Example : \& Returns : The list of previous references as an array of \& L objects. \& Args : .Ve .SS "get_members" .IX Subsection "get_members" .Vb 6 \& Title : get_members \& Usage : @arr = get_members() \& Function: Get the list of member(s) for this object. \& Example : \& Returns : An array of Bio::Annotation::DBLink objects \& Args : .Ve .SS "add_member" .IX Subsection "add_member" .Vb 6 \& Title : add_member \& Usage : \& Function: Add one or more member(s) to this object. \& Example : \& Returns : \& Args : One or more Bio::Annotation::DBLink objects. .Ve .SS "remove_members" .IX Subsection "remove_members" .Vb 7 \& Title : remove_members \& Usage : \& Function: Remove all members for this class. \& Example : \& Returns : The list of previous members as an array of \& Bio::Annotation::DBLink objects. \& Args : .Ve .SS "get_examples" .IX Subsection "get_examples" .Vb 3 \& Title : get_examples \& Usage : @arr = get_examples() \& Function: Get the list of example(s) for this object. \& \& This is an element of the InterPro xml schema. \& \& Example : \& Returns : An array of Bio::Annotation::DBLink objects \& Args : .Ve .SS "add_example" .IX Subsection "add_example" .Vb 3 \& Title : add_example \& Usage : \& Function: Add one or more example(s) to this object. \& \& This is an element of the InterPro xml schema. \& \& Example : \& Returns : \& Args : One or more Bio::Annotation::DBLink objects. .Ve .SS "remove_examples" .IX Subsection "remove_examples" .Vb 3 \& Title : remove_examples \& Usage : \& Function: Remove all examples for this class. \& \& This is an element of the InterPro xml schema. \& \& Example : \& Returns : The list of previous examples as an array of \& Bio::Annotation::DBLink objects. \& Args : .Ve .SS "get_external_documents" .IX Subsection "get_external_documents" .Vb 3 \& Title : get_external_documents \& Usage : @arr = get_external_documents() \& Function: Get the list of external_document(s) for this object. \& \& This is an element of the InterPro xml schema. \& \& Example : \& Returns : An array of Bio::Annotation::DBLink objects \& Args : .Ve .SS "add_external_document" .IX Subsection "add_external_document" .Vb 3 \& Title : add_external_document \& Usage : \& Function: Add one or more external_document(s) to this object. \& \& This is an element of the InterPro xml schema. \& \& Example : \& Returns : \& Args : One or more Bio::Annotation::DBLink objects. .Ve .SS "remove_external_documents" .IX Subsection "remove_external_documents" .Vb 3 \& Title : remove_external_documents \& Usage : \& Function: Remove all external_documents for this class. \& \& This is an element of the InterPro xml schema. \& \& Example : \& Returns : The list of previous external_documents as an array of \& Bio::Annotation::DBLink objects. \& Args : .Ve .SS "class_list" .IX Subsection "class_list" .Vb 6 \& Title : class_list \& Usage : $obj\->class_list($newval) \& Function: Set/get for class list element of the InterPro xml schema \& Example : \& Returns : reference to an array of Bio::Annotation::DBLink objects \& Args : reference to an array of Bio::Annotation::DBLink objects .Ve .SS "to_string" .IX Subsection "to_string" .Vb 5 \& Title : to_string() \& Usage : print $term\->to_string(); \& Function: to_string method for InterPro terms. \& Returns : A string representation of this InterPro term. \& Args : .Ve .SH "Deprecated methods" .IX Header "Deprecated methods" These are here for backwards compatibility. .SS "secondary_ids" .IX Subsection "secondary_ids" .Vb 7 \& Title : secondary_ids \& Usage : $obj\->secondary_ids($newval) \& Function: This is deprecated. Use get_secondary_ids() or \& add_secondary_id() instead. \& Example : \& Returns : reference to an array of strings \& Args : reference to an array of strings .Ve