Skip to content

Installation

phamongi edited this page Aug 9, 2024 · 2 revisions

Package installation

Python 3.10 recommended

PyPI

pip install ontosunburst

Local

Requirements

  • numpy>=1.26.1
  • plotly>=5.17.0
  • scipy>=1.11.3
  • SPARQLWrapper>=2.0.0
  • pandas>=1.5.3

Inside the cloned repository :

pip install -r requirements.txt
pip install -e .

Set up Jena SPARQL server (optional : for ChEBI and GO)

Requirements

Need Apache Jena Fuseki SPARQL server for ChEBI and GO requests and their OWL files.

Utilisation

Execute followed bash script to launch server.

ChEBI

#!/bin/bash

FUSEKI_PATH=/path/to/apache-jena-fuseki-x.x.x
CHEBI_PATH=/path/to//chebi_lite.owl

${FUSEKI_PATH}/fuseki-server --file=${CHEBI_PATH} /chebi

GO

#!/bin/bash

FUSEKI_PATH=/path/to/apache-jena-fuseki-x.x.x
GO_PATH=/path/to/go.owl

${FUSEKI_PATH}/fuseki-server --file=${GO_PATH} /go