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:[email protected]]
Sent: 28 September 2010 02:17
To: [email protected]
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: [email protected]
55-9165-7378
_______________________________________________
Biojava-l mailing list - [email protected]
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.
_______________________________________________
Biojava-l mailing list - [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l