conf.py 1.34 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"],
23
    "quality": ["quality"]
24
}
25

Adam Caprez's avatar
Adam Caprez committed
26
27
# list of resources that can be specified per job (step) in
# the workflow and corresponding Pegasus profile info
28
29
30
31
32
33
34
35
36
resources = {
    "walltime": {
        "namespace": "globus",
        "key": "maxwalltime"
    },
    "memory": {
        "namespace": "condor",
        "key": "request_memory"
    }
Adam Caprez's avatar
Adam Caprez committed
37
38
}

39
40
41
# param keys
param_keys = {
    "required": ["arguments"],
Adam Caprez's avatar
Adam Caprez committed
42
    "optional": resources.keys()
43
44
45
46
}

# workflow order
workflow = ["align", "remove_duplicates", "peak_calling"]
47
48
49
50
51
52
53
54
55
56
57
58

# 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"]
    }
}