SWISS::DTs(3pm) User Contributed Perl Documentation SWISS::DTs(3pm)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);
perl v5.10.1 2008-07-11 SWISS::DTs(3pm)
Check Out this Related Man Page
SWISS::Stars(3pm) User Contributed Perl Documentation SWISS::Stars(3pm)NAME
SWISS::Stars.pm
DESCRIPTION
SWISS::Stars represents the ** lines within an SWISS-PROT + TrEMBL entry. These are the lines with the line tag ** which are normally not
publicly visible.
SWISS::Stars is a master object like SWISS::Entry. It contains subobjects which represent the different line types in the ** section. Each
line type has a two letter tag in addition to the ** line tag. This module has been written to allow easy addition of new ** line types. To
use a new ** line tag, just use the tag as an object dereference. Example:
$entry->Stars->XX->add("New XX tag line.","Second new XX tag line.");
If there is no class SWISS::Stars::XX, the class of the new object will be SWISS::Stars::default, which handles lines with the
corresponding tag as an array of lines. If more specific handling is required, a new class SWISS::Stars::XX can be created following the
template of SWISS::Stars::default. An example is SWISS::Stars::aa.
Subclass names and new line tags have to be two-letter-tags. No checks are made wheter the dereferenced tag is allowed.
Access to the (old) unstructured ANNOTATOR'S SECTION is provided by the line tag 'aa'.
$entry->Stars->aa->add("Testline 1.","Second new test line.");
will add these two lines to the ANNOTATOR'S SECTION.
Inherits from
SWISS::BaseClass.pm
Attributes
No public attributes apart from the subclasses.
Methods
Standard methods
new
fromText
toText
update
perl v5.10.1 2006-01-26 SWISS::Stars(3pm)
Hi
I want to add the date to a filename in a script I have.
So I want
exp myfile01-FEB-2005.dmp
How do I get the 01-FEB-2005 in there?
Cheers
Rich (3 Replies)
Hi All.
I have the following datafile on which I am running the awk script
H|00000013|08-MAY-2006|||43
L|BP|OTH001138|PO|C000020|EA
|PQ||0||13-FEB-2006
|FI||3000||29-MAY-2006
|MT||9000||17-JUL-2006
F|3000|C|W|08-MAY-2006
F|5000|D|W|05-JUN-2006
F|1000|D|W|26-JUN-2006
But I am not... (2 Replies)
I have 2 files that I need to combine.
One file is looks like this:
71664107;1;1;05-FEB-07;12-FEB-07;
The other file looks like this:
U;71664107;dummy;Pirovano;M;04-SEP-75;Georgia;MI;1;1;31;S;S;;;Y;05-02-2007;0;12-FEB-07;
I need to combine both files together. I need the shorter... (4 Replies)
I wan to convert any field having date in the file from the follwoing format 5/1/2003 to 2003-05-01. This file is tab delimited. Please help. (2 Replies)
Hi All,
Can anyone tell me a simple way of converting a date in ddmmyyyy format to dd-mmm-yy format.
For example
17022006 to 17-FEB-06
Thanks in advance
Regards,
Gaurav (11 Replies)
Hi...
I have this sql script and i have spool this output to the name backup_status.log
START_TIM END_TIME STATUS
--------- --------- -----------------------
14-JUL-08 14-JUL-08 COMPLETED WITH ERRORS
How to use IF statement in order to cut and email the status if the status for that day... (1 Reply)
Hi All,
Need your help in converting a date format in ksh.
I'm currently working on SUN os where my script is getting a date from a table.
The result returns to ksh in this format: 17-JUL-08
How do i convert this string to a date format like yyyymmdd?
I tried #!/bin/ksh
d="17-JUL-08"... (5 Replies)
Hi
i need to convert a date in the format DD-Mon-YY to YYYYDDMM
Ex : 01-JUL-00 to 20000701
Can anybdy help me with this??
Thanks in advance
Shenaz (5 Replies)
Hi All
I have a file.Below are few records of the file.
sample.txt
CPS,ES,843232910001,ESF81462,W N LINDSAY LTD,01674840629,09-FEB-2009,23-FEB-2009,CDR735,ALL CALLS,01674840629
CPS,ES,843232670001,ESF81462,W N LINDSAY LTD,01674840629,09-FEB-2009,23-FEB-2009,CDR734,ALL... (2 Replies)
Hi,
I have the string like this ". Start : 06:53:11 - MON JUL 05, 2010"
I need to print the part "06:53:11 - MON JUL 05, 2010"
How i can do this?
Thanks,
Lenova (2 Replies)
My file looks like this....
User:SYSTEM,O/S User:oracle,Process:3408086,Machine:hostname ,Program:sqlplus@hostname (TNS V1-V,Logon Time:25-JUL-20
14 13:36
I want to get the date and time which is displayed after the 'Logon time'. (5 Replies)