TODO: Badges Will look something like this
- π What is this API ?
- β¨ Production and development links
- π¨ Installation
- π Build
- π³ Docker
- π― Tests
- πΏ Env variables
- βοΈ Code analysis and consistency
- π Releases & Changelog
- π¬ GitHub Actions
- β¨ Misc commands
- Β©οΈ License
- β€οΈ Contributors
Welcome to CPG Flow!
This API provides a set of tools and workflows for managing population genomics data pipelines, designed to streamline the processing, analysis, and storage of large-scale genomic datasets. It facilitates automated pipeline execution, enabling reproducible research while integrating with cloud-based resources for scalable computation.
CPG Flow supports various stages of genomic data processing, from raw data ingestion to final analysis outputs, making it easier for researchers to manage and scale their population genomics workflows.
The production version of this API is available at api.werewolves-assistant.com.
This API is used by the Werewolves Assistant Web App.
The production server is updated automatically with the latest version of the API when a new release is created. (When a new tag is pushed on the main
branch)
The development version of this API is available at preprod.api.werewolves-assistant.com.
This API is used by the Werewolves Assistant Web App.
The development server is updated automatically when a commit is pushed on the develop
branch.
To install this project, you will need to have on your machine :
We recommend to use the node version specified in the .nvmrc
file.
If you don't have pnpm
installed, you can still use npm
for all commands below, but we recommend to use pnpm
for faster and more reliable installs.
Then, run the following commands :
# Install dependencies and Husky hooks
pnpm install
# Run the app in dev mode
pnpm run start:dev
The above command will start the app in development mode and watch for changes on local.
You can also run the app in development mode with Docker, more information in the Docker section.
TODO
TODO
To develop on this project first clone the repository. Then use the make init to setup for development. This will install the pre-commit hooks and requirements.
git clone https://github.com/populationgenomics/cpg-flow.git
make init
TODO
TODO
TODO: Test results and badges here (in more detail). Will look something like this.
Click on the badge below π to see the reports.
You can also check the mutation testing report.
Before testing, you must follow the installation steps.
TODO
TODO
In order to keep the code clean, consistent and free of bad TS practices, more than 300 ESLint rules are activated !
Complete list of all enabled rules is available in the .eslintrc.js file.
Before linting, you must follow the installation steps.
Then, run the following command
# Lint
pre-commit run --all-files
When setting up local linting for development you can also run the following once:
# Install the pre-commit hook
pre-commit install
Multiple tools are set up to maintain the best code quality and to prevent vulnerabilities:
TODO:
TODO:
This project uses GitHub Actions to automate some boring tasks.
You can find all the workflows in the .github/workflows directory.
TODO
TODO
This project is licensed under the MIT License.
There is no contributor yet. Want to be the first ?
If you want to contribute to this project, please read the contribution guide.