Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```