-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
53 lines (49 loc) · 1.71 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
// Config inheritance options
params {
generic_config_base = "https://raw.githubusercontent.com/sanger-pathogens/nextflow-commons/"
generic_config_version = "master"
generic_config_url = ""
}
inherit_generic_config()
manifest {
name = 'generate_mags'
author = 'PAM Informatics'
homePage = 'https://gitlab.internal.sanger.ac.uk/sanger-pathogens/pipelines/team162/generate_mags'
description = 'Generate metagenomic assembled genomes (MAGs) using metaWRAP'
mainScript = 'main.nf'
nextflowVersion = '>=21.04.0'
version = 'v0.3.2'
}
params {
outdir = "./results"
manifest = ""
//TODO: Using Sanger-specific paths limits portability, but short of reimplementing the whole generic profile,
// don't know what can be done about this...
bmtagger_db = "/data/pam/software/BMTAGGER_INDEX"
bmtagger_host = "T2T-CHM13v2.0"
publish_host_reads = false
skip_qc = false
fastspades = false
keep_allbins = false
skip_reassembly = false
keep_assembly = false
keep_binning = false
keep_bin_refinement = false
keep_reassembly = false
keep_metawrap_qc = false
lock_phred = false
// LSF options
queue_size = 50
submit_rate_limit = '50/2min'
}
// Helper functions
def inherit_generic_config() {
config_url = params.generic_config_url ? params.generic_config_url : "${params.generic_config_base}/${params.generic_config_version}/configs/nextflow.config"
try {
includeConfig "${config_url}"
} catch (Exception e) {
System.err.println("ERROR: Could not load generic config: ${config_url}")
System.err.println("Encountered the following exception:")
throw e
}
}