Skip to content

A CLI for exporting a subset of the HRA Knowledge Graph to UBKG format

License

Notifications You must be signed in to change notification settings

x-atlas-consortia/hra-ubkg-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HRA UBKG Exporter

A CLI for exporting a subset of the HRA Knowledge Graph to UBKG format.

Quick Start

Once installing Node.js v18+ with NPM, you can run

npx github:x-atlas-consortia/hra-ubkg-exporter --help

to run the code without checking out the code manually with github.

Steps to install the software

Prerequisites

  • Node.js v18+ (for native fetch support)

1. Clone the repo

$ git clone https://github.com/x-atlas-consortia/hra-ubkg-exporter.git
$ cd hra-ubkg-exporter

Or check out the same with Visual Studio Code or GitHub Desktop

2. Setting up the software

$ npm ci

3. Interacting with the software

The software can be interacted with a terminal. CLI options below:

Usage: hra-ubkg-exporter [options] <output folder>

Export the HRA to UBKG nodes/edges format.

Options:
  --version <version>  HRA version to export (default: "latest")
  --compress           compress the nodes and edges output
  -h, --help           display help for command

About

A CLI for exporting a subset of the HRA Knowledge Graph to UBKG format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published