-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
executable file
·122 lines (104 loc) · 3.02 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
// Configuration file for sc-rna-10x pipeline
params {
/*
=====================
SET THE FOLLOWING 2 (OR 3) VARIABLES MANUALLY
=====================
*/
// Project ID (2021_XXX) or Run ID (date: e.g. YYMMDD-sc-rna-10x)
metaid = "xmetaidx"
// Folder of experiment raw data
runfolder = "xrunfolderx"
// Custom Genome - if not Human/Mouse standard ref
custom_genome = "xcustomgenomex"
// demux - set to 'n' if fastq already generated (they should then be in FQDIR)
demux = 'xdemuxx'
// bcl2fastq arguments - e.g. "--minimum-trimmed-read-length 20 --mask-short-adapter-reads 20"
bcl2fastqarg = "xbcl2fastqargx"
// Sample Sheet (Must be in the specified runfolder!)
ssheet = "xsamplesheetx"
// Index type ('dual' or 'single')
index = "xindextypex"
// references
human="/projects/fs1/shared/references/cellranger/hg38/refdata-gex-GRCh38-2020-A"
mouse="/projects/fs1/shared/references/cellranger/mm10/refdata-gex-mm10-2020-A"
mixed_genome="/projects/fs1/shared/references/cellranger/hg38_mm10/refdata-gex-GRCh38-and-mm10-2020-A"
// Directories:
outdir = "/projects/fs1/shared/ctg-delivery/sc-rna-10x/"
basedir = "/projects/fs1/shared/ctg-projects/sc-rna-10x/${metaid}"
sheet = "${basedir}/${ssheet}"
fqdir = "xfastqdirx" // Set to existing dir if running without demux (read from samplesheet (fastqpath,<fastqpath> in header)${outdir}fastq/" otherwise $outdir/fastq
ctgqc = "/projects/fs1/shared/ctg-qc/sc-rna-10x/"
}
// Define SLURM specs
process {
executor='slurm'
time='5h'
cpus='8'
withName:delivery_info {
time='1h'
cpus='1'
memory='1 GB'
}
withName:gen_aggCSV {
time='1h'
cpus='1'
memory='1 GB'
}
withName:parsesheet {
time='1h'
cpus='1'
memory='1 GB'
}
withName:summarize_count {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='1h'
cpus='1'
memory='11 GB'
}
withName:mkfastq {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='24h'
cpus='16'
memory='110 GB'
}
withName:fastqc {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='24h'
cpus='8'
memory='50 GB'
}
withName:multiqc {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='2h'
cpus='8'
memory='50 GB'
}
withName:multiqc_demux {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='2h'
cpus='8'
memory='50 GB'
}
withName:count {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='2d'
cpus='19'
memory='120 GB'
}
withName:aggregate {
container = '/projects/fs1/shared/ctg-containers/sc-rna-10x/sc-rna-10x.v6/sc-rna-10x.v6.sif'
time='2d'
cpus='16'
memory='128 GB'
}
withName:deliverAuto {
executor="local"
cpus='2'
memory='10 GB'
}
}
singularity {
enabled = true
runOptions = '--bind /projects/fs1/'
}