forked from NCBI-Hackathons/NCBI_PowerTools_Docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 915 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Makefile for building this docker image
# Author: Christiam Camacho (camacho@ncbi.nlm.nih.gov)
# Created: Wed 05 Dec 2018 04:33:34 PM EST
SHELL=/bin/bash
.PHONY: all build check clean
USERNAME?=christiam
IMG=ncbi-power-tools
all: check
build:
docker build -t ${USERNAME}/${IMG} .
check: build
time docker run --rm ${USERNAME}/${IMG} /bin/bash -c "printenv BLASTDB"
time docker run --rm ${USERNAME}/${IMG} blastn -version
time docker run --rm ${USERNAME}/${IMG} magicblast -version
time docker run --rm ${USERNAME}/${IMG} installconfirm
time docker run --rm ${USERNAME}/${IMG} efetch -db nucleotide -id u00001 -format fasta
time docker run --rm ${USERNAME}/${IMG} get_species_taxids.sh -n squirrel
time docker run --rm ${USERNAME}/${IMG} update_blastdb.pl --source gcp --showall
time docker run --rm ${USERNAME}/${IMG} update_blastdb.pl --source gcp taxdb
clean:
docker image rm ${USERNAME}/${IMG}