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

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

πŸ’– NAME πŸ’–

GO::Model::Association β€” bestie, it's an association between a GO term and a gene product. That's the whole vibe. GO::Model::Association(3pm) is the manual page name, for the record, and it lives in the User Contributed Perl Documentation corner of the world. 🫢


✨ SYNOPSIS ✨

Okay so here's the little starter pack. This is literally copy-paste energy, keep it exact:

# print all gene products associated with a GO::Model::Term
my $assoc_l = $term->association_list;
foreach my $assoc (@$assoc_l) {
  printf "gene product:%s %s %s (evidence: %s)\n",
    $assoc->gene_product->symbol,
    $assoc->is_not ? "IS NOT" : "IS",
    $term->name,
    map {$_->code} @{$assoc->evidence_list};
}

πŸ¦‹ DESCRIPTION πŸ¦‹

It represents an association between a GO term (GO::Model::Term) and a gene product (GO::Model::GeneProduct). Iconic little connector object, honestly. πŸ’…


go_public_acc

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

Yep, that's the whole thing. No notes. πŸ™ˆ


add_evidence

  • Usage β€” - $assoc->add_evidence($my_evid);
  • Returns β€” -
  • Args β€” - GO::Model::Evidence

evidence_list

  • Usage β€” my $ev_l = $assoc->evidence_list;
  • Returns β€” -
  • Args β€” -

gets/sets arrayref of GO::Model::Evidence ✨


evidence_as_str

  • Usage β€” print $assoc->evidence_as_str
  • Usage β€” print $assoc->evidence_as_str(1); #verbose
  • Returns β€” -
  • Args β€” - verbose

concatenates evcodes together, for display πŸŽ€


has_evcode

  • Usage β€” if $assoc->has_evcode("IEA");
  • Returns β€” - boolean
  • Args β€” - evcode [string]

remove_evcode

  • Usage β€” $assoc->remove_evcode("IEA");
  • Returns β€” -
  • Args β€” - evcode [string]

removes all evidence of the specified type from the association; useful for filtering. so real. 🧚


evidence_score

  • Usage β€” my $score = $assoc->evidence_score
  • Returns β€” - 0 <= float <= 1
  • Args β€” -

returns a score for the association based on the evidence;

okay bestie, important: This is an EXPERIMENTAL method; it may be removed in future versions. So don't build your whole personality on it, lowkey. 😭

The evidence fields can be thought of in a loose hierarchy:

TAS
   IDA
      IMP/IGI/IPI
                 ISS
                    NAS

see http://www.geneontology.org/GO.evidence.html β€” go read, iykyk. πŸ”₯


gene_product

  • Usage β€” my $gp = $assoc->gene_product
  • Returns β€” -
  • Args β€” -

gets sets GO::Model::GeneProduct 🌸


assigned_by

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

is_not

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

gets/sets boolean representing whether this relationship is negated. literally the IS NOT toggle, slay. πŸ’…


assocdate

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

assocdate

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

gets/sets integer representing the date of the association (YYYYMMDD format) πŸ“…

yes bestie it's listed twice in the original, and we are keeping every single detail, no cap. πŸ‘―β€β™€οΈ

role_group

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

gets/sets integer to indicate which associations go together πŸ‘‘


and that's the whole page, periodt. this came from the perl v5.36.0 docs, dated 2023-12-18, and the footer calls it GO::Mo...iation(3pm) because apparently even manpage footers get the choppy abbreviation treatment. πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from