Title: addEvidence
Usage: $evidenceTag = $entry->Stars->EV->addEvidence($category, $type, $initials, $attributes [, $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: $category: the evidence category. Currently one of 'A', 'C', 'I','P'. $type: the evidence type $initials: The initals of the person doing the update. For programs this should be '-'. $attributes: the attributes of the evidence $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.
Title: updateEvidence
Usage: $evidenceTag = $entry->Stars->EV->updateEvidence($category, $type, $initials, $attributes [, $date])
Function: updates the evidence to the EV block to $date or inserts it if it does not yet exist.
Args: $category: the evidence category. Currently one of 'A', 'C', 'I','P'. $type: the evidence type $initials: The initals of the person doing the update. For programs this should be '-'. $attributes: the attributes of the evidence $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.
SWISS::Stars::EV.pm
SWISS/Stars/EV.pm represents the evidence section within an SWISS-PROT + TrEMBL entry. See http://www3.ebi.ac.uk/~sp/intern/projects/evidenceTags/index.html
For a usage example, see evTest.pl in the Swissknife package.
list
Each element of the list describes one evidence, itself represented as an array.