Bio::S...ucture(3pm)
π Bio::SeqFeature::Gene::GeneStructure π
okay bestie, welcome to Bio::SeqFeature::Gene::GeneStructure from the User Contributed Perl Documentation β she's giving Bioperl energy and she's literally the blueprint for a whole gene. no cap. π§¬β¨
πΈ NAME πΈ
Bio::SeqFeature::Gene::GeneStructure β a feature representing an arbitrarily complex structure of a gene. yes, arbitrarily complex. she contains multitudes. π
β¨ SYNOPSIS β¨
# See documentation of methods.
that's it. that's the synopsis. the methods are down in the APPENDIX, girlie, scroll. π
π¦ DESCRIPTION π¦
so this is a feature that represents a gene structure. and rn β as of now β a gene structure is really just a collection of transcripts. that's the whole vibe.
for the deets on what those transcript objects can actually do, go peek at:
Bio::SeqFeature::Gene::TranscriptIβ the interface πBio::SeqFeature::Gene::Transcriptβ the actual implementation π
π«Ά FEEDBACK π«Ά
π Mailing Lists
user feedback is literally an integral part of the evolution of this and every other Bioperl module. so send your comments and suggestions β preferably to one of the Bioperl mailing lists. your participation is so appreciated, fr fr. ππ
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π Support
pls pls pls direct your usage questions and support issues to the mailing list:
bioperl-l@bioperl.org
...rather than sliding into the module maintainer's DMs directly. π there are so many experienced and responsive experts who will be able to look at your problem and quickly address it. and bestie β if at all possible, include a thorough description of the problem with code and data examples. the more context, the better. π«Ά
π Reporting Bugs
report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolutions. bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Hilmar Lapp π
Email hlapp-at-gmx.net β¨
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ β iykyk. π
π transcripts
- Title β
transcripts - Usage β
@transcripts = $gene->transcripts(); - Function β get the transcripts of this gene structure. many gene structures will have only one transcript.
- Returns β an array of
Bio::SeqFeature::Gene::TranscriptIimplementing objects. - Args β (none)
π add_transcript
- Title β
add_transcript() - Usage β
$gene->add_transcript($transcript); - Function β add a transcript to this gene structure.
- Returns β (nothing)
- Args β a
Bio::SeqFeature::Gene::TranscriptIimplementing object.
π flush_transcripts
- Title β
flush_transcripts() - Usage β
$gene->flush_transcripts(); - Function β remove all transcripts from this gene structure. gone. poof. π
- Returns β (nothing)
- Args β (none)
π add_transcript_as_features
- Title β
add_transcript_as_features - Usage β
$gene->add_transcript_as_features(@featurelist); - Function β take a list of
Bio::SeqFeatureIobjects and turn them into aBio::SeqFeature::Gene::Transcriptobject. then add that transcript to the gene. β¨ - Returns β nothing
- Args β a list of
Bio::SeqFeatureIcompliant objects
π promoters
- Title β
promoters - Usage β
@prom_sites = $gene->promoters(); - Function β get the promoter features of this gene structure.
this method basically merges the promoters returned by transcripts.
β οΈ note that OO-modeling of regulatory elements is not stable yet. this means this method might change or even disappear in a future release. be aware of this if you use it, bestie. don't build your whole personality on it. π
- Returns β an array of
Bio::SeqFeatureIimplementing objects. - Args β (none)
π exons
- Title β
exons() - Usage β
@exons = $gene->exons();
@inital_exons = $gene->exons('Initial');
- Function β get all exon features, or all exons of a specified type, of this gene structure.
exon type is treated as a case-insensitive regular expression and is optional. for consistency, use only the following types: initial, internal, terminal, utr, utr5prime, and utr3prime. a special and virtual type is 'coding', which refers to all types except utr. π§
this method basically merges the exons returned by transcripts.
- Returns β an array of
Bio::SeqFeature::Gene::ExonIimplementing objects. - Args β an optional string specifying the type of exon.
π introns
- Title β
introns() - Usage β
@introns = $gene->introns(); - Function β get all introns of this gene structure.
β οΈ note that this class currently generates these features on-the-fly β that is, it simply treats all regions between exons as introns. it assumes that the exons in the transcripts do not overlap. so like, don't come for her if your exons are messy. π
this method basically merges the introns returned by transcripts.
- Returns β an array of
Bio::SeqFeatureIimplementing objects. - Args β (none)
π poly_A_sites
- Title β
poly_A_sites() - Usage β
@polyAsites = $gene->poly_A_sites(); - Function β get the poly-adenylation sites of this gene structure.
this method basically merges the poly-adenylation sites returned by transcripts.
- Returns β an array of
Bio::SeqFeatureIimplementing objects. - Args β (none)
π utrs
- Title β
utrs() - Usage β
@utr_sites = $gene->utrs('3prime');
@utr_sites = $gene->utrs('5prime');
@utr_sites = $gene->utrs();
- Function β get the features representing untranslated regions (UTR) of this gene structure.
you may provide an argument specifying the type of UTR. currently the following types are recognized: 5prime and 3prime for UTR on the 5' and 3' end of the CDS, respectively. πΈ
this method basically merges the UTRs returned by transcripts.
- Returns β an array of
Bio::SeqFeature::Gene::ExonIimplementing objects representing the UTR regions or sites. - Args β optionally, either
3prime, or5primefor the the type of UTR feature.
π sub_SeqFeature
- Title β
sub_SeqFeature - Usage β
@feats = $gene->sub_SeqFeature(); - Function β returns an array of all subfeatures.
this method is defined in Bio::SeqFeatureI. we override it here to include the transcripts. π
- Returns β an array of
Bio::SeqFeatureIimplementing objects. - Args β none
π flush_sub_SeqFeature
- Title β
flush_sub_SeqFeature - Usage β
$gene->flush_sub_SeqFeature();
$gene->flush_sub_SeqFeature(1);
- Function β removes all subfeatures.
β οΈ this method is overridden fromBio::SeqFeature::Genericto flush all additional subfeatures, i.e., transcripts β which is almost certainly not what you want. π to remove only features added through$gene->add_sub_SeqFeature($feature), pass any argument evaluating to TRUE.
- Example β (none given)
- Returns β none
- Args β optionally, an argument evaluating to TRUE will suppress flushing of all gene structure-specific subfeatures (transcripts).
perl v5.32.1 Β· 2021-08-15 Β· that's the whole page, bestie β go write some gene structures ππ§¬β¨
π¦ 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