forked from Sage-Bionetworks-Workflows/nf-dynamic-challenge
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nextflow.config
74 lines (70 loc) · 1.99 KB
/
nextflow.config
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
docker {
enabled = true
runOptions = '-v /var/run/docker.sock:/var/run/docker.sock'
}
manifest {
name = 'Sage-Bionetworks-Challenges/nf-synapse-challenge'
author = 'Thomas Yu'
homePage = 'https://github.com/Sage-Bionetworks-Challenges/nf-synapse-challenge'
description = 'Nextflow Monorepo for Challenges hosted on Synapse'
mainScript = 'main.nf'
nextflowVersion = '>=19.04.0'
version = '0.0.1'
defaultBranch = 'main'
}
process {
errorStrategy = 'retry'
maxRetries = 3
}
profiles {
test {
params.send_email = false
}
dynamic_challenge {
params.view_id = "syn52658661"
params.testing_data = "syn53627077"
params.scoring_script = "dynamic_challenge_score.py"
params.validation_script = "dynamic_challenge_validate.py"
params.email_script = "dynamic_challenge_send_email.py"
}
pegs_challenge_validate {
params.project_name = "PEGS DREAM Challenge"
params.view_id = "syn57373526"
params.data_folder_id = "syn61464987"
params.goldstandard_id = "syn58734682"
params.private_folders = "predictions"
params.challenge_container = "ghcr.io/sage-bionetworks-challenges/pegs-evaluation:latest"
params.email_script = "send_email.py"
}
pegs_challenge_test {
params.project_name = "PEGS DREAM Challenge"
params.view_id = "syn58942525"
params.data_folder_id = "syn61485785"
params.goldstandard_id = "syn58888786"
params.private_folders = "predictions"
params.challenge_container = "ghcr.io/sage-bionetworks-challenges/pegs-evaluation:latest"
params.send_email = true
params.email_with_score = "no"
}
tower {
process {
withName: RUN_DOCKER {
memory = 32.GB
cpus = 8
}
withLabel: flexible_compute {
cpus = { 4 * task.attempt }
memory = { 16.GB * task.attempt }
}
}
}
local {
process {
withName: RUN_DOCKER {
memory = 16.GB
cpus = 4
}
}
}
}
aws.batch.volumes = [ '/var/run/docker.sock:/var/run/docker.sock', '/tmp:/tmp' ]