I am not an expert, but I think the problem is that you try to create a new Namespace over and over.
You should use singletones instead.
Try to do something like this afet you connect to BioSQL:

Namespace n = (Namespace) RichObjectFactory.getObject(SimpleNamespace.class, new Object[] {namespace});

And then read your genebank like this.

RichSequenceIterator rsi = RichSequence.IOTools.readGenbankDNA(br, n);

Agaian I am not an expert so I might be wrong.
Try and let me know.
Ciao
Guido
_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l

Reply via email to