nf-core_modules/modules/snpeff/build.sh
Harshil Patel e937c7950a
Rename software/ directory to modules/ to re-organise module structure (#567)
* Update README

* Rename pytest_software.yml to pytest_modules.yml

* Rename main software directory to modules

* Remove deprecated modules

* Rename tests software to modules

* Replace paths for tests in pytest_modules.yml

* Replace software with modules in Github Actions

* Replace software with modules in main.nf tests

* Rename software to modules in test.yml
2021-07-07 10:10:18 +01:00

24 lines
578 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Build and push all containers
build_push() {
GENOME=$1
SNPEFF_CACHE_VERSION=$2
SNPEFF_TAG=$3
docker build \
-t nfcore/snpeff:${SNPEFF_TAG}.${GENOME} \
software/snpeff/. \
--build-arg GENOME=${GENOME} \
--build-arg SNPEFF_CACHE_VERSION=${SNPEFF_CACHE_VERSION}
docker push nfcore/snpeff:${SNPEFF_TAG}.${GENOME}
}
build_push "GRCh37" "75" "5.0"
build_push "GRCh38" "99" "5.0"
build_push "GRCm38" "99" "5.0"
build_push "CanFam3.1" "99" "5.0"
build_push "WBcel235" "99" "5.0"