Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clinical-genomics/hermes
Communication layer between CG and the pipelines.
https://github.com/clinical-genomics/hermes
Last synced: 6 days ago
JSON representation
Communication layer between CG and the pipelines.
- Host: GitHub
- URL: https://github.com/clinical-genomics/hermes
- Owner: Clinical-Genomics
- Created: 2020-12-07T09:24:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T07:01:26.000Z (9 months ago)
- Last Synced: 2024-04-08T08:24:54.888Z (9 months ago)
- Language: Python
- Homepage: https://clinical-genomics.github.io/hermes/
- Size: 1.2 MB
- Stars: 1
- Watchers: 13
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Hermes
![Tests][tests-badge] [![codecov][codecov-badge]][codecov-url][![CodeFactor][codefactor-badge]][codefactor-url][![Code style: black][black-badge]][black-url]Hermes :postal_horn: is a package to handle the communication between workflows and CG.
The name [Hermes][hermes-name] comes from greek mythology, he was considered to be the messenger between the humans and the gods, feel free to interpret that as you like:). Hermes was moving swiftly between the worlds aided by his winged sandals.
## Local Installation
### Pypi
```
pip install cg-hermes
```### Github
Install [poetry][poetry]
```
git clone https://github.com/Clinical-Genomics/cg-hermes
poetry install
```## Contributing
Please check out our [guide for contributing to Hermes](CONTRIBUTING.md).
## Deployment
1. See [DEPLOYMENT.md](https://github.com/Clinical-Genomics/hermes/blob/main/DEPLOYMENT.md)
# Usage
## Deliverables
Each workflow specifies its output, or result files, in some way. CG wants to have this input in a certain way to know how to fetch files from housekeeper etc. Hermes is used to convert the deliverables specification from the workflow to the CG format so that CG safely can store the information without parsing different files in different ways.
Also, this is the place where workflow developers can communicate around tags, what to deliver etc without understanding how CG works.
## Starting workflows
I think it would be a good idea to have Hermes starting the workflows as well as it is the workflow developers who know this best, following the reasoning above.
[black-badge]: https://img.shields.io/badge/code%20style-black-000000.svg
[black-url]: https://github.com/psf/black
[codefactor-badge]: https://www.codefactor.io/repository/github/clinical-genomics/hermes/badge
[codefactor-url]: https://www.codefactor.io/repository/github/clinical-genomics/hermes
[tests-badge]: https://github.com/Clinical-Genomics/hermes/workflows/Tests/badge.svg
[codecov-badge]: https://codecov.io/gh/Clinical-Genomics/hermes/branch/main/graph/badge.svg?token=MA62EOQTX7
[codecov-url]: https://codecov.io/gh/Clinical-Genomics/hermes
[hermes-name]: https://en.wikipedia.org/wiki/Hermes
[poetry]: https://python-poetry.org/docs/#installation