Skip to content

Commit 185abe1

Browse files
committed
Add netcleave and noah containers. Fix MHCFlurry path on singularity
1 parent 05b1575 commit 185abe1

File tree

63 files changed

+19341
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+19341
-7
lines changed

.github/workflows/docker-build.yml

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ on:
1515

1616
env:
1717
DOCKER_IMAGE: predig
18+
NOAH_IMAGE: noah
19+
NETCLEAVE_IMAGE: netcleave
1820
DOCKER_BASE_IMAGE: predig-base
19-
DOCKER_HUB_REPO: ${{ secrets.DOCKER_HUB_USERNAME }}/predig
20-
DOCKER_HUB_BASE_REPO: ${{ secrets.DOCKER_HUB_USERNAME }}/predig-base
2121

2222
jobs:
2323
build-base:
@@ -51,8 +51,8 @@ jobs:
5151
file: Base.Dockerfile
5252
push: true
5353
tags: |
54-
${{ env.DOCKER_HUB_BASE_REPO }}:latest
55-
${{ env.DOCKER_HUB_BASE_REPO }}:${{ github.sha }}
54+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_BASE_IMAGE }}:latest
55+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_BASE_IMAGE }}:${{ github.sha }}
5656
5757
build-test-push:
5858
runs-on: self-hosted
@@ -77,7 +77,23 @@ jobs:
7777
file: Dockerfile
7878
load: true
7979
tags: ${{ env.DOCKER_IMAGE }}:latest
80+
81+
- name: Build NOAH image
82+
uses: docker/build-push-action@v5
83+
with:
84+
context: .
85+
file: NOAH.Dockerfile
86+
load: true
87+
tags: ${{ env.NOAH_IMAGE }}:latest
8088

89+
- name: Build NetCleave image
90+
uses: docker/build-push-action@v5
91+
with:
92+
context: .
93+
file: NetCleave.Dockerfile
94+
load: true
95+
tags: ${{ env.NETCLEAVE_IMAGE }}:latest
96+
8197
- name: Run tests
8298
run: |
8399
wget https://ftp.ebi.ac.uk/pub/databases/uniprot/knowledgebase/uniprot_sprot.fasta.gz -O uniprot_sprot.fasta.gz
@@ -99,5 +115,25 @@ jobs:
99115
file: Dockerfile
100116
push: true
101117
tags: |
102-
${{ env.DOCKER_HUB_REPO }}:latest
103-
${{ env.DOCKER_HUB_REPO }}:${{ github.sha }}
118+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_IMAGE }}:latest
119+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_IMAGE }}:${{ github.sha }}
120+
121+
- name: Push NetCleave to Docker Hub
122+
uses: docker/build-push-action@v5
123+
with:
124+
context: .
125+
file: NetCleave.Dockerfile
126+
push: true
127+
tags: |
128+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.NETCLEAVE_IMAGE }}:latest
129+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.NETCLEAVE_IMAGE }}:${{ github.sha }}
130+
131+
- name: Push NOAH to Docker Hub
132+
uses: docker/build-push-action@v5
133+
with:
134+
context: .
135+
file: NOAH.Dockerfile
136+
push: true
137+
tags: |
138+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.NOAH_IMAGE }}:latest
139+
${{ secrets.DOCKER_HUB_USERNAME }}/${{ env.NOAH_IMAGE }}:${{ github.sha }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN micromamba create -n predig_env -f /tmp/predig_env.yml -y
1616
RUN echo "source /opt/conda/envs/predig_env/bin/activate" >> /etc/bash.bashrc
1717

1818
# Download mhcflurry models
19-
RUN micromamba run -n predig_env mhcflurry-downloads fetch models_class1_presentation
19+
# RUN micromamba run -n predig_env mhcflurry-downloads fetch models_class1_presentation
2020

2121
# Copy the immuno container
2222
COPY Immuno /Immuno

Immuno/mhc_models/10755300.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+ echo 'Subsequent stderr output redirected to stdout'
2+
Subsequent stderr output redirected to stdout
3+
+ exec

Immuno/mhc_models/10755300.stdout

Lines changed: 247 additions & 0 deletions
Large diffs are not rendered by default.

Immuno/mhc_models/10755342.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+ echo 'Subsequent stderr output redirected to stdout'
2+
Subsequent stderr output redirected to stdout
3+
+ exec

Immuno/mhc_models/10755342.stdout

Lines changed: 476 additions & 0 deletions
Large diffs are not rendered by default.

Immuno/mhc_models/10756263.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+ echo 'Subsequent stderr output redirected to stdout'
2+
Subsequent stderr output redirected to stdout
3+
+ exec

Immuno/mhc_models/10756263.stdout

Lines changed: 347 additions & 0 deletions
Large diffs are not rendered by default.

Immuno/mhc_models/10868128.stderr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
+ echo 'Subsequent stderr output redirected to stdout'
2+
Subsequent stderr output redirected to stdout
3+
+ exec

Immuno/mhc_models/10868128.stdout

Lines changed: 525 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)