forked from sheynkman-lab/Long-Read-Proteogenomics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextflow.config
124 lines (104 loc) · 3.19 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
/*
* -------------------------------------------------
* sheynkman-lab/Long-Read-Proteogenomics Nextflow config file
* -------------------------------------------------
* Default config options for all environments.
*/
// Global default params, used in configs
params {
mainScript = 'main.nf'
config = 'conf/standard.config'
// Workflow flags
max_cpus = 32
outdir = './results'
name = false
gencode_gtf = false
gencode_transcript_fasta = false
gencode_translation_fasta = false
genome_fasta = false
fastq_read_1 = false
fastq_read_2 = false
star_genome_dir = false
sample_ccs = false
primers_fasta = false
hexamer = false
logit_model = false
sample_kallisto_tpm = false
normalized_ribo_kallisto = false
uniprot_fasta = false
uniprot_protein_fasta = false
protein_coding_only = false
refine_cutoff = 0.0
mass_spec = false
// Boilerplate options
help = false
}
profiles {
standard { includeConfig params.config }
test { includeConfig 'conf/test.config' }
toy { includeConfig 'conf/toy.config'}
metamorpheus { includeConfig 'conf/test_metamorpheus.config'}
}
// Ensure that docker is enab
docker.enabled = true
process.container = 'gsheynkmanlab/proteogenomics-base'
// Define the exact container we need to use for the individual processes:
process {
withName: isoseq3 {
container = 'gsheynkmanlab/isoseq3'
}
withName: sqanti3 {
container = 'gsheynkmanlab/sqanti3'
}
withName: cpat {
container = 'gsheynkmanlab/cpat:addr'
}
withName: metamorpheus_with_sample_specific_database{
container = 'smithchemwisc/metamorpheus:lrproteogenomics'
}
withName: metamorpheus_with_gencode_database{
container = 'smithchemwisc/metamorpheus:lrproteogenomics'
}
withName: metamorpheus_with_uniprot_database{
container = 'smithchemwisc/metamorpheus:lrproteogenomics'
}
withName: metamorpheus_with_sample_specific_database{
container = 'smithchemwisc/metamorpheus:lrproteogenomics'
}
withName: mass_spec_raw_convert {
container = 'chambm/pwiz-skyline-i-agree-to-the-vendor-licenses'
}
}
// Export these variables to prevent local Python/R libraries from conflicting with those in the container
env {
PYTHONNOUSERSITE = 1
R_PROFILE_USER = "/.Rprofile"
R_ENVIRON_USER = "/.Renviron"
}
// Capture exit codes from upstream processes when piping
process.shell = ['/bin/bash', '-euo', 'pipefail']
timeline {
enabled = true
file = "${params.outdir}/pipeline_info/execution_timeline.html"
}
report {
enabled = true
file = "${params.outdir}/pipeline_info/execution_report.html"
}
trace {
enabled = true
file = "${params.outdir}/pipeline_info/execution_trace.txt"
}
dag {
enabled = true
file = "${params.outdir}/pipeline_info/pipeline_dag.svg"
}
manifest {
name = 'sheynkman-lab/Long-Read-Proteogenomics'
author = 'Sheynkman Group and Smith Group'
homePage = 'https://github.com/sheynkman-lab/Long-Read-Proteogenomics'
description = 'A workflow for integrating long read RNA-seq and mass spectrometry-based proteomics data to characterize protein isoforms'
nextflowVersion = '>=19.10.0'
version = '1.0dev'
mainScript = params.mainScript
}