[Biojava-dev] retrieve property "ORIGIN"

kheeteck kheeteck at yahoo.com
Thu Oct 6 08:50:32 EDT 2005


Hi..

Anybody know how to retrieve the annotation property
"ORIGIN"

My code look like this

while(sequences.hasNext()){
try {

seq = sequences.nextSequence();
//Annotation
Annotation anno = seq.getAnnotation();

//print each key value pair
for (Iterator i = anno.keys().iterator(); i.hasNext();
) {
Object key = i.next();

System.out.println(key +" : "+ anno.getProperty(key));
}//for
}//while

It print out the value for each annotation key but for
ORIGIN, there is nothing.

Regards
KheeTeck


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the biojava-dev mailing list