Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Latest commit

 

History

History
35 lines (26 loc) · 908 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 908 Bytes

tree2neo

A tool to import Tree files produced by FastTree to a Neo4j Graph database.

This tool does the following:

  • Starts up a Neo4j docker container
  • Downloads the reference database in the /data directory of the container
  • Gets TREE files from a provided directory
  • Maps and loads the TREE data in Graph database

Usage

Clone this repository:

$ git clone https://github.com/SANBI-SA/tree2neo.git
$ cd tree2neo
  • Standalone 💻 :

    $ virtualenv envname
    $ source envname/bin/activate
    $ pip install -r requirements.txt
    $ pip install --editable .
    $ tree2neo --help
    $ tree2neo init -d data/tree data/db/data
    
  • Using docker/docker-compose 🐳 :

    $ docker-compose up --build -d