Bio::S...e::Exon(3pm)
π NAME π
okay so welcome to Bio::S...e::Exon(3pm) bestie β yes that's the manual name, it's giving "shy about the middle of my own module path" energy, we love her anyway π
Bio::SeqFeature::Gene::Exon β a feature representing an exon. that's the whole job description. she's an exon. she contains multitudes. β¨
π¦ SYNOPSIS π¦
like, imagine you already have an exon instance somehow (manifesting one for you rn) and then you just:
# obtain an exon instance $exon somehow
print "exon from ", $exon->start(), " to ", $exon->end(),
" on seq ", $exon->seq_id(), ", strand ", $exon->strand(),
", encodes the peptide sequence ",
$exon->cds()->translate()->seq(), "\n";
and boom, she's telling you her whole life story. iconic. no cap. π
πΈ DESCRIPTION πΈ
This module implements a feature representing an exon by implementing the Bio::SeqFeature::Gene::ExonI interface. so yes, she's got interfaces, she's got range, she's a whole main character.
By default an Exon is coding. fr fr, that's the default setting. if you want her to be a non-coding girlie, supply -is_coding => 0 to the constructor, or just call $exon->is_coding(0) otherwise. your call, bestie, both paths slay. π«Ά
Apart from that, this class also implements Bio::SeqFeatureI by inheriting off Bio::SeqFeature::Generic. so she's not just an exon, she's also a whole sequence feature. multi-talented. ate. π₯
π¬ FEEDBACK π¬
π Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. (translation: they literally cannot glow up without you π). Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated. like, genuinely.
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. the reason is that many experienced and reponsive experts will be able look at the problem and quickly address it β a whole group chat of geniuses, basically. π
Please include a thorough description of the problem with code and data examples if at all possible. no vague "it's broken" texts please, give them the receipts π§Ύβ¨
π Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
go off, file that issue, you're doing the community a service π
π AUTHOR - Hilmar Lapp π
Email hlapp@gmx.net
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ (iykyk, that underscore is the "do not perceive me" marker π).
𧬠is_coding
- Title β
is_coding - Usage β
if($exon->is_coding()) {
# do something
}
if($is_utr) {
$exon->is_coding(0);
}
- Function β Get/set whether or not the exon codes for amino acid.
- Returns β TRUE if the object represents a feature translated into protein, and FALSE otherwise.
- Args β A boolean value on set.
π·οΈ primary_tag
- Title β
primary_tag - Usage β
$tag = $feat->primary_tag()
$feat->primary_tag('exon')
- Function β Get/set the primary tag for the exon feature.
This method is overridden here in order to allow only for tag values following a certain convention. For consistency reasons, the tag value must either contain the string 'exon' or the string 'utr' (both case-insensitive). In the case of 'exon', a string describing the type of exon may be appended or prefixed. Presently, the following types are allowed: initial, internal, and terminal (all case-insensitive).
If the supplied tag value matches 'utr' (case-insensitive), is_coding() will automatically be set to FALSE, and to TRUE otherwise. (yes she updates her own vibe check, self-sufficient queen π
)
- Returns β A string.
- Args β A string on set.
π location
- Title β
location - Usage β
my $location = $exon->location()
- Function β Returns a location object suitable for identifying the location of the exon on the sequence or parent feature.
This method is overridden here to restrict allowed location types to non-compound locations. (compound locations? not invited to this party π«)
- Returns β
Bio::LocationIobject - Args β none
π cds
- Title β
cds() - Usage β
$cds = $exon->cds();
- Function β Get the coding sequence of the exon as a sequence object.
The sequence of the returned object is prefixed by Ns (lower case) if the frame of the exon is defined and different from zero. The result is that the first base starts a codon (frame 0). she's lining up her bases so the reading frame makes sense, so thoughtful β¨
This implementation returns undef if the particular exon is not translated to protein, i.e., is_coding() returns FALSE. undef will also be returned if no sequence is attached to this exon feature. (no sequence, no cds, she said respectfully π)
- Returns β A
Bio::PrimarySeqIimplementing object. - Args β
okay that's the whole page bestie, you read all of it, I'm so proud π₯Ήπ this came from User Contributed Perl Documentation, perl v5.32.1, dated 2021-08-15, and it's Bio::S...e::Exon(3pm) β go forth and annotate your exons, periodt πβ
π¦ 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