Query Genbank Using A Mysql Interface
1
0
Entering edit mode
10.6 years ago
arronslacey ▴ 320

Hi - how can I query genbank using a mysql type interface, so that I can bring back sequences of interest based on a sub-string of the Definition field? or what is the least painful way to download all proteins in genbank and put them into a mysql file? even just download the flat file database and I can work out the rest from there.

thanks

mysql genbank • 4.4k views
ADD COMMENT
1
Entering edit mode
10.6 years ago

As far as I remember, NCBI uses Sybase(?) ( http://www.ncbi.nlm.nih.gov/books/NBK21081/ outdated ? ) : you cannot query it using a mysql client

. Retrieval of full documents comes from a variety of “back-end” databases, depending on the node. These might be Sybase or Microsoft SQL Server relational databases of a variety of schemas or text files of various formats. Links are supported using the Sybase IQ database product.

You should use the E-Utilities: http://www.ncbi.nlm.nih.gov/books/NBK25500/

or what is the least painful way to download all proteins in genbank and put them into a mysql file

ftp://ftp.ncbi.nih.gov/genbank/

ADD COMMENT
1
Entering edit mode

NCBI is Microsoft SQL Server.

ADD REPLY
0
Entering edit mode

thanks pierre this is great.

ADD REPLY

Login before adding your answer.

Traffic: 2233 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6