GO::Mo...iation(3pm)
π 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
- debian trixie: libgo-perl 0.15-10 Β· Perl
- ubuntu noble: libgo-perl 0.15-10 Β· Perl
- ubuntu resolute: libgo-perl 0.15-10 Β· Perl
- ubuntu stonking: libgo-perl 0.15-10 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms