Bio::D...script(3pm)

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

✨ 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