Bio::D...atname(3pm)
π Bio::DB::GFF::Featname β the name of a feature π
okay bestie, pull up a chair πͺ because we're talking about Bio::DB::GFF::Featname, a little Perl module from the Bio::DB::GFF family (shipped with perl v5.30.0, dated 2020-01-13, in the User Contributed Perl Documentation corner of the manual). It's a tiny icon and it does exactly one job, and honestly? It eats. π
β¨ NAME β¨
Bio::DB::GFF::Featname β the name of a feature π
πΈ SYNOPSIS πΈ
use Bio::DB::GFF;
my $db = Bio::DB::GFF->new( -adaptor => 'dbi:mysql',
-dsn => 'dbi:mysql:elegans42');
my $feature = Bio::DB::GFF::Featname->new(Locus => 'unc-19');
my $segment = $db->segment($feature);
look at her go β¨ make the object, hand it to segment(), boom. main character behavior fr fr.
π¦ DESCRIPTION π¦
So like, Bio::DB::GFF::Featname is the name of a feature. That's the whole vibe. It's got exactly two fields living inside it: name and class. π
Usually the Bio::DB::GFF module is the one using it, to denote a group. And it's accepted by Bio::DB::Relsegment->new() and Bio::DB::GFF->segment() as a glow-up replacement for the -name and -class arguments. so instead of passing two boring args, you pass one cute object. obsessed. π
π METHODS π
π new
Title : new
Usage : $name = Bio::DB::GFF::Featname->new($class,$name)
Function: create a new Bio::DB::GFF::Featname object
Returns : a new Bio::DB::GFF::Featname object
Args : class and ID
Status : Public
π id
Title : id
Usage : $id = $name->id
Function: return a unique ID for the combination of class and name
Returns : a string
Args : none
Status : Public
This one hands you back a unique combo of the name and the class, formatted as "class:name". And coincidentally?? that's the same format AceDB uses. twinning! π―
π name
Title : name
Usage : $name = $name->name
Function: return the name of the Featname
Returns : a string
Args : none
Status : Public
π class
Title : class
Usage : $class = $name->class
Function: return the name of the Featname
Returns : a string
Args : none
Status : Public
(and yes, the Function line for class literally says "return the name of the Featname" β that's what the original says, so that's what you get. no notes. π)
π asString
Title : asString
Usage : $string = $name->asString
Function: same as name()
Returns : a string
Args : none
Status : Public
This method is out here overloading the "" operator β basically it's just name() with extra sparkle. β¨
π clone
Title : clone
Usage : $new_clone = $type->clone;
Function: clone this object
Returns : a new Bio::DB::GFF::Featname object
Args : none
Status : Public
This method makes an exact copy of the object. a little clone army π§ no cap.
π BUGS π
This module is still under development. π it's giving work-in-progress, bestie β tread gently.
π₯ SEE ALSO π₯
bioperlBio::DB::GFFBio::DB::RelSegment
go read those next, iykyk π«Ά
π 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 was Bio::D...atname(3pm) from perl v5.30.0, dated 2020-01-13, under User Contributed Perl Documentation. stay slay, stay documented, and remember: every feature deserves a name. 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