[Biojava-l] NCBISequenceDB getSequence failed

Richard Holland holland at ebi.ac.uk
Fri Jun 15 14:44:32 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

NCBISequenceDB is deprecated since 1.5 and no longer supported.

Use Gen{bank,pept}SequenceDB instead in the org.biojavax.bio.db.ncbi
package.

cheers,
Richard

Christian Köberle wrote:
> Hi,
> 
> I try to download Sequences via NCBISequenceDB, but is dos not work. I
> get an Error: org.biojava.bio.BioException: Could not read sequence
> I try also with the 1.5 BIO-JAVA but it also not work. I found that the
> BIO-JAVA start a request with on with this URL:
> http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=text&db=nucleotide&uid=NM_000530&dopt=FASTA
> the result is a XML, but BIO-JAVA expect a FASTA fil [at
> org.biojava.bio.seq.io.StreamReader.nextSequence(StreamReader.java:105)].
> It looks like that NCBI has changed the API.
> 
> Christian
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcqXP4C5LeMEKA/QRAunHAJ4qL/lUct9oFhLbFKT5blohmcQkhACfYsE8
T26+k7vzgTNirt7Caof0ChQ=
=w1IH
-----END PGP SIGNATURE-----



More information about the Biojava-l mailing list