-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
78 lines (67 loc) · 1.96 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
includeConfig "$baseDir/conf/aws_batch.config"
manifest {
name = 'Hybrid Assembly'
author = 'Xiandong Meng'
homePage = 'https://github.com/FischbachLab/nf-hybridassembly'
description = 'Hybrid Strain Assembly pipeline for short and long reads'
//mainScript = 'main.nf'
version = '1.0.0'
defaultBranch = 'main'
}
process {
maxRetries = 3
executor = 'awsbatch'
queue = "default-maf-pipelines"
cleanup = true
//container = ''
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'ignore' }
cache = false
}
aws {
region = "us-west-2"
}
//aws.batch.cliPath = '/home/ec2-user/miniconda3/bin/aws'
params{
/*
* Defines the pipeline inputs parameters (giving a default value for each for them)
* Each of the following parameters can be specified as command line options
*/
/* Initialization
--------------------------------*/
reads1 = ""
reads2 = ""
long_reads = ""
output_path = "s3://genomics-workflow-core/Pipeline_Results/hybridassembly/"
//"s3://genomics-workflow-core/Pipeline_Results/hybridassembly/${params.output_prefix}"
coverage = 400
sampleRate = 70
container = 'fischbachlab/nf-hybridassembly:latest'
container_bwa = 'quay.io/biocontainers/bwa:0.7.3a--he4a0461_9'
container_polish ='quay.io/biocontainers/polypolish:0.6.0--hdbdd923_0'
}
docker {
enabled = true
}
profiles {
//awsbatch { includeConfig 'conf/awsbatch.config' }
//conda { process.conda = "$baseDir/environment.yml" }
debug { process.beforeScript = 'echo $HOSTNAME' }
docker { docker.enabled = true }
//singularity { singularity.enabled = true }
//test { includeConfig 'conf/test.config' }
}
timeline {
enabled = false
overwrite = true
file = "$params.output_path/execution_reports/timeline.html"
}
report {
enabled = false
overwrite = true
file = "$params.output_path/execution_reports/report.html"
}
dag {
enabled = false
overwrite = true
file = "$params.output_path/execution_reports/pipeline_dag.html"
}