conf.py 1.38 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
23
    "bowtie2_genome": ["1.bt2", "2.bt2", "3.bt2", "4.bt2", "rev.1.bt2", "rev.2.bt2"],
    "quality" : ["quality"]
24
}
25

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

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

# workflow order
workflow = ["align", "remove_duplicates", "peak_calling"]
44
45
46
47
48
49
50
51
52
53
54
55

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