Hi,
dateCreated is not printed with RichSequence.IOTools.writeGenbank !!
code:
Date now = new Date();
SimpleDateFormat format = new SimpleDateFormat("dd-MMM-yyyy");
SimpleNote n = new SimpleNote(
Terms.getDateCreatedTerm(),
format.format(now).toUpperCase(),1);
seq.getNoteSet().add(n);
created date is printed with writeEmbl and not writeGenbank.
Best
Khalil
LOCUS MMU55555 334 bp mRNA linear ROD 14-SEP-2001
DEFINITION Mus musculus anti-DNA immunoglobulin heavy chain IgG mRNA, antibody
452s.11, partial cds.
ACCESSION U55555
VERSION U55555.1 GI:1872430
KEYWORDS .
SOURCE Mus musculus
ORGANISM Mus musculus
.
----
ID U55555; SV 1; linear; mRNA; STD; ROD; 334 BP.
XX
AC U55555;
XX
DT 31-MAY-2012 (Rel. 0, Created)
DT 14-SEP-2001 (Rel. 0, Last updated, Version 0)
XX
DE Mus musculus anti-DNA immunoglobulin heavy chain IgG mRNA, antibody
DE 452s.11, partial cds.
XX
KW .
XX
OS Mus musculus
OC .
XX
-----
Confidentiality Notice: This e-mail and any files transmitted with it are
private and confidential and are solely for the use of the addressee. It may
contain material which is legally privileged. If you are not the addressee or
the person responsible for delivering to the addressee, please notify that you
have received this e-mail in error and that any use of it is strictly
prohibited. It would be helpful if you could notify the author by replying to
it.
_______________________________________________
Biojava-l mailing list - [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l