forked from akcorut/kGWASflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
256 lines (237 loc) · 9.91 KB
/
Dockerfile
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
FROM condaforge/mambaforge:latest
LABEL io.github.snakemake.containerized="true"
LABEL io.github.snakemake.conda_env_hash="6efeb294fe994b2ceab92aba0d070b0787dd5383d1691bc6bb40d4f1d2974bef"
# Step 1: Retrieve conda environments
# Conda environment:
# source: envs/align_contigs.yaml
# prefix: /conda-envs/de8c5ab797d5257f74c2e0ff78714b34
# name: align_contigs
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - minimap2=2.22
# - samtools=1.16.1
RUN mkdir -p /conda-envs/de8c5ab797d5257f74c2e0ff78714b34
COPY envs/align_contigs.yaml /conda-envs/de8c5ab797d5257f74c2e0ff78714b34/environment.yaml
# Conda environment:
# source: envs/align_kmers.yaml
# prefix: /conda-envs/862d702752dd97c0a8bceb0edb8b6570
# name: align_kmers
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - bowtie=1.3.1
# - bowtie2=2.4.5
# - samtools=1.16.1
RUN mkdir -p /conda-envs/862d702752dd97c0a8bceb0edb8b6570
COPY envs/align_kmers.yaml /conda-envs/862d702752dd97c0a8bceb0edb8b6570/environment.yaml
# Conda environment:
# source: envs/align_reads.yaml
# prefix: /conda-envs/b1ead5c69bc2d9b74b6c3aa85466f7c9
# name: align_reads
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - bowtie2=2.4.5
# - samtools=1.16.1
# - seqkit=0.16.1
RUN mkdir -p /conda-envs/b1ead5c69bc2d9b74b6c3aa85466f7c9
COPY envs/align_reads.yaml /conda-envs/b1ead5c69bc2d9b74b6c3aa85466f7c9/environment.yaml
# Conda environment:
# source: envs/assemble_reads.yaml
# prefix: /conda-envs/92483642db5b370e34a4f85d1d6ae1ce
# name: assemble_reads
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - spades=3.15.5
RUN mkdir -p /conda-envs/92483642db5b370e34a4f85d1d6ae1ce
COPY envs/assemble_reads.yaml /conda-envs/92483642db5b370e34a4f85d1d6ae1ce/environment.yaml
# Conda environment:
# source: envs/bedtools.yaml
# prefix: /conda-envs/8907b830c092d734a11f64bde6f31eb5
# name: bedtools
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - bedtools=2.30.0
RUN mkdir -p /conda-envs/8907b830c092d734a11f64bde6f31eb5
COPY envs/bedtools.yaml /conda-envs/8907b830c092d734a11f64bde6f31eb5/environment.yaml
# Conda environment:
# source: envs/build_kmers_gwas.yaml
# prefix: /conda-envs/2aca5d40efbf8774681db1f06ade387b
# name: build_kmers_gwas
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - wget=1.20.1
# - unzip=6.0
RUN mkdir -p /conda-envs/2aca5d40efbf8774681db1f06ade387b
COPY envs/build_kmers_gwas.yaml /conda-envs/2aca5d40efbf8774681db1f06ade387b/environment.yaml
# Conda environment:
# source: envs/kmc.yaml
# prefix: /conda-envs/097d216c7fe7a0161751156cf35c077b
# name: kmc
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - kmc=3.2.1
RUN mkdir -p /conda-envs/097d216c7fe7a0161751156cf35c077b
COPY envs/kmc.yaml /conda-envs/097d216c7fe7a0161751156cf35c077b/environment.yaml
# Conda environment:
# source: envs/kmer_stats.yaml
# prefix: /conda-envs/a624324b5522c2cac3507a99cd8ae550
# name: kmers_stats
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - matplotlib=3.6.2
# - numpy=1.23.3
# - scipy=1.9.3
# - pandas=1.4.4
# - seaborn=0.12.1
RUN mkdir -p /conda-envs/a624324b5522c2cac3507a99cd8ae550
COPY envs/kmer_stats.yaml /conda-envs/a624324b5522c2cac3507a99cd8ae550/environment.yaml
# Conda environment:
# source: envs/kmers_gwas.yaml
# prefix: /conda-envs/ddd750164f6ced3aadf9f30d44f7d999
# name: kmers_gwas
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - libgcc=7.2.0
RUN mkdir -p /conda-envs/ddd750164f6ced3aadf9f30d44f7d999
COPY envs/kmers_gwas.yaml /conda-envs/ddd750164f6ced3aadf9f30d44f7d999/environment.yaml
# Conda environment:
# source: envs/kmers_gwas_py2.yaml
# prefix: /conda-envs/b37c5dd23141def831b81ad5068da1d3
# name: kmers_gwas_py2
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - libiconv=1.17
# - libgcc=7.2.0
# - python=2.7.15
# - r=3.5.1
# - r-base=3.5.1
# - r-mass=7.3
# - r-matrixcalc=1.0
RUN mkdir -p /conda-envs/b37c5dd23141def831b81ad5068da1d3
COPY envs/kmers_gwas_py2.yaml /conda-envs/b37c5dd23141def831b81ad5068da1d3/environment.yaml
# Conda environment:
# source: envs/plot_manhattan.yaml
# prefix: /conda-envs/58aaa9fc267769136b0866fbe323ee3c
# name: plot_manhattan
# channels:
# - conda-forge
# - bioconda
# - defaults
# dependencies:
# - matplotlib=3.6.2
# - numpy=1.23.3
# - scipy=1.9.3
# - pandas=1.4.4
# - seaborn=0.12.1
# - natsort=7.1.1
# - pip=22.2.2
# - pysam=0.20.0
# - pip:
# - qmplot
RUN mkdir -p /conda-envs/58aaa9fc267769136b0866fbe323ee3c
COPY envs/plot_manhattan.yaml /conda-envs/58aaa9fc267769136b0866fbe323ee3c/environment.yaml
# Conda environment:
# source: https://github.com/snakemake/snakemake-wrappers/raw/v1.12.2/bio/fastqc/environment.yaml
# prefix: /conda-envs/573927d1a2f1de4bfdd03a5385f50ed8
# channels:
# - conda-forge
# - bioconda
# - nodefaults
# dependencies:
# - fastqc ==0.11.9
RUN mkdir -p /conda-envs/573927d1a2f1de4bfdd03a5385f50ed8
ADD https://github.com/snakemake/snakemake-wrappers/raw/v1.12.2/bio/fastqc/environment.yaml /conda-envs/573927d1a2f1de4bfdd03a5385f50ed8/environment.yaml
# Conda environment:
# source: https://github.com/snakemake/snakemake-wrappers/raw/v1.12.2/bio/multiqc/environment.yaml
# prefix: /conda-envs/fd1008dfa88a4500724e3596f62f8bff
# channels:
# - conda-forge
# - bioconda
# - nodefaults
# dependencies:
# - multiqc =1.12
RUN mkdir -p /conda-envs/fd1008dfa88a4500724e3596f62f8bff
ADD https://github.com/snakemake/snakemake-wrappers/raw/v1.12.2/bio/multiqc/environment.yaml /conda-envs/fd1008dfa88a4500724e3596f62f8bff/environment.yaml
# Conda environment:
# source: https://github.com/snakemake/snakemake-wrappers/raw/v1.23.5/bio/sra-tools/fasterq-dump/environment.yaml
# prefix: /conda-envs/09551784d42806e996c779649a93ea18
# channels:
# - conda-forge
# - bioconda
# - nodefaults
# dependencies:
# - sra-tools =3.0.3
# - pigz =2.6
# - pbzip2 =1.1.13
# - snakemake-wrapper-utils =0.5.0
RUN mkdir -p /conda-envs/09551784d42806e996c779649a93ea18
ADD https://github.com/snakemake/snakemake-wrappers/raw/v1.23.5/bio/sra-tools/fasterq-dump/environment.yaml /conda-envs/09551784d42806e996c779649a93ea18/environment.yaml
# Conda environment:
# source: https://github.com/snakemake/snakemake-wrappers/raw/v1.25.0/bio/bowtie2/build/environment.yaml
# prefix: /conda-envs/c0b26e5a843c8355257bd60e19bbbaff
# channels:
# - conda-forge
# - bioconda
# - nodefaults
# dependencies:
# - bowtie2 =2.5.1
RUN mkdir -p /conda-envs/c0b26e5a843c8355257bd60e19bbbaff
ADD https://github.com/snakemake/snakemake-wrappers/raw/v1.25.0/bio/bowtie2/build/environment.yaml /conda-envs/c0b26e5a843c8355257bd60e19bbbaff/environment.yaml
# Conda environment:
# source: https://github.com/snakemake/snakemake-wrappers/raw/v1.25.0/bio/igv-reports/environment.yaml
# prefix: /conda-envs/a265d01756075df3edd511d305122ae5
# channels:
# - conda-forge
# - bioconda
# - nodefaults
# dependencies:
# - igv-reports =1.7.0
RUN mkdir -p /conda-envs/a265d01756075df3edd511d305122ae5
ADD https://github.com/snakemake/snakemake-wrappers/raw/v1.25.0/bio/igv-reports/environment.yaml /conda-envs/a265d01756075df3edd511d305122ae5/environment.yaml
# Step 2: Generate conda environments
RUN mamba env create --prefix /conda-envs/de8c5ab797d5257f74c2e0ff78714b34 --file /conda-envs/de8c5ab797d5257f74c2e0ff78714b34/environment.yaml && \
mamba env create --prefix /conda-envs/862d702752dd97c0a8bceb0edb8b6570 --file /conda-envs/862d702752dd97c0a8bceb0edb8b6570/environment.yaml && \
mamba env create --prefix /conda-envs/b1ead5c69bc2d9b74b6c3aa85466f7c9 --file /conda-envs/b1ead5c69bc2d9b74b6c3aa85466f7c9/environment.yaml && \
mamba env create --prefix /conda-envs/92483642db5b370e34a4f85d1d6ae1ce --file /conda-envs/92483642db5b370e34a4f85d1d6ae1ce/environment.yaml && \
mamba env create --prefix /conda-envs/8907b830c092d734a11f64bde6f31eb5 --file /conda-envs/8907b830c092d734a11f64bde6f31eb5/environment.yaml && \
mamba env create --prefix /conda-envs/2aca5d40efbf8774681db1f06ade387b --file /conda-envs/2aca5d40efbf8774681db1f06ade387b/environment.yaml && \
mamba env create --prefix /conda-envs/097d216c7fe7a0161751156cf35c077b --file /conda-envs/097d216c7fe7a0161751156cf35c077b/environment.yaml && \
mamba env create --prefix /conda-envs/a624324b5522c2cac3507a99cd8ae550 --file /conda-envs/a624324b5522c2cac3507a99cd8ae550/environment.yaml && \
mamba env create --prefix /conda-envs/ddd750164f6ced3aadf9f30d44f7d999 --file /conda-envs/ddd750164f6ced3aadf9f30d44f7d999/environment.yaml && \
mamba env create --prefix /conda-envs/b37c5dd23141def831b81ad5068da1d3 --file /conda-envs/b37c5dd23141def831b81ad5068da1d3/environment.yaml && \
mamba env create --prefix /conda-envs/58aaa9fc267769136b0866fbe323ee3c --file /conda-envs/58aaa9fc267769136b0866fbe323ee3c/environment.yaml && \
mamba env create --prefix /conda-envs/573927d1a2f1de4bfdd03a5385f50ed8 --file /conda-envs/573927d1a2f1de4bfdd03a5385f50ed8/environment.yaml && \
mamba env create --prefix /conda-envs/fd1008dfa88a4500724e3596f62f8bff --file /conda-envs/fd1008dfa88a4500724e3596f62f8bff/environment.yaml && \
mamba env create --prefix /conda-envs/09551784d42806e996c779649a93ea18 --file /conda-envs/09551784d42806e996c779649a93ea18/environment.yaml && \
mamba env create --prefix /conda-envs/c0b26e5a843c8355257bd60e19bbbaff --file /conda-envs/c0b26e5a843c8355257bd60e19bbbaff/environment.yaml && \
mamba env create --prefix /conda-envs/a265d01756075df3edd511d305122ae5 --file /conda-envs/a265d01756075df3edd511d305122ae5/environment.yaml && \
mamba clean --all -y