-
Notifications
You must be signed in to change notification settings - Fork 17
/
nextflow.config
133 lines (110 loc) · 3.21 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
128
129
130
131
132
133
/*
* -------------------------------------------------
* 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
coding_score_cutoff = 0.0
mass_spec = false
metamorpheus_toml = false
rescue_resolve_toml = false
sqanti_classification = false
sqanti_fasta = false
sqanti_gtf = false
lower_cpm=3
lower_kb=1
upper_kb=4
min_junctions_after_stop_codon=2
// Boilerplate options
help = false
}
profiles {
standard { includeConfig params.config }
test { includeConfig 'conf/test_with_sqanti.config' }
test_no_sqanti { includeConfig 'conf/test_no_sqanti.config' }
}
// Ensure that docker is enab
docker.enabled = true
process.container = 'gsheynkmanlab/proteogenomics-base'
singularity.autoMounts = true
// Define the exact container we need to use for the individual processes:
process {
withName: isoseq3 {
container = 'gsheynkmanlab/isoseq3'
}
withName: sqanti3 {
container = 'gsheynkmanlab/sqanti3:sing'
}
withName: cpat {
container = 'gsheynkmanlab/cpat:addr'
}
withLabel: metamorpheus {
container = 'smithchemwisc/metamorpheus:lrproteogenomics'
}
withName: mass_spec_raw_convert {
container = 'chambm/pwiz-skyline-i-agree-to-the-vendor-licenses'
}
withName: rename_cds_to_exon {
container = 'gsheynkmanlab/sqanti_protein:sing'
}
withName: sqanti_protein {
container = 'gsheynkmanlab/sqanti_protein:sing'
}
}
// 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
}