-
Notifications
You must be signed in to change notification settings - Fork 18
/
nextflow.config
127 lines (109 loc) · 3.11 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
manifest {
name = 'NBIS Genome Annotation Workflow'
author = 'Mahesh Binzer-Panchal'
homePage = ''
description = 'Workflows for assisting in de novo genome annotation.'
mainScript = 'main.nf'
nextflowVersion = '!>=22.10.0'
version = '2.0'
}
params {
// General parameters
outdir = 'results'
subworkflow = ''
genome = "/path/to/genome/assembly.fasta"
// Ab initio training parameters
maker_evidence_gff = "/path/to/maker/evidence.gff"
species_label = 'test_species' // e.g. 'asecodes_parviclava'
codon_table = 1
flank_region_size = 1000
maker_species_publishdir = null
aed_value = [ 0.3 ]
locus_distance = [ 3000 ]
// Annotation preprocessing parameters
// List of lineages to run with busco
busco_lineage = [ 'eukaryota_odb10', 'bacteria_odb10' ]
// local path to busco lineages to avoid downloading each time
busco_lineages_path = null
// Functional annotation parameters
gff_annotation = '/path/to/annotation.gff'
records_per_file = 1000
blast_db_fasta = '/path/to/protein/database.fasta'
merge_annotation_identifier = 'NBIS'
use_pcds = false
// Transcript assembly parameters
reads = "/path/to/reads_{1,2}.fastq.gz"
single_end = false
skip_trimming = false
multiqc_config = "$projectDir/assets/multiqc_conf.yml"
// The default mode of publishing results (see https://www.nextflow.io/docs/latest/process.html#publishdir)
publishDir_mode = 'copy'
}
includeConfig "$projectDir/config/nf-core-defaults.config"
profiles {
uppmax {
executor {
name = 'slurm'
}
params.project = 'snic20XX'
process {
clusterOptions = "-A ${params.project}"
scratch = '$SNIC_TMP'
}
singularity.enabled = true
singularity.envWhitelist = 'SNIC_TMP'
}
conda {
conda.enabled = true
}
mamba {
conda.enabled = true
conda.useMamba = true
}
docker {
docker.enabled = true
docker.runOptions='-u "$( id -u ):$( id -g )"'
docker.registry = 'quay.io'
}
singularity {
singularity.enabled = true
singularity.registry = 'quay.io'
}
gitpod {
executor {
name = 'local'
cpus = 16
memory = 60.GB
}
}
nbis {
executor {
name = 'slurm'
}
process {
scratch = '/scratch'
}
}
test {
includeConfig "$projectDir/config/test.config"
}
pipeline_report {
timeline {
enabled = true
file = "${params.outdir}/pipeline_report/execution_timeline.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_report/execution_report.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_report/execution_trace.txt"
}
dag {
enabled = true
file = "${params.outdir}/pipeline_report/pipeline_dag.mmd"
}
}
}
includeConfig "$projectDir/config/modules.config"