conf.py 1.48 KB
Newer Older
1
2
3
4
5
6
# Module directory
job_modules = "jobs/modules/"

# Job params directory
job_params = "jobs/params/"

7
8
9
# Job wrappers directory
job_wrappers = "jobs/wrappers/"

10
11
12
# Job scripts directory
job_scripts = "jobs/scripts/"

13
14
# File extensions
file_extensions = {
15
    "genome_index": ["fa", "fna"],
16
    "fastq": ["fastq", "fastq.gz"],
17
    "sai": ["sai"],
18
19
    "sam": ["sam"],
    "bam": ["bam"],
20
    "bed": ["bed", "narrowPeak", "broadPeak"],
21
    "bwa_genome": ["amb", "ann", "bwt", "pac", "sa"],
22
    "bowtie2_genome": ["1.bt2", "2.bt2", "3.bt2", "4.bt2", "rev.1.bt2", "rev.2.bt2"],
aknecht2's avatar
aknecht2 committed
23
    "quality": ["quality"],
24
25
26
    "qc": ["qc"],
    "pdf": ["pdf"],
    "ccscore": ["ccscore"]
27
}
28

Adam Caprez's avatar
Adam Caprez committed
29
30
# list of resources that can be specified per job (step) in
# the workflow and corresponding Pegasus profile info
31
32
33
34
35
36
37
38
resources = {
    "walltime": {
        "namespace": "globus",
        "key": "maxwalltime"
    },
    "memory": {
        "namespace": "condor",
        "key": "request_memory"
39
40
41
42
    },
    "cores": {
        "namepsace": "pegasus",
        "key": "cores"
43
    }
Adam Caprez's avatar
Adam Caprez committed
44
45
}

46
47
48
# param keys
param_keys = {
    "required": ["arguments"],
Adam Caprez's avatar
Adam Caprez committed
49
    "optional": resources.keys()
50
51
52
53
}

# workflow order
workflow = ["align", "remove_duplicates", "peak_calling"]
54
55
56
57
58
59
60
61
62
63
64
65

# genome info
genomes = {
    "bwa": {
        "base_file": file_extensions["genome_index"],
        "additional_files": file_extensions["bwa_genome"]
    },
    "bowtie2": {
        "base_file": file_extensions["genome_index"],
        "additional_files": file_extensions["bowtie2_genome"]
    }
}