SWISS::CCdisease(3pm)

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

πŸ’– NAME πŸ’–

SWISS::CCdisease.pm β€” it's giving "the glow-up era of disease comments," and honestly? We're obsessed.


🌸 DESCRIPTION 🌸

So bestie, SWISS::CCdisease is the whole vibe for a comment on the topic 'DISEASE' inside a Swiss-Prot or TrEMBL entry, exactly as specified in the user manual at http://www.expasy.org/sprot/userman.html. Periodt. πŸ’…

Comments on other topics? Not her problem. Those live in other types of objects, like SWISS::CC (go peek at SWISS::CCs if you want the tea 🍡).

And collectively, comments of every type get stored inside a SWISS::CCs container object. It's a whole friend group in there. 🫢


πŸ¦‹ INHERITS FROM πŸ¦‹

SWISS::BaseClass.pm β€” yeah she got it from her mama, and her mama ate. ✨


πŸ‘‘ ATTRIBUTES πŸ‘‘

  • topic β€” the topic of this comment. And the topic is 'DISEASE'. That's it, that's the whole personality. πŸ’€
  • form β€” the protein form that this comment is about. Heads up: undef/empty means either the canonical/displayed form OR unknown. Lowkey ambiguous, but that's the spec, no cap.
  • disease β€” the name and evidence of the disease (only for the new structured CC diseases, iykyk). It's a reference to an array [ $disease, $disease_ev ]. 🌈
  • disease( $new_disease, $new_disease_ev ) β€” setter moment ✨ sets disease to $new_disease, $new_disease_ev.
  • mim β€” the disease mim id (again, only for the new structured CC diseases).
  • mim( $new_mim ) β€” setter again πŸ’… sets mim to $new_mim.
  • description β€” the disease description (yep, only for the new structured CC diseases).
  • note β€” the note and evidence of the disease (Note= in the new CC disease format, or the full description in the old format). It's a reference to an array of [ $block_txt, $block_ev ] arrays β€” arrays inside arrays, nesting doll realness πŸŽ€
  • note( [[ $block_txt, $block_ev ]...] ) β€” setter for note, to an array of [ $block_txt, $block_ev ] arrays.
  • comment β€” the "text" version of this comment. The glow-up version, if you will. ⭐
  • new β€” constructor energy, no notes.
  • fromText β€” parses text into one of these, iconic behaviour.
  • toString β€” returns a string representation of this comment. Slay. πŸ”₯

πŸ’€ POD ERRORS πŸ’€

Bestie. Not the doc having coding errors 😭😭 They're explained below, so let's get into it:

Around line 213:

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

Around line 252:

=back doesn't take any parameters, but you said =back  =head2
Standard methods
Not me reading =back catching strays from the parser πŸ™ˆ The docs are still valid, the POD is just doing a little too much.

Okay that's the whole page, mwah πŸ’‹ This was SWISS::CCdisease(3pm) from the User Contributed Perl Documentation, and the footer says perl v5.32.1, dated 2021-08-15, filed under SWISS::CCdisease(3pm). Go read it again, you know you want to. πŸ§šπŸ’œ

πŸ“¦ where this page comes from