Bio::D...script(3pm)
β¨ NAME β¨
Bio::DB::GFF::Aggregator::transcript β the Transcript aggregator, bestie π
πΈ SYNOPSIS πΈ
okay so first you pull in the goods:
use Bio::DB::GFF;
# Open the sequence database
my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
-dsn => 'dbi:mysql:elegans42',
-aggregator => ['transcript','clone'],
);
-------------------------------------------------
Aggregator method: transcript
Main method: transcript
Sub methods: exon CDS 5'UTR 3'UTR TSS PolyA
-------------------------------------------------
likeβ¦ that little boxed summary? it's giving cheat sheet and I'm obsessed π
π¦ DESCRIPTION π¦
Bio::DB::GFF::Aggregator::transcript is one of the default aggregators, no cap β it was literally written to play nice with the C elegans GFF files. What does it do? It scoops up all the raw "exon", "CDS", "5'UTR", "3'UTR", "polyA" and "TSS" features and aggregates them into "transcript" features. slay. β¨
But here's the tea: because the Sanger GFF format has idiosyncrasies (their words, not mine, and honestly relatable), it expects the full range of the transcript to live inside a main feature of type "Transcript" β and yes bestie, notice the capital "T" π
Internally this module is super simple. like, embarrassingly simple. If you wanna override it with one that recognizes a main feature named "gene", just follow this template fr fr:
my $db = Bio::DB::GFF->new(...etc...)
my $aggregator = Bio::DB::GFF::Aggregator->new(-method => 'transcript',
-main_method => 'gene',
-sub_parts => ['exon','CDS']);
$db->add_aggregator($aggregator);
π method
- Title β
method - Usage β
$aggregator->method - Function β return the method for the composite object
- Returns β the string
"transcript" - Args β none
- Status β Public
π§ part_names
- Title β
part_names - Usage β
$aggregator->part_names - Function β return the methods for the sub-parts
- Returns β the list
"intron","exon"and"CDS" - Args β none
- Status β Public
π main_name
- Title β
main_name - Usage β
$aggregator->main_name - Function β return the method for the main component
- Returns β the string
"transcript" - Args β none
- Status β Public
π BUGS π
None reported. not a single one. the vibes are immaculate, we're thriving π«Ά
π SEE ALSO π
Bio::DB::GFF, Bio::DB::GFF::Aggregator
π AUTHOR π
Lincoln Stein <lstein@cshl.org>.
Copyright (c) 2001 Cold Spring Harbor Laboratory.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
and that's the whole page, bestie β¨ this is Bio::D...script(3pm) from the User Contributed Perl Documentation, straight outta perl v5.30.0, dated 2020-01-13. go forth and aggregate, periodt π
π¦ where this page comes from
- debian bookworm: libbio-db-gff-perl 1.7.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbio-db-gff-perl 1.7.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libbio-db-gff-perl 1.7.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbio-db-gff-perl 1.7.4-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms