Skip to content

Commit bd072fc

Browse files
committed
added new containers of DIANN
1 parent 7b7a802 commit bd072fc

File tree

4 files changed

+253
-1
lines changed

4 files changed

+253
-1
lines changed

.github/workflows/quantms-containers.yml

Lines changed: 121 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,126 @@ jobs:
122122
run: |
123123
echo "::error::Failed to build or push DiaNN 2.1.0 images. Check the logs for details."
124124
125+
build-diann-2-2-0:
126+
name: Build and Push DiaNN 2.2.0 Docker Images
127+
runs-on: ubuntu-latest
128+
permissions:
129+
contents: read
130+
packages: write
131+
steps:
132+
- name: Checkout repository
133+
uses: actions/checkout@v4
134+
- name: Set up Docker Buildx
135+
uses: docker/setup-buildx-action@v3
136+
- name: Log in to GitHub Container Registry
137+
uses: docker/login-action@v3
138+
with:
139+
registry: ghcr.io
140+
username: ${{ github.actor }}
141+
password: ${{ secrets.GHCR_TOKEN }}
142+
- name: Build and Push DiaNN 2.2.0 image
143+
uses: docker/build-push-action@v5
144+
with:
145+
context: ./diann-2.2.0
146+
push: ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
147+
tags: ghcr.io/bigbio/diann:2.2.0
148+
cache-from: type=gha
149+
cache-to: type=gha,mode=max
150+
provenance: false
151+
- name: Set up Singularity
152+
if: ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
153+
uses: eWaterCycle/setup-singularity@v7
154+
with:
155+
singularity-version: 3.8.7
156+
- name: Convert to Singularity and push
157+
if: (github.event_name != 'pull_request')
158+
run: |
159+
docker pull ghcr.io/bigbio/diann:2.2.0
160+
docker save ghcr.io/bigbio/diann:2.2.0 -o diann-2.2.0.tar
161+
singularity build diann-2.2.0.sif docker-archive://diann-2.2.0.tar
162+
echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
163+
singularity push diann-2.2.0.sif oras://ghcr.io/bigbio/diann-sif:2.2.0
164+
165+
build-diann-2-0:
166+
name: Build and Push DiaNN 2.0.2 Docker Images
167+
runs-on: ubuntu-latest
168+
permissions:
169+
contents: read
170+
packages: write
171+
steps:
172+
- name: Checkout repository
173+
uses: actions/checkout@v4
174+
- name: Set up Docker Buildx
175+
uses: docker/setup-buildx-action@v3
176+
- name: Log in to GitHub Container Registry
177+
uses: docker/login-action@v3
178+
with:
179+
registry: ghcr.io
180+
username: ${{ github.actor }}
181+
password: ${{ secrets.GHCR_TOKEN }}
182+
- name: Build and Push DiaNN 2.0.2 image
183+
uses: docker/build-push-action@v5
184+
with:
185+
context: ./diann-2.0
186+
push: ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
187+
tags: ghcr.io/bigbio/diann:2.0.2
188+
cache-from: type=gha
189+
cache-to: type=gha,mode=max
190+
provenance: false
191+
- name: Set up Singularity
192+
if: ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
193+
uses: eWaterCycle/setup-singularity@v7
194+
with:
195+
singularity-version: 3.8.7
196+
- name: Convert to Singularity and push
197+
if: (github.event_name != 'pull_request')
198+
run: |
199+
docker pull ghcr.io/bigbio/diann:2.0.2
200+
docker save ghcr.io/bigbio/diann:2.0.2 -o diann-2.0.2.tar
201+
singularity build diann-2.0.2.sif docker-archive://diann-2.0.2.tar
202+
echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
203+
singularity push diann-2.0.2.sif oras://ghcr.io/bigbio/diann-sif:2.0.2
204+
205+
build-diann-1-9-2:
206+
name: Build and Push DiaNN 1.9.2 Docker Images
207+
runs-on: ubuntu-latest
208+
permissions:
209+
contents: read
210+
packages: write
211+
steps:
212+
- name: Checkout repository
213+
uses: actions/checkout@v4
214+
- name: Set up Docker Buildx
215+
uses: docker/setup-buildx-action@v3
216+
- name: Log in to GitHub Container Registry
217+
uses: docker/login-action@v3
218+
with:
219+
registry: ghcr.io
220+
username: ${{ github.actor }}
221+
password: ${{ secrets.GHCR_TOKEN }}
222+
- name: Build and Push DiaNN 1.9.2 image
223+
uses: docker/build-push-action@v5
224+
with:
225+
context: ./diann-1.9.2
226+
push: ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
227+
tags: ghcr.io/bigbio/diann:1.9.2
228+
cache-from: type=gha
229+
cache-to: type=gha,mode=max
230+
provenance: false
231+
- name: Set up Singularity
232+
if: ${{ (github.event.inputs.push_images == true || github.event.inputs.push_images == '') }}
233+
uses: eWaterCycle/setup-singularity@v7
234+
with:
235+
singularity-version: 3.8.7
236+
- name: Convert to Singularity and push
237+
if: (github.event_name != 'pull_request')
238+
run: |
239+
docker pull ghcr.io/bigbio/diann:1.9.2
240+
docker save ghcr.io/bigbio/diann:1.9.2 -o diann-1.9.2.tar
241+
singularity build diann-1.9.2.sif docker-archive://diann-1.9.2.tar
242+
echo ${{ secrets.GHCR_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
243+
singularity push diann-1.9.2.sif oras://ghcr.io/bigbio/diann-sif:1.9.2
244+
125245
build-diann-1-8-1:
126246
name: Build and Push DiaNN 1.8.1 Docker Images
127247
runs-on: ubuntu-latest
@@ -284,7 +404,7 @@ jobs:
284404
285405
sync-openms:
286406
name: Sync OpenMS Containers
287-
needs: [build-diann-2-1-0, build-diann-1-8-1, build-relink-1-0-0]
407+
needs: [build-diann-2-2-0, build-diann-2-1-0, build-diann-2-0, build-diann-1-9-2, build-diann-1-8-1, build-relink-1-0-0]
288408
runs-on: ubuntu-latest
289409
permissions:
290410
contents: read

diann-1.9.2/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
FROM ubuntu:22.04
2+
3+
LABEL base_image="ubuntu:22.04"
4+
LABEL version="1"
5+
LABEL software="diann"
6+
LABEL software.version="1.9.2"
7+
LABEL about.summary="DIA-NN - a universal software for data-independent acquisition (DIA) proteomics data processing."
8+
LABEL about.home="https://github.com/vdemichev/DiaNN"
9+
LABEL about.documentation="https://github.com/vdemichev/DiaNN"
10+
LABEL about.license_file="https://github.com/vdemichev/DiaNN/LICENSE.txt"
11+
LABEL about.tags="Proteomics"
12+
LABEL maintainer="Yasset Perez-Riverol <ypriverol@gmail.com>"
13+
14+
ENV DEBIAN_FRONTEND=noninteractive
15+
16+
RUN apt-get update && apt-get install -y --no-install-recommends \
17+
wget \
18+
unzip \
19+
libgomp1 \
20+
locales && \
21+
rm -rf /var/lib/apt/lists/*
22+
23+
RUN locale-gen en_US.UTF-8 && \
24+
update-locale LANG=en_US.UTF-8
25+
26+
ENV LANG=en_US.UTF-8
27+
ENV LANGUAGE=en_US:en
28+
ENV LC_ALL=en_US.UTF-8
29+
30+
# Download DIA-NN 1.9.2 (release tag: 1.9.2)
31+
RUN wget --no-check-certificate https://github.com/vdemichev/DiaNN/releases/download/1.9.2/diann-1.9.2.Linux.zip && \
32+
unzip diann-1.9.2.Linux.zip -d /usr/diann-1.9.2/ && \
33+
rm diann-1.9.2.Linux.zip
34+
35+
RUN apt-get remove -y wget unzip && apt-get autoremove -y && apt-get clean && \
36+
rm -rf /var/lib/apt/lists/*
37+
38+
RUN chmod +x /usr/diann-1.9.2/diann-linux || chmod +x /usr/diann-1.9.2/diann
39+
RUN ln -sf /usr/diann-1.9.2/diann-linux /usr/diann-1.9.2/diann 2>/dev/null || true
40+
ENV PATH="$PATH:/usr/diann-1.9.2"
41+
42+
WORKDIR /data/
43+
44+
# NOTE: It is entirely the user's responsibility to ensure compliance with DIA-NN license terms.

diann-2.0/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
FROM ubuntu:22.04
2+
3+
LABEL base_image="ubuntu:22.04"
4+
LABEL version="1"
5+
LABEL software="diann"
6+
LABEL software.version="2.0"
7+
LABEL about.summary="DIA-NN - a universal software for data-independent acquisition (DIA) proteomics data processing."
8+
LABEL about.home="https://github.com/vdemichev/DiaNN"
9+
LABEL about.documentation="https://github.com/vdemichev/DiaNN"
10+
LABEL about.license_file="https://github.com/vdemichev/DiaNN/LICENSE.txt"
11+
LABEL about.tags="Proteomics"
12+
LABEL maintainer="Yasset Perez-Riverol <ypriverol@gmail.com>"
13+
14+
ENV DEBIAN_FRONTEND=noninteractive
15+
16+
RUN apt-get update && apt-get install -y --no-install-recommends \
17+
wget \
18+
unzip \
19+
libgomp1 \
20+
locales && \
21+
rm -rf /var/lib/apt/lists/*
22+
23+
RUN locale-gen en_US.UTF-8 && \
24+
update-locale LANG=en_US.UTF-8
25+
26+
ENV LANG=en_US.UTF-8
27+
ENV LANGUAGE=en_US:en
28+
ENV LC_ALL=en_US.UTF-8
29+
30+
# Download DIA-NN 2.0.2 (latest 2.0.x patch, release tag: 2.0)
31+
RUN wget --no-check-certificate https://github.com/vdemichev/DiaNN/releases/download/2.0/DIA-NN-2.0.2-Academia-Linux.zip && \
32+
unzip DIA-NN-2.0.2-Academia-Linux.zip -d /usr/ && \
33+
rm DIA-NN-2.0.2-Academia-Linux.zip
34+
35+
RUN apt-get remove -y wget unzip && apt-get autoremove -y && apt-get clean && \
36+
rm -rf /var/lib/apt/lists/*
37+
38+
RUN chmod +x /usr/diann-2.0.2/diann-linux || chmod +x /usr/diann-2.0.2/diann
39+
RUN ln -sf /usr/diann-2.0.2/diann-linux /usr/diann-2.0.2/diann 2>/dev/null || true
40+
ENV PATH="$PATH:/usr/diann-2.0.2"
41+
42+
WORKDIR /data/
43+
44+
# NOTE: It is entirely the user's responsibility to ensure compliance with DIA-NN license terms.

diann-2.2.0/Dockerfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
FROM ubuntu:22.04
2+
3+
LABEL base_image="ubuntu:22.04"
4+
LABEL version="1"
5+
LABEL software="diann"
6+
LABEL software.version="2.2.0"
7+
LABEL about.summary="DIA-NN - a universal software for data-independent acquisition (DIA) proteomics data processing."
8+
LABEL about.home="https://github.com/vdemichev/DiaNN"
9+
LABEL about.documentation="https://github.com/vdemichev/DiaNN"
10+
LABEL about.license_file="https://github.com/vdemichev/DiaNN/LICENSE.txt"
11+
LABEL about.tags="Proteomics"
12+
LABEL maintainer="Yasset Perez-Riverol <ypriverol@gmail.com>"
13+
14+
ENV DEBIAN_FRONTEND=noninteractive
15+
16+
RUN apt-get update && apt-get install -y --no-install-recommends \
17+
wget \
18+
unzip \
19+
libgomp1 \
20+
locales && \
21+
rm -rf /var/lib/apt/lists/*
22+
23+
RUN locale-gen en_US.UTF-8 && \
24+
update-locale LANG=en_US.UTF-8
25+
26+
ENV LANG=en_US.UTF-8
27+
ENV LANGUAGE=en_US:en
28+
ENV LC_ALL=en_US.UTF-8
29+
30+
# Download DIA-NN 2.2.0 (release tag: 2.0)
31+
RUN wget --no-check-certificate https://github.com/vdemichev/DiaNN/releases/download/2.0/DIA-NN-2.2.0-Academia-Linux.zip && \
32+
unzip DIA-NN-2.2.0-Academia-Linux.zip -d /usr/ && \
33+
rm DIA-NN-2.2.0-Academia-Linux.zip
34+
35+
RUN apt-get remove -y wget unzip && apt-get autoremove -y && apt-get clean && \
36+
rm -rf /var/lib/apt/lists/*
37+
38+
RUN chmod +x /usr/diann-2.2.0/diann-linux || chmod +x /usr/diann-2.2.0/diann
39+
RUN ln -sf /usr/diann-2.2.0/diann-linux /usr/diann-2.2.0/diann 2>/dev/null || true
40+
ENV PATH="$PATH:/usr/diann-2.2.0"
41+
42+
WORKDIR /data/
43+
44+
# NOTE: It is entirely the user's responsibility to ensure compliance with DIA-NN license terms.

0 commit comments

Comments
 (0)