forked from blobtoolkit/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_reads.smk
48 lines (36 loc) · 923 Bytes
/
add_reads.smk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""
https://github.com/blobtoolkit/insdc-pipeline
https://blobtoolkit.genomehubs.org/pipeline/
Pipeline to run add reads to an existing BTK run
------------------------------------------------
Requirements:
- Conda (https://conda.io/docs/commands/conda-install.html)
- SnakeMake (http://snakemake.readthedocs.io/en/stable/)
Basic usage:
snakemake -p \
--directory ~/workdir \
--configfile example.yaml \
-s add_reads.smk
-j 60
Author:
Richard Challis
Contact:
License:
© 2021 Genome Research Limited, MIT License
"""
import os
include: 'scripts/functions.py'
working_dir = os.getcwd()
parent_dir = os.path.dirname(working_dir)
inputs = [
"%s/minimap.stats" % parent_dir,
"%s/blobtools.stats" % parent_dir,
"%s/view.stats" % parent_dir
]
rule all:
"""
Dummy rule to define output
"""
input: inputs
include: "rules/run_sub_pipeline.smk"