SWISS::IDs(3pm)

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

✨ Name ✨

SWISS::IDs.pm β€” bestie, this is the little module that handles your ID lines πŸ’–


πŸ¦‹ Description πŸ¦‹

okay so SWISS::IDs is the whole vibe for representing the ID lines of a SWISS-PROT + TREMBL entry, exactly like the user manual says. no cap, the spec lives right here: http://www.expasy.org/sprot/userman.html β€” go read it, it's giving documentation πŸ‘‘


🌸 Inherits from 🌸

SWISS::ListBase.pm β€” yeah she's a nepo baby, she got all the list energy from her parent πŸ’…


πŸŽ€ Attributes πŸŽ€

  • "list" β€” an array holding a list of all the IDs chillin' with this entry. the first member is the primary ID, and everything after that is secondary IDs β€” and those secondary ones? they are not shown in the public section of the entry πŸ™ˆ lowkey secretive of them.
  • dataClass β€” the data class, and it's giving options:
    • STANDARD or PRELIMINARY for data from releases prior to 9.0
    • Reviewed or Unreviewed for data from later releases
  • moleculeType β€” the molecule type. currently only PRT exists. that's it. that's the whole list. iconic minimalism ✨
  • length β€” the protein length, measured in amino acids. slay, we love a measurable queen 🧚

πŸ’œ Methods πŸ’œ

🌈 Standard methods 🌈

  • new β€” makes a new one, obviously πŸ’«
  • fromText β€” parses stuff in from text πŸ“₯
  • toText β€” spits stuff back out as text πŸ“€
  • sort β€” okay bestie listen up, IDs must never be sorted, so this method does absolutely nothing. BUT it still overwrites the inherited method, so it's out here doing the most while doing nothing. main character energy fr fr πŸ‘‘

πŸ’€ POD ERRORS πŸ’€

not me having to report this... Hey! The above document had some coding errors, which are explained below:

Around line 184:

=over without closing =back
so there's a dangling =over with no =back to match it. it's giving unfinished business 😭 the doc is out here leaving us on read.

and that's the whole page, bestie 🫢 this was SWISS::IDs(3pm) from perl v5.32.1, dated 2021-08-15 β€” stay hydrated, stay sorted (jk, never sort IDs), and go read that userman page πŸ’–βœ¨

πŸ“¦ where this page comes from