Database Download
The dump of GenomicKB database is freely available for academic users by following the download link. Commercial/nonacademic users, please reach out to us by clicking ‘contact’ on the same download link.
Access to the database is managed by Innovation Partnerships at the University of Michigan. Please follow the instructions to download.
- Choose the version you prefer to download and click the link in the “Database Dump” column in the table. You will be guided to GenomicKB’s FlintBox Page.
- After reading and confirming the in licensing information, click “BUY” in the bottom to submit a request form.
- The GenomicKB team will review your form within 3 working days. If approved, a link for the dump of the database will be sent to your mailbox.
Neo4j Environment Settings
Before using the dump, you need to set up neo4j environment, which requires downloading the neo4j platform and java 11. Please skip this section if you’ve already had a neo4j server.
Neo4j Installation: Choose free Neo4j Community Server Edition 4.4 based on your own Operating System. In the sections below, follow the instructions for community edition.
Java 11 Installation: Scroll down to choose Java 11 and download the correct version based on your own Operating System.
Load Neo4j Database Dump
Once the environment is set up, follow the instructions below to load the dump of GenomicKB into your server, replace <…>
with your own content:
- Open your terminal and run this command to go to the folder of neo4j server.:
cd <input the path to the neo4j server directory>
- Load dump file with the following command:
If you are using a community edition:
./bin/neo4j-admin load --from=<input the path to the downloaded neo4j dump file> --database=neo4j --force
Attention: Neo4j community edition only hosts one database. Running this command will overwrite your previous neo4j database.
If you are using an enterprise edition:
./bin/neo4j-admin load --from=<input the path to the downloaded neo4j dump file> --database=<input a name for your database>
Attention: If you are replacing an existing database, you should specify --force
at the end of the above command. Otherwise, you must create a database after the load operation completes. See Create a DBMS from a Dump File section.
Ideally, you’ll see this message if the dump file is successfully loaded:
Done: <some number> files, <some number> GiB processed
To experiment with the dump database, see Test Dump Database section.
Notes: If you are using Neo4j v5, you have to migrate the dump database. Please refer to Neo4j documentation: Migration for more information.
For more details, please refer to Neo4j documentation: Restore-dump.
Create a DBMS from a Dump File
You can either create a database against the system database in the neo4j browser, or use the Neo4j Desktop.
Neo4j Browser
- Start neo4j from terminal with command:
./bin/neo4j console
- Open the neo4j browser, by default the url should be http://localhost:7474/.
- Type in the following commands:
:USE system
CREATE DATABASE <name>;
For more details about the CREATE DATABASE command, please refer to Neo4j documentation: Databases
Neo4j Desktop
In Neo4j Desktop, add the dump file to the File section for the DBMS. From the File section, open ...
the drop-down menu and select Create new DBMS
from dump.
For more details, please refer to Neo4j documentation: Creat from dump.
Test Dump Database
- Start neo4j from terminal with command:
./bin/neo4j console
- Open the neo4j browser, by default the url should be
http://localhost:7474/
. If you’ve changed the port in configuration, replace 7474 with your configuration. - Choose
bolt://
instead ofneo4j://
in the drop down menu, and type inlocalhost:7687
. If you’ve changed the port in configuration, replace 7687 with your configuration. - If it’s the first time you open the neo4j browser, type in neo4j for both username and password. Neo4j browser will then ask you to change the password. Otherwise, please type in your own password.
- Click connect and you should be able to see nodes and edges on the left panel.
- Visit GenomicKB Data API Doc or Neo4j Cheat Sheet for detailed instructions on how to write a query. Neo4j Cheat Sheet