Name
SWISS::DTs
Description
SWISS::DTs represents the DT lines within an Swiss-Prot + TrEMBL entry as specified in the user manual http://www.expasy.org/sprot/userman.html .
Inherits from
SWISS::BaseClass.pm
Attributes
- "CREATED_date"
-
Creation date
- "ANN_date"
-
Last annotation update
- "SQ_date"
-
Last Sequence update
- "CREATED_rel"
-
Created for release
- "ANN_rel"
-
Last annotation for release
- "SQ_rel"
-
Last sequence update for release
- "ANN_version"
-
Version number for entry annotation
- "SQ_version"
-
Version number for sequence
Methods
Standard methods
- new
- fromText
- toText
- sort
Writing methods
- set_Created ($date, $release)
- set_AnnotationUpdate ($date, $release[, $version])
- set_SequenceUpdate ($date, $release[, $version])
TRANSITION
The format of the DT line will change in early 2004 from:
DT 01-JUL-1993 (Rel. 26, Created)DT 01-JUL-1993 (Rel. 26, Last sequence update)DT 28-FEB-2003 (Rel. 41, Last annotation update)
to:
DT 01-JUL-1993, integrated into UniProtKB/Swiss-Prot.DT 01-JUL-1993, sequence version 36.DT 28-FEB-2003, entry version 54.
This module supports both formats. To convert an entry from the old to the new format, do:
$entry->DTs->CREATED_rel("UniProtKB/Swiss-Prot");$entry->DTs->ANN_version(54);$entry->DTs->SQ_version(36);