-
Notifications
You must be signed in to change notification settings - Fork 5
/
Dockerfile
181 lines (163 loc) · 6.19 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
ARG VERSION=0.1.1
FROM condaforge/miniforge3:latest
LABEL io.github.snakemake.containerized="true"
LABEL io.github.snakemake.conda_env_hash="7a57714fe74eb25255d53b45e2095cd8a4dd4fe73db79006353670c432af97b1"
# Step 1: Retrieve conda environments
# Conda environment:
# source: workflow/envs/NGmerge.yaml
# prefix: /conda-envs/8b5bbd33d7ccdbbe3a28773771abe2b3
# ---
# channels:
# - conda-forge
# - bioconda
# dependencies:
# - ngmerge=0.3
# - python
# - click
# - htslib
RUN mkdir -p /conda-envs/8b5bbd33d7ccdbbe3a28773771abe2b3
COPY workflow/envs/NGmerge.yaml /conda-envs/8b5bbd33d7ccdbbe3a28773771abe2b3/environment.yaml
# Conda environment:
# source: workflow/envs/bbmap_samtools_htslib.yaml
# prefix: /conda-envs/f24b0ccfc23aadb93b466380cd592733
# ---
# channels:
# - bioconda
# - conda-forge
# dependencies:
# - bbmap
# - samtools
# - htslib
RUN mkdir -p /conda-envs/f24b0ccfc23aadb93b466380cd592733
COPY workflow/envs/bbmap_samtools_htslib.yaml /conda-envs/f24b0ccfc23aadb93b466380cd592733/environment.yaml
# Conda environment:
# source: workflow/envs/bwa_samtools_picard_htslib.yaml
# prefix: /conda-envs/a0a27bbdca540d02023c7fdcf819bfc1
# ---
# channels:
# - bioconda
# - conda-forge
# dependencies:
# - bwa
# - samtools
# - picard
# - htslib
RUN mkdir -p /conda-envs/a0a27bbdca540d02023c7fdcf819bfc1
COPY workflow/envs/bwa_samtools_picard_htslib.yaml /conda-envs/a0a27bbdca540d02023c7fdcf819bfc1/environment.yaml
# Conda environment:
# source: workflow/envs/default.yaml
# prefix: /conda-envs/899c0a8c04c6edeed4b242dbc3e0e1c8
# ---
# channels:
# - conda-forge
# - bioconda
# dependencies:
# - htslib
RUN mkdir -p /conda-envs/899c0a8c04c6edeed4b242dbc3e0e1c8
COPY workflow/envs/default.yaml /conda-envs/899c0a8c04c6edeed4b242dbc3e0e1c8/environment.yaml
# Conda environment:
# source: workflow/envs/fastqsplitter.yaml
# prefix: /conda-envs/e5aec3a0d6b8921994e5305d4f89e90f
# ---
# channels:
# - bioconda
# - conda-forge
# dependencies:
# - fastqsplitter
RUN mkdir -p /conda-envs/e5aec3a0d6b8921994e5305d4f89e90f
COPY workflow/envs/fastqsplitter.yaml /conda-envs/e5aec3a0d6b8921994e5305d4f89e90f/environment.yaml
# Conda environment:
# source: workflow/envs/python3.yaml
# prefix: /conda-envs/a4e1b935cbca52df9b6f192ff86c464c
# ---
# channels:
# - conda-forge
# - bioconda
# dependencies:
# - biopython
# - click
# - dask
# - matplotlib
# - numpy
# - pandas
# - python
# - pysam
# - pyfastx
RUN mkdir -p /conda-envs/a4e1b935cbca52df9b6f192ff86c464c
COPY workflow/envs/python3.yaml /conda-envs/a4e1b935cbca52df9b6f192ff86c464c/environment.yaml
# Conda environment:
# source: workflow/envs/r.yaml
# prefix: /conda-envs/ae3e37bf43cbb30416a885168e10c552
# ---
# channels:
# - conda-forge
# - bioconda
# dependencies:
# - r-base
# - r-cowplot
# - r-cairo
# - r-optparse
# - r-tidyverse
RUN mkdir -p /conda-envs/ae3e37bf43cbb30416a885168e10c552
COPY workflow/envs/r.yaml /conda-envs/ae3e37bf43cbb30416a885168e10c552/environment.yaml
# Conda environment:
# source: workflow/envs/python27.yaml
# prefix: /conda-envs/cb972f023533b03e742da9095ce03b06
# ---
# channels:
# - bioconda
# - conda-forge
# dependencies:
# - htslib
# - pysam
# - python=2.7
# - samtools
RUN mkdir -p /conda-envs/cb972f023533b03e742da9095ce03b06
COPY workflow/envs/python27.yaml /conda-envs/cb972f023533b03e742da9095ce03b06/environment.yaml
# Conda environment:
# source: workflow/envs/cutadapt.yaml
# prefix: /conda-envs/a3e2fce7f2f6fdbe1aa97232e3def601
# ---
# channels:
# - conda-forge
# - bioconda
# dependencies:
# - cutadapt
RUN mkdir -p /conda-envs/a3e2fce7f2f6fdbe1aa97232e3def601
COPY workflow/envs/cutadapt.yaml /conda-envs/a3e2fce7f2f6fdbe1aa97232e3def601/environment.yaml
# Conda environment:
# source: workflow/envs/quarto.yaml
# prefix: /conda-envs/b933cc1aa7c25db04635e7ec0e37f80e
# ---
# channels:
# - conda-forge
# - bioconda
# dependencies:
# - python
# - quarto
# - jupyter
# - pandas
# - matplotlib
# - papermill
RUN mkdir -p /conda-envs/b933cc1aa7c25db04635e7ec0e37f80e
COPY workflow/envs/quarto.yaml /conda-envs/b933cc1aa7c25db04635e7ec0e37f80e/environment.yaml
# Step 2: Generate conda environments
RUN <<EOR
conda config --add channels nodefaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
EOR
RUN conda env create --no-default-packages --prefix /conda-envs/8b5bbd33d7ccdbbe3a28773771abe2b3 --file /conda-envs/8b5bbd33d7ccdbbe3a28773771abe2b3/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/f24b0ccfc23aadb93b466380cd592733 --file /conda-envs/f24b0ccfc23aadb93b466380cd592733/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/a0a27bbdca540d02023c7fdcf819bfc1 --file /conda-envs/a0a27bbdca540d02023c7fdcf819bfc1/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/a3e2fce7f2f6fdbe1aa97232e3def601 --file /conda-envs/a3e2fce7f2f6fdbe1aa97232e3def601/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/899c0a8c04c6edeed4b242dbc3e0e1c8 --file /conda-envs/899c0a8c04c6edeed4b242dbc3e0e1c8/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/e5aec3a0d6b8921994e5305d4f89e90f --file /conda-envs/e5aec3a0d6b8921994e5305d4f89e90f/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/cb972f023533b03e742da9095ce03b06 --file /conda-envs/cb972f023533b03e742da9095ce03b06/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/a4e1b935cbca52df9b6f192ff86c464c --file /conda-envs/a4e1b935cbca52df9b6f192ff86c464c/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/b933cc1aa7c25db04635e7ec0e37f80e --file /conda-envs/b933cc1aa7c25db04635e7ec0e37f80e/environment.yaml
RUN conda env create --no-default-packages --prefix /conda-envs/ae3e37bf43cbb30416a885168e10c552 --file /conda-envs/ae3e37bf43cbb30416a885168e10c552/environment.yaml
# cleanup when version changed
ARG VERSION
RUN conda clean --all -y