SWISS::Stars::EV(3pm) User Contributed Perl Documentation SWISS::Stars::EV(3pm)
new
fromText
toText
sort
addEvidence($category, $type, $initials, $attributes [, $date])
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.
updateEvidence($category, $type, $initials, $attributes [, $date])
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.
Name
SWISS::Stars::EV.pm
Description
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.
Inherits from SWISS::ListBase.pm
Attributes
"list" Each element of the list describes one evidence, itself represented as an array.
perl v5.10.1 2006-01-26 SWISS::Stars::EV(3pm)