[Biojava-l] headers .gbk[Scanned]
Jolyon Holdstock
jolyon.holdstock at ogt.co.uk
Tue Sep 28 09:49:48 UTC 2010
Hi,
The db_xref annotations aren't picked up (please correct me if I'm
wrong) so depending on how many files you are handling one way is to
change all the gene ID annotations from:
/db_xref="GeneID:1095448" to /GeneID="1095448"
You can then create a ComparableTerm to extract these:
ComparableTerm geneIDTerm =
RichObjectFactory.getDefaultOntology().getOrCreateTerm("GeneID");
There is an example in the cookbook on how you can use this:
http://www.biojava.org/wiki/BioJava:Cookbook:Annotations:List2
hope this helps,
J
-----Original Message-----
From: Alex Silva [mailto:asandro1501 at gmail.com]
Sent: 28 September 2010 02:17
To: biojava-l at biojava.org
Subject: [Biojava-l] headers .gbk[Scanned]
Good evening,
I need a code to read the headers of a file .Gbk. I need to locate the
occurrences of geneid. Can anyone help me?
--
Alex Silva
G.R.A. Sistemas Corporativos
msn: gra.sistemas at hotmail.com
55-9165-7378
_______________________________________________
Biojava-l mailing list - Biojava-l at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/biojava-l
This email has been scanned by Oxford Gene Technology Security Systems.
This email has been scanned by Oxford Gene Technology Security Systems.
More information about the Biojava-l
mailing list