File: Snakefile

package info (click to toggle)
snakemake 7.32.4-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,836 kB
  • sloc: python: 32,846; javascript: 1,287; makefile: 247; sh: 163; ansic: 57; lisp: 9
file content (29 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (3)
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
rule all:
    input:
        "blob.txt",
        "test.txt"


rule intermediate:
    input:
        "preblob.txt",
        "pretest.txt",
    output:
        "blob.txt",
        "test.txt",
    shell:
        """
        cp {input[0]} {output[0]}
        cp {input[1]} {output[1]}
        """


rule create:
    output:
        "preblob.txt",
        "pretest.txt"
    shell:
        '''
        echo "test file" > {output[0]}
        echo "test file" > {output[1]}
        '''