I want to download the rattus norvegicus annotation database so that my program can do lookups quickly and often without pestering the UCSC MySQL server.
Problem is, the download is just very many .sql files and .gz files: http://hgdownload.cse.ucsc.edu/goldenPath/rn4/database/
Eg.
affyAllExonProbes.sql 15-Mar-2009 14:44 1.5K
affyAllExonProbes.txt.gz 15-Mar-2009 14:44 13M
affyExonTissues.sql 15-Mar-2009 14:42 1.8K
affyExonTissues.txt.gz 15-Mar-2009 14:42 254M
...
There are no instructions on how to use this to recreate the database locally. Is it possible to do in one, or a few bash commands?
Ps. downloading them all in one go isn't a problem.
Thank you. Will accept when I get to try it out. Much appreciated.
you might have to create the mysql database before everything: mysql -u root -p -e 'create database rr5'
... and use LOCAL