Skip to content

Knowledge-Graph-Hub/kg-microbe

Repository files navigation

alt text

KG-Microbe -- Knowledge graph construction for microbial traits and beyond

Conference paper

Semantic Scholar

Documentation

KG-Microbe @KG-Hub

Monthly builds

Setup

  • Create a vrtual environment of your choice.
  • Install poetry using pip install poetry
  • poetry install
  • git clone https://github.com/Knowledge-Graph-Hub/kg-microbe.git
  • cd kg-microbe

Download resources needed

  • poetry run kg download : This will download the resources needed for this project.

Transform

  • poetry run kg transform: This transforms the resources into knowledge graphs (KGs).

Merge

  • poetry run kg merge: This merges all transformed graphs above.

Release

Requirements

In order to be able to make KG releases on this repository, you'll need:

  • Appropriate permissions to this repository.
  • A Github token that has permissions on this repository. This is how you set it in GitHub. Make sure your token has access to this project.
  • Save this token locally assigned to the environemnt variable GH_TOKEN
    export GH_TOKEN = XXXX
    or add it to your ~/.bash_profile or ~/.bashrc file.

Contributors

Please remember to run poetry run tox before every commit to make sure the code you commit is error-free.

Acknowledgements

This cookiecutter project was developed from the kg-cookiecutter template and will be kept up-to-date using cruft.