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 returns the correct evidence tag if the evidence already exists,
possibly with a different date.
Args: $evcode: the evidence code. e.g. ECO:0000269
$src: the source. e.g. PubMed:11433298
$author: the author (initials). e.g. XXX p.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.
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.
Args: $evcode: the evidence code. e.g. ECO:0000269
$src: the source. e.g. PubMed:11433298
$author: the author (initials). e.g. XXX p.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.
Name¶
SWISS::Stars::EV.pm
Inherits from SWISS::ListBase.pm¶
Attributes¶
- "list" Each element of the list describes one evidence, itself
represented as an array.