Skip to content

bmeg/grip

Folders and files

NameName
Last commit message
Last commit date
Apr 1, 2025
Nov 15, 2024
Apr 1, 2025
Mar 28, 2025
Feb 6, 2025
Apr 8, 2025
Feb 16, 2021
Apr 1, 2025
Oct 22, 2024
Apr 8, 2025
Apr 1, 2025
Mar 28, 2025
Mar 30, 2025
Jul 15, 2024
Apr 1, 2025
Apr 1, 2025
Apr 1, 2025
Feb 8, 2024
Mar 15, 2024
Apr 1, 2025
Feb 6, 2025
Feb 5, 2025
Feb 9, 2024
Apr 8, 2025
Apr 1, 2025
Apr 1, 2025
Mar 28, 2025
Apr 1, 2025
Apr 1, 2025
Jul 15, 2024
Apr 1, 2025
Aug 24, 2018
Apr 1, 2025
Aug 31, 2022
Sep 19, 2018
Nov 15, 2024
Jun 13, 2017
May 3, 2020
Oct 14, 2021
Mar 30, 2018
Mar 28, 2025
Nov 20, 2024
Apr 1, 2025
Apr 8, 2025
Apr 8, 2025
Dec 6, 2019

Repository files navigation

Build Status License: MIT Godoc Gitter

GRIP

https://bmeg.github.io/grip/

GRIP stands for GRaph Integration Platform. It provides a graph interface on top of a variety of existing database technologies including: MongoDB, PostgreSQL, MySQL, MariaDB, Badger, and LevelDB.

Properties of an GRIP graph:

  • Both vertices and edges in a graph can have any number of properties associated with them.
  • There are many types of vertices and edges in a graph. Thus two vertices may have myriad types of edges connecting them reflecting myriad types of relationships.
  • Edges in the graph are directed, meaning they have a source and destination.

GRIP also provides a query API for the traversing, analyzing and manipulating your graphs. Its syntax is inspired by Apache TinkerPop. Learn more here.

Pathway Commons

To load Pathway commons into a local instance of GRIP, first download the Pathway commons source file.

curl -O https://www.pathwaycommons.org/archives/PC2/v12/PathwayCommons12.All.BIOPAX.owl.gz

Start grip server (using Pebble driver)

grip server --driver=pebble

In another terminal, create the graph

grip create pc12

And load the file, using the RDF loader

grip rdf --gzip pc12 PathwayCommons12.All.BIOPAX.owl.gz -m "http://www.biopax.org/release/biopax-level3.owl#=" -m "http://pathwaycommons.org/pc12/#=pc12:"

Once the graph has been loaded into the database, you can view all of the different vertex and edge types in the graph:

grip list labels pc12

Or run an example query, such as count all of the pathways:

grip query pc12 'V().hasLabel("Pathway").count()'