SWISS::GeneGroup(3pm)
β¨ NAME β¨
SWISS::GeneGroup.pm β the Perl module that's basically a lil friend group for gene names π (living in the SWISS::GeneGroup(3pm) era of the User Contributed Perl Documentation, iykyk)
πΈ DESCRIPTION πΈ
okay so bestie, listen. A SWISS::GeneGroup object holds all the synonyms for one given gene name. That's it, that's the job. It's giving "I collect every name this gene goes by" energy π
Wanna know what the gene name format actually looks like? Go read SWISS::GNs, it spills all the tea on that.
𧬠INHERITS FROM π§¬
SWISS::BaseClass.pm
and also β plot twist β it implements many methods from SWISS::ListBase.pm too π«Ά
π ATTRIBUTES π
Namesβ every element in this list is aSWISS::GNobject, describing a primary name or a synonym. Lowkey it's just the concatenation of the Name and Synonyms lists, no cap.OLNβ every element in this list is aSWISS::GNobject, describing an OrderedLocusName.ORFNamesβ every element in this list is aSWISS::GNobject, describing an ORFName.
π METHODS π
β Standard methods β
newfromTexttoText
π¦ Specific methods π¦
Nameβ returns the Name, aka the primary name. The main character, fr fr.Synonymsβ returns the Synonyms. The supporting cast πelementsβ concatenates all the elements fromNames,OLNandORFNamesinto a single array. One big happy family π
πΈ List manipulation methods πΈ
so here's the lore: since GeneGroup was a previous implementation of SWISS::ListBase, all the list manipulation methods down below are provided just to facilitate compatibility. They're here for the vibes (and the backwards compat) π«Ά
sizeisEmptyelementsfilterget(deprecated)head(deprecated)tail(deprecated)item(deprecated)push(deprecated)pop(deprecated)shift(deprecated)splice(deprecated)unshift(deprecated)set(deprecated)add(deprecated)
β οΈ heads up bestie: everything marked (deprecated) is deprecated. Still there, still works (probably), but likeβ¦ it's giving legacy. Use with awareness, not with your whole heart π
and that's the whole page, periodt π this lil rewrite rides on perl v5.32.1, dated 2021-08-15 β shoutout to that vintage timestamp, she's iconic, no cap πβ¨
π¦ where this page comes from
- debian bookworm: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- debian trixie: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- ubuntu jammy: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- ubuntu noble: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms