2021-07-06 12:11:11 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
# Build and push all containers
|
|
|
|
|
|
|
|
build_push() {
|
|
|
|
GENOME=$1
|
|
|
|
SPECIES=$2
|
|
|
|
VEP_VERSION=$3
|
|
|
|
VEP_TAG=$4
|
|
|
|
|
|
|
|
docker build \
|
2022-05-05 13:41:13 +00:00
|
|
|
. \
|
2021-07-06 12:11:11 +00:00
|
|
|
-t nfcore/vep:${VEP_TAG}.${GENOME} \
|
|
|
|
--build-arg GENOME=${GENOME} \
|
|
|
|
--build-arg SPECIES=${SPECIES} \
|
2022-05-05 13:41:13 +00:00
|
|
|
--build-arg VEP_VERSION=${VEP_VERSION} \
|
|
|
|
--build-arg VEP_TAG=${VEP_TAG}
|
2021-07-06 12:11:11 +00:00
|
|
|
|
|
|
|
docker push nfcore/vep:${VEP_TAG}.${GENOME}
|
|
|
|
}
|
|
|
|
|
|
|
|
build_push "GRCh37" "homo_sapiens" "104" "104.3"
|
|
|
|
build_push "GRCh38" "homo_sapiens" "104" "104.3"
|
|
|
|
build_push "GRCm38" "mus_musculus" "102" "104.3"
|
|
|
|
build_push "GRCm39" "mus_musculus" "104" "104.3"
|
|
|
|
build_push "CanFam3.1" "canis_lupus_familiaris" "104" "104.3"
|
|
|
|
build_push "WBcel235" "caenorhabditis_elegans" "104" "104.3"
|