-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move container related things into separate directory...
- Loading branch information
1 parent
84f5ab0
commit 892f1a8
Showing
4 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Builds a docker image with versioning extracted from yaml file | ||
# This uses 'buildx' for a cross-platform build allowing it be be built on MacOS | ||
# where we have Docker available, then the image can be transferred to the cluster | ||
# and singuliarity used to create a .sif image. | ||
|
||
# Doing a direct singularity build requires sudo access, or can be run on MacOS | ||
# in a VM.... | ||
|
||
version=$(grep "ColabFold.git" ../colabfold_batch.yaml|cut -d@ -f3|sed 's/^v//') | ||
echo "Building version ${version}..." | ||
|
||
docker buildx build --platform linux/amd64 -t colabfold_batch:${version} --load . | ||
docker save colabfold_batch:${version} > colabfold_batch.${version}.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/env bash | ||
|
||
#$ -adds l_hard gpu 1 | ||
#$ -adds l_hard cuda.0.name 'NVIDIA A40' | ||
#$ -j y | ||
#$ -N colabfold | ||
#$ -o colabfold_logs/$JOB_NAME.o$JOB_ID | ||
#$ -cwd | ||
|
||
|
||
|
||
singularity exec --nv -B .:/mnt /cluster/gjb_lab/jabbott/singularity/colabfold_batch.1.5.2.sif \ | ||
colabfold_batch /mnt/cadh5_arath.fa /mnt/colabfold_output |