Quantcast
Channel: Post Feed
Viewing all articles
Browse latest Browse all 41826

Help needed for local Blast2GO Database Installation on Mac system

$
0
0
Hello and good day everyone, I'd like to install local Blast2GO database into my desktop.  It is mac os x operating system. I already followed the 'Step-by-Step Description' provided on the blast2go website (http://www.blast2go.com/b2gsupport/resources/35-localb2gdb). Actually, this is what I did:
  1. Download this zip file "local_b2g_db" and unzip it 
  2. Install a MySQL Database Server
  3. Download and unzip the following 4 files:
    • go_201405-assocdb-data
    • gene_info
    • gene2accession
    • idmapping.tb
After these three steps were finished, I moved all these files into my working directory at /Users/redspider/b2g. Then I used a script as follows (referred to http://blog.shenwei.me/) to import the data: -------------------------------------------------------------------------------------------------------------------------------------------- #!/bin/sh godbname=go_201405-assocdb-data dbname=b2gdb          dbuser=root                           dbpass=test123                  dbhost=localhost                        dbport=3306                             path=/Users/redspider/b2g echo 1. Create the DB Tables and user mysql -h$dbhost -P$dbport -u$dbuser -p$dbpass < b2gdb.sql echo 2. Import $godbname mysql -h$dbhost -P$dbport -u$dbuser -p$dbpass $dbname < $godbname echo 3. Import gene2accession mysql -h$dbhost -P$dbport -u$dbuser -p$dbpass $d ...

Viewing all articles
Browse latest Browse all 41826

Trending Articles