Bio::S...eatureI(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Bio::SeqFeature::TypedSeqFeatureI πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation β€” you're looking at Bio::S...eatureI(3pm), and it's all about a strongly typed SeqFeature. sit down, hydrate, let's go 🫢


✨ NAME ✨

Bio::SeqFeature::TypedSeqFeatureI β€” a strongly typed SeqFeature, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

# get Sequence Features in some manner, eg
# from a Sequence object

foreach $sf ( $seq->get_SeqFeatures() ) {
    # all sequence features must have primary_tag() return a string
    $type_as_string = $sf->primary_tag();
    if( $sf->isa("Bio::SeqFeature::TypedSeqFeatureI") ) {
        $ot = $sf->ontology_term();
        print "Ontology identifier:",$ot->identifier(),
              " name:",$ot->name(),
              " Description:",$ot->description(),"\n";

    } else {
        print "Sequence Feature does not have an ontology type\n";
    }

}

🌸 DESCRIPTION 🌸

So basically, this interface describes the extension of SeqFeatureI to being a strongly typed SeqFeature. it's giving glow-up, honestly ✨

Bio::SeqFeature::TypedSeqFeatureI extends the Bio::SeqFeatureI interface β€” meaning a TypedSeqFeatureI feature must also implement all of the Bio::SeqFeatureI interface too. no skipping, bestie, it's a package deal πŸŽ€

It is suggested that the primary_tag() method of SeqFeatureI return the same as the ontology_term()->name() of the OntologyTypedI (ie, the "string" name of the ontology type is used as the primary tag), but this should not be assumed by client code, because there are scenarios where one would like to maintain the difference. iykyk πŸ™ˆ


πŸ’Œ FEEDBACK πŸ’Œ

πŸ“¬ 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 β€” fr fr, they want to hear from you πŸ₯Ί

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. 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. like, give them the whole lore, not just the vibes πŸ’€

πŸ› 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:

https://github.com/bioperl/bioperl-live/issues

πŸ‘‘ AUTHOR - Ewan Birney πŸ‘‘

Email - please email the BioPerl mailing list above.


πŸŽ€ APPENDIX πŸŽ€

The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ β€” so if you see an underscore, mind your business, that's the backend πŸ’…

⭐ ontology_term ⭐

Title   : ontology_term
Usage   : my $ot = $seqfeature->ontology_term()
Returns : a Bio::Ontology::TermI compliant object
Args    : none
Status  : public

This method returns the ontology term for a strongly typed sequence feature. that's it, that's the method, and it ate πŸ”₯


🧚 quick vibe check: every flag, argument, return value and link up there is exactly as the original says it. no invented lore, bestie, only certified facts.

perl v5.32.1 🌈 2021-08-15 🌈 Bio::S...eatureI(3pm)

and that's the whole page, mwah πŸ’‹ ty for reading, go forth and type your features responsibly πŸŒΈπŸ’–πŸ¦‹

πŸ“¦ where this page comes from