Skip to content

michalogit/snakemaketax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snakemaketax example

Here we simulate in a very simplified way processing of the tax declations. The snakemake workflow is run for every *_a.txt file in the data directory. To this file is added by concatenation another one with *_a.txt and placed in the folder data_processed. The report is packed in the envelope of the tax office *_e.txt file. Then, when all the final reports are produced in the reports folder, a marker file is produced for the completion of the work.

Install the minimal snakemake in your environment with conda

conda install -c bioconda -c conda-forge snakemake-minimal

Clone the exercise repo

git clone https://github.com/michalogit/snakemaketax.git
cd snakemaketax

Use the simple Snakefile for the first workflow run

cp Snakefile1 Snakefile

Do the dry run

snakemake -np

and the real run

snakemake -p

you can produce the graph too

snakemake --dag > graph1.dag
dot -Tpdf graph1.dag > graph1.pdf

graph1

The same exercise with the more complex Snakefile

cp Snakefile2 Snakefile

graph2

About

Snakemake example - Swiss taxes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published