Bio::D...ignment(3pm)
π 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
- 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