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

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

πŸ’– Bio::D...ignment(3pm) πŸ’–

okay bestie, so this is the manual page for Bio::DB::GFF::Aggregator::alignment, living its best life in the User Contributed Perl Documentation, and it's filed under the page name Bio::D...ignment(3pm) because apparently someone was in a hurry when they named the file. anyway. it slays.


✨ NAME ✨

Bio::DB::GFF::Aggregator::alignment β€” the Alignment aggregator. that's it, that's the name, she's simple and she knows it πŸ’…


🌸 SYNOPSIS 🌸

here's how you'd actually use her:

use Bio::DB::GFF;

# Open the sequence database
my $db      = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
                                 -dsn     => 'dbi:mysql:elegans42',
                                 -aggregator => ['alignment'],
                               );

-----------------------------
Aggregator method: alignment
Main method:       (none)
Sub methods:       nucleotide_match,EST_match,cDNA_match,expressed_sequence_match,
                   translated_nucleotide_match,protein_match,HSP
-----------------------------

look at those sub methods. a whole roster. she's got range 🌈


πŸ¦‹ DESCRIPTION πŸ¦‹

Bio::DB::GFF::Aggregator::alignment is one of the default aggregators, and ngl she was written to be compatible with the C elegans GFF files. her whole thing is taking raw "similarity" features and aggregating them into composite features of type "alignment". and honestly? a better name for this class might be "gapped_alignment." the original author said it, not me πŸ™ˆ

here's the tea though: this aggregator does not insist that there be a single top-level feature spanning one end of the alignment all the way to the other. and the way that plays out is β€” it can produce truncated alignments if the entire alignment isn't contained within the segment of interest. so like, keep that in mind. it's giving "close enough" energy 😭


πŸ‘‘ aggregate

  • Title β€” aggregate
  • Usage β€” $features = $a->aggregate($features,$factory)
  • Function β€” aggregate a feature list into composite features
  • Returns β€” an array reference containing modified features
  • Args β€” see L<Bio::DB::GFF::Aggregator>
  • Status β€” Public

so because there are so many similarity features (like, an unhinged amount), the aggregate() method gets overridden in here purely to do some optimizations. speed demon behavior fr fr πŸ”₯


πŸŽ€ method

  • Title β€” method
  • Usage β€” $aggregator->method
  • Function β€” return the method for the composite object
  • Returns β€” the string "alignment"
  • Args β€” none
  • Status β€” Public

she returns "alignment". consistent queen πŸ’–


🧚 part_names

  • Title β€” part_names
  • Usage β€” $aggregator->part_names
  • Function β€” return the methods for the sub-parts
  • Returns β€” the full list of aggregated methods
  • Args β€” none
  • Status β€” Public

all the sub methods, all together, one big happy family 🫢


lowkey reminder bestie: the truncated-alignment thing is real. if your alignment isn't fully inside the segment you're looking at, you're getting a partial one. no cap.

and that's the whole page πŸ’œ this one shipped with perl v5.30.0 and is dated 2020-01-13, so go forth, aggregate your similarities, and stay iconic βœ¨πŸ‘‘πŸ’…

πŸ“¦ where this page comes from