Coder Social home page Coder Social logo

reaction-exporter's Introduction

Reaction exporter

Creates diagram files out of single reactions, using the graph database as resource.

Taking a single reaction, this library performs 3 steps:

  1. queries the graph database to retrieve the reaction, its participants and the compartments containing them.
  2. applies an automatic layout to show a left to right view of the reaction, while keeping every participant in its compartment.
  3. generates a diagram (.json) and a graph (.graph.json) files following Reactome specifications.

Usage:

This project can be used as a standalone compiled tool through the provided reaction-exporter.jar file.

java -jar reaction-exporter.jar [--help] [(-h|--host) <host>] [(-p|--port) <port>] [(-u|--user) <user>] (-d|--password) <password> (-s|--stId) <stId> (-o|--path) <path> [(-f|--format) <format>]
  [--help]
        Prints this help message.

  [(-h|--host) <host>]
        The neo4j host (default: localhost)
  [(-p|--port) <port>]
        The neo4j port (default: 7474)
  [(-u|--user) <user>]
        The neo4j user (default: neo4j)
  (-d|--password) <password>
        The neo4j password (default: neo4j)

  (-s|--stId) <stId>
        Reaction stable identifier

  (-o|--path) <path>
        Output path. File will be named 'path'/'stId'.'format'

  [(-f|--format) <format>]
        Output format (default: png)

Or as a maven dependency:

<dependency>
     <groupId>org.reactome.server.tools</groupId>
     <artifactId>reaction-exporter</artifactId>
     <version>1.1.2</version>
</dependency>
<repository>
    <id>pst-release</id>
    <name>EBI Nexus Repository</name>
    <url>https://www.ebi.ac.uk/Tools/maven/repos/content/repositories/pst-release</url>
</repository>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.