Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbarbetti/hello-snakemake
Simple implementation of snakemake to sample and plot data
https://github.com/mbarbetti/hello-snakemake
hello-world matplotlib numpy python snakemake
Last synced: 10 days ago
JSON representation
Simple implementation of snakemake to sample and plot data
- Host: GitHub
- URL: https://github.com/mbarbetti/hello-snakemake
- Owner: mbarbetti
- License: mit
- Created: 2022-08-01T17:09:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-01T20:37:54.000Z (over 2 years ago)
- Last Synced: 2024-10-11T04:51:13.450Z (about 1 month ago)
- Topics: hello-world, matplotlib, numpy, python, snakemake
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello world, snakemake! 🐍
Simple implementation of snakemake to sample and plot data### Contents
1. The rule `sample-rule` produces .npz file containing data sampled accordingly to {'normal', 'uniform', 'exponential', 'lognormal'} distribution
2. The rule `plot-rule` produces a histogram figure filled with the data sampled by the previous snakemake rule
3. The rule `all` produces all the .npz files and the histogram figures### Dependencies
`hello-snakemake` requires:
* snakemake
* NumPy
* Matplotlib### Running example
```shell
snakemake all --forceall
```