SWISS:...ofactor(3pm)

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

πŸ’… NAME πŸ’…

ok so bestie, welcome to SWISS::CCcofactor β€” it's a Perl module (a 3pm manpage, she's fancy like that) and she's here to hold the COFACTOR comment from a Swiss-Prot or TrEMBL entry. that's it. that's her whole job. and she eats every time. ✨


🌸 DESCRIPTION 🌸

so like, SWISS::CCcofactor represents a comment on the topic 'COFACTOR' inside a Swiss-Prot or TrEMBL entry, exactly as specified in the user manual over at http://www.expasy.org/sprot/userman.html πŸ¦‹

and the way comments on other topics are handled?? they live in totally different types of objects, like SWISS::CC β€” peek at SWISS::CCs if you wanna know more, iykyk πŸ’–

collectively? all the comments of every type get stored inside a SWISS::CCs container object. it's giving group chat energy fr fr. 🫢


πŸ‘‘ INHERITS FROM πŸ‘‘

SWISS::ListBase.pm β€” yes she got it from her mama and she's thriving πŸ’…


✨ ATTRIBUTES ✨

  • topic β€” the topic of this comment, which is 'COFACTOR'. iconic, no notes. πŸŽ€
  • form β€” the protein form that this comment is about. and listen, undef/empty here means canonical/displayed form OR unknown, okay? don't come for me, that's literally what it says. 😭
  • comment β€” the "text" version of this comment, and that means without evidences and new lines. clean. minimal. slay. ✨
  • note β€” the note and evidence (Note= in the new format, or the full description in the old format), and it's a reference to an array of [ $note, $note_ev ] (strings). 🧚
  • elements β€” an array of [name_str, evidence_tags_str], if any. if not, no. πŸ™ˆ
  • structured_names β€” (only for the new structured CC COFACTOR bestie, don't get it twisted) the names as an array of 'name' txt, 'chebi' id, 'ev' string (hash) structures, like e.g.
[ { 'name'->'FAD', 'chebi'->'CHEBI:57692', 'ev'->'ECO:0000250' } ]

look at her. look at the structure. πŸ’œ

  • structured_names( $new_values ) β€” (again, only for the new structured CC COFACTOR) set names with an array of 'name' txt, 'chebi' id, 'ev' string (hash) structures, like the ones the getter version returns. so you can set what you get. symmetrical queen. πŸ”₯

πŸ¦‹ Standard methods πŸ¦‹

🌈 new

no description given, she just is. main character energy. πŸ‘‘

🌈 fromText

also no description. she shows up, she does her thing. πŸ’…

🌈 toString

returns a string representation of this comment. that's the whole vibe. periodt. ✨


πŸ’€ POD ERRORS πŸ’€

hey! so the above document had some coding errors, and they're explained below (not me snitching on the docs, but like, someone has to):

around line 203:

=back doesn't take any parameters, but you said =back  =head1
    Methods

around line 220:

You forgot a '=back' before '=head2'
bestie the POD was NOT passing the vibe check that day 😭 but we still love her.

anyway that's the whole page!! this was perl v5.32.1, dated 2021-08-15, and it's part of the User Contributed Perl Documentation β€” mwah, take care of her, she's doing her best πŸ’–πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from