Bio::O...ProTerm(3pm)
π Bio::Ontology::InterProTerm π
okay bestie, gather round, because this one lives in the Bioperl ecosystem and it's literally the InterProI term interface implementation. Perl-verse girlies, this one's for you. π«Ά
β¨ NAME β¨
Bio::Ontology::InterProTerm β the implementation of the InterProI term interface</>, no cap.
πΈ SYNOPSIS πΈ
look, here's the vibe in code form:
my $term = Bio::Ontology::InterProTerm->new(
-interpro_id => "IPR000001",
-name => "Kringle",
-definition => "Kringles are autonomous structural domains ...",
-ontology => "Domain"
);
print $term->interpro_id(), "\n";
print $term->name(), "\n";
print $term->definition(), "\n";
print $term->is_obsolete(), "\n";
print $term->ontology->name(), "\n";
that's it. that's the whole mood. π
π¦ DESCRIPTION π¦
So basically this is a simple extension</> of Bio::Ontology::Term that's specially built for InterPro terms</>. It inherits the whole Term glow-up and then adds its own InterPro-specific little extras on top. iconic behaviour, honestly.
π FEEDBACK π
Mailing Lists
User feedback is, like, an integral part</> of the evolution of this and other Bioperl modules β genuinely, they mean it. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated. π₯Ή
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
...rather than to the module maintainer directly, bestie. 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 β receipts help, always. π
Reporting Bugs
Report bugs to the Bioperl bug tracking system so they can keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Peter Dimitrov π
Email dimitrov@gnf.org π
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _</> β iykyk, that underscore is the "backstage pass only" signal.
π new
- 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. baby's first term. β¨ - Example:
- Returns: A new
Bio::Ontology::InterProTermobject. - Args:
-interpro_id=> the InterPro ID of the term. Has the formIPRdddddd, whereddddddis 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]
π init
- Title:
init - Usage:
$term->init(); - Function: Initializes this InterProTerm to all
""and empty lists. blank slate energy, we love a fresh start. π§ - Example:
- Returns:
- Args:
π _check_interpro_id
- Title:
_check_interpro_id - Usage:
- Function: Performs simple check in order to validate that its argument has the form
IPRdddddd, whereddddddis a zero-padded six digit number. - Example:
- Returns: Returns its argument if valid, otherwise throws exception. so either it slays or it screams. π
- Args: String
π interpro_id
- Title:
interpro_id - Usage:
$obj->interpro_id($newval) - Function: Set/get for the
interpro_idof this InterProTerm - Example:
- Returns: value of
interpro_id(a scalar) - Args: new value (a scalar, optional)
π short_name
- 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)
π protein_count
- 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)
π get_references
- Title:
get_references - Usage:
- Function: Get the references for this InterPro term.
- Example:
- Returns: An array of
Bio::Annotation::Referenceobjects - Args:
π add_reference
- Title:
add_reference - Usage:
- Function: Add one or more references to this InterPro term.
- Example:
- Returns:
- Args: One or more
Bio::Annotation::Referenceobjects.
π remove_references
- Title:
remove_references - Usage:
- Function: Remove all references for this InterPro term.
- Example:
- Returns: The list of previous references as an array of
Bio::Annotation::Referenceobjects. - Args:
π get_members
- Title:
get_members - Usage:
@arr = get_members() - Function: Get the list of member(s) for this object.
- Example:
- Returns: An array of
Bio::Annotation::DBLinkobjects - Args:
π add_member
- Title:
add_member - Usage:
- Function: Add one or more member(s) to this object.
- Example:
- Returns:
- Args: One or more
Bio::Annotation::DBLinkobjects.
π remove_members
- Title:
remove_members - Usage:
- Function: Remove all members for this class.
- Example:
- Returns: The list of previous members as an array of
Bio::Annotation::DBLinkobjects. - Args:
π get_examples
- 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::DBLinkobjects - Args:
π add_example
- 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::DBLinkobjects.
π remove_examples
- 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::DBLinkobjects. - Args:
π get_external_documents
- 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::DBLinkobjects - Args:
π add_external_document
- 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::DBLinkobjects.
π remove_external_documents
- 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::DBLinkobjects. - Args:
π class_list
- 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::DBLinkobjects - Args: reference to an array of
Bio::Annotation::DBLinkobjects
π to_string
- Title:
to_string() - Usage:
print $term->to_string(); - Function:
to_stringmethod for InterPro terms. - Returns: A string representation of this InterPro term.
- Args:
π Deprecated methods π
These are here for backwards compatibility</>. they're giving "we still love you but we're not dating anymore". π
π secondary_ids
- Title:
secondary_ids - Usage:
$obj->secondary_ids($newval) - Function: This is deprecated</>. Use
get_secondary_ids()oradd_secondary_id()instead. fr fr, switch it up. π - Example:
- Returns: reference to an array of strings
- Args: reference to an array of strings
and that's the whole page, bestie! π«Ά this one shipped as perl v5.32.1</> on 2021-08-15</>, and it's part of the User Contributed Perl Documentation</> collection β go forth and annotate your InterPro terms, you absolute main character. πβ¨
π¦ where this page comes from
- debian bookworm: libbio-perl-perl 1.7.8-1 Β· Perl
- debian trixie: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu jammy: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu noble: libbio-perl-perl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms