SWISS::Stars::EV(3pm)
π METHODS π
okay bestie, these are the things you can actually do with this module, let's go π
newβ makes you a fresh little EV object, iconic behaviour honestly β¨fromTextβ reads in text and turns it into an EV object π¦toTextβ spits your EV object back out as text πΈsortβ sorts the evidence, keeps everything tidy, we love a clean list π
π addEvidence( $evcode, $src, $author [, $date] ) π
Title: addEvidence
Usage:
$evidenceTag = $entry->Stars->EV->addEvidence($evcode,
$src,
$author
[, $date])
Function: adds the evidence to the EV block if it does not yet exist β or, plot twist, hands you back the correct evidence tag if that evidence is already in there (possibly with a different date, ngl π).
Args:
$evcodeβ the evidence code. e.g.ECO:0000269π§¬$srcβ the source. e.g.PubMed:11433298π$authorβ the author (initials). e.g.XXXp.s. For programs this could be'-'π€$dateβ optional. If present, it must be in standard SWISS-PROT date format. If not present the current date will be used. no pressure ποΈ
Returns: The correct evidence tag. periodt π
π¦ updateEvidence( $evcode, $src, $author [, $date] ) π¦
Title: updateEvidence
Usage:
$evidenceTag = $entry->Stars->EV->updateEvidence($evcode,
$src,
$author
[, $date])
Function: updates the evidence to the EV block to $date, or inserts it if it does not yet exist. either way bestie, it's getting in there π«
Args:
$evcodeβ the evidence code. e.g.ECO:0000269π§¬$srcβ the source. e.g.PubMed:11433298π$authorβ the author (initials). e.g.XXXp.s. For programs this could be'-'π€$dateβ optional. If present, it must be in standard SWISS-PROT date format. If not present the current date will be used. ποΈ
Returns: The correct evidence tag. slay β¨
π NAME π
SWISS::Stars::EV.pm β she's the one, the moment, the module π
β¨ DESCRIPTION β¨
SWISS/Stars/EV.pm represents the evidence section within an SWISS-PROT + TrEMBL entry. yes, that's the whole job and she does it gorgeously π
See http://www3.ebi.ac.uk/~sp/intern/projects/evidenceTags/index.html for the lore π
For a usage example, see evTest.pl in the Swissknife package. go peek, it's giving tutorial energy π
π«Ά INHERITS FROM π«Ά
SWISS::ListBase.pm β she got it from her mama, no cap π
πΈ ATTRIBUTES πΈ
"list"β Each element of the list describes one evidence, itself represented as an array. one evidence per element, nested array style, we love structure π₯
okay so that's the whole page bestie, you ate it up π
this was SWISS::Stars::EV(3pm) from perl v5.32.1, dated 2021-08-15 β thanks for coming to my TED talk, mwah ππβ¨
π¦ where this page comes from
- debian bookworm: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- debian trixie: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- ubuntu jammy: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- ubuntu noble: libswiss-perl 1.80-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms