In order to follow this guide you have to install BioNetDB in your system. Please, please follow the steps on installation guide and set it up.
Download test data
Users can download test data from the following link. Download the tar.gz file and uncompress in your system. Once uncompressed, you should see the following files:
genes.json.gz
proteins.json.gz
mirna.csv
hsapiens.biopax.owl
1k.clinvar.json
5k.variants.json
Import genomic data
Before you query BioNetDB database, you have to populate it by importing your data into the Neo4j database. BioNetDB provides a command line interface to import data. First, you prepare your data, and then, you load into the BioNetDB database:
Prepare your data, i.e., transform your genomic data files into Neo4j CSV files:
Load the create Neo4j CSV files into the database:
Load CSV files
./bionetdb.sh import -i <csv-directory>
Accesing BioNetDB from Neo4j browser interface
You can access to your BioNetDB database from the Neo4j browser interface. Open your regular internet browser and type http://localhost:7474:
Now that you can access the BioNetDB database, you can start working with your imported data using the Cypher query language. For a Cypher tutorial, please refer to Intro to Cypher by the Neo4j Team.
As examples, here you have some Cypher queries to the BioNetDB data model: