Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrorEnales committed Jan 24, 2021
1 parent 9172eac commit 37db23b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
![Java CI](https://github.com/BioDWH2/BioDWH2-Neo4j-Server/workflows/Java%20CI/badge.svg?branch=develop) ![Release](https://img.shields.io/github/v/release/BioDWH2/BioDWH2-Neo4j-Server) ![Downloads](https://img.shields.io/github/downloads/BioDWH2/BioDWH2-Neo4j-Server/total) ![License](https://img.shields.io/github/license/BioDWH2/BioDWH2-Neo4j-Server)

# BioDWH2-Neo4j-Server
**BioDWH2** is an easy-to-use, automated, graph-based data warehouse and mapping tool for bioinformatics and medical informatics. The main repository can be found [here](https://github.com/BioDWH2/BioDWH2).

This repository contains the **BioDWH2-Neo4j-Server** utility which can be used to create and explore a Neo4j graph database from any BioDWH2 workspace. There is no need for any Neo4j installation. All necessary components are bundled with this tool.

## Download
The latest release version of **BioDWH2-Neo4j-Server** can be downloaded [here](https://github.com/BioDWH2/BioDWH2-Neo4j-Server/releases/latest).

## Usage
BioDWH2-Neo4j-Server requires the Java Runtime Environment version 8. The JRE 8 is available [here](https://www.oracle.com/java/technologies/javase-jre8-downloads.html).

Creating a database from any workspace is done using the following command. Every time the workspace is updated or changed, the create command has to be executed again.
~~~BASH
> java -jar BioDWH2-Neo4j-Server.jar --create /path/to/workspace
Expand Down
2 changes: 1 addition & 1 deletion src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.unibi.agbi.biodwh2</groupId>
<artifactId>biodwh2-neo4j-server</artifactId>
<version>1.1.7</version>
<version>1.1.8</version>

<build>
<finalName>BioDWH2-Neo4j-Server-v${project.version}</finalName>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void deleteOldDatabase() {
public void createDatabase() {
if (LOGGER.isInfoEnabled())
LOGGER.info("Creating Neo4j database...");
try (Graph graph = new Graph(Paths.get(workspacePath, "sources/mapped.db").toString(), true)) {
try (Graph graph = new Graph(Paths.get(workspacePath, "sources/mapped.db"), true)) {
final HashMap<Long, Long> nodeIdNeo4jIdMap = createNeo4jNodes(graph);
createNeo4jEdges(graph, nodeIdNeo4jIdMap);
} catch (Exception e) {
Expand Down

0 comments on commit 37db23b

Please sign in to comment.