Entering edit mode
11.7 years ago
abhishalovers
•
0
How to dynamically access data from NCBI database using biojava?
How to dynamically access data from NCBI database using biojava?
I am sure new Biojava (3.0+) implements some methods, but I had a good experience fetching sequences with 1.8.2 version using RichSequenceDB class http://www.biojava.org/docs/api1.8.2/org/biojavax/bio/db/ncbi/GenbankRichSequenceDB.html. You'll need to instantiate the class and use the getRichSequence("accession") method. Also, NCBI provides an advanced toolkit for Java using Axis2: http://www.ncbi.nlm.nih.gov/books/NBK55696/.
I always use R package named as GEOquery to get data from NCBI.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
why do you need BioJava ? A simple call with java.net.URL is enough.