GO::Mo...roduct(3pm)

πŸ“¦
version 0.15 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

GO::Model::GeneProduct β€” a gene product in a particular species, bestie. It's giving "the thing the gene makes" energy. 🌸


✨ DESCRIPTION ✨

Okay so real talk: this class represents a gene product in a particular species.

And here's the tea β€” it will effectively always be referred to implicitly by the gene symbol, even though a gene may have >1 product. Yeah. One gene, multiple products, and we still just call it by its symbol. It's giving main character energy for the symbol honestly. πŸŽ€


πŸ¦‹ acc

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

πŸ¦‹ symbol

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

πŸ¦‹ type

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

πŸ¦‹ full_name

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

πŸ¦‹ as_str

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

πŸ¦‹ add_synonym

(no further deets, bestie, it just exists and we respect it) πŸ’œ

πŸ¦‹ synonym_list

accessor: gets/set list of synonyms [array reference]

There it is. Array reference. No cap. πŸ“

πŸ¦‹ speciesdb

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

πŸ¦‹ add_seq

  • Usage β€” -
  • Returns β€” -
  • Args β€” GO::Model::Seq

πŸ¦‹ seq_list

  • Usage β€” -
  • Returns β€” GO::Model::Seq listref
  • Args β€” -

πŸ¦‹ seq

  • Usage β€” -
  • Returns β€” GO::Model::Seq
  • Args β€” -

And like, the actual point of this one: returns representative sequence object for this product. periodt. ✨

πŸ¦‹ properties

  • Usage β€” -
  • Returns β€” hashref
  • Args β€” hashref

πŸ¦‹ set_property

  • Usage β€” $sf->set_property("wibble", "on");
  • Returns β€” -
  • Args β€” property key, property scalar
🚨 note: the property is assumed to be multivalued, therefore $sf->set_property($k, $scalar) will add to the array, and $sf->set_property($k, $arrayref) will set the array. so like, scalar = append, arrayref = full replace. iykyk. πŸ’…

πŸ¦‹ get_property

  • Usage β€” -
  • Returns β€” first element of the property
  • Args β€” property key

πŸ¦‹ get_property_list

  • Usage β€” -
  • Returns β€” the property arrayref
  • Args β€” property key

πŸ¦‹ to_fasta

  • Usage β€” -
  • Returns β€” -
  • Args β€” -

returns the longest seq by default. like, it's picking the icon of the bunch. πŸ‘‘


That's the whole vibe, bestie β€” every method, every arg, every arrayref, all of it. 🫢

This was GO::Model::GeneProduct(3pm), straight out of the User Contributed Perl Documentation, and it's living in perl v5.36.0 from the iconic date 2023-12-18. slay, go off, and go read your docs. πŸ’–βœ¨πŸŒˆ

πŸ“¦ where this page comes from