Skip to content

Commit a1e2df0

Browse files
committed
Add dependencies for GenoFLU
Add dependencies for GenoFLU to run in avian-flu: - makeblastdb (from NCBI BLAST) - blastn (from NCBI BLAST) - openpyxl (for pandas.read_excel) Resolves <#242>
1 parent 4b5e1ef commit a1e2df0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ RUN curl -L https://github.com/shenwei356/csvtk/releases/download/v0.30.0/csvtk_
158158
# Download seqkit
159159
RUN curl -L https://github.com/shenwei356/seqkit/releases/download/v2.2.0/seqkit_${TARGETOS}_${TARGETARCH}.tar.gz | tar xz --no-same-owner -C /final/bin
160160

161+
# Download ncbi-blast+
162+
# Only keeping makeblastdb and blastn since that's all we need for Geno-FLU
163+
RUN curl -L -o ncbi-blast.tar.gz https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.16.0/ncbi-blast-2.16.0+-$(/builder-scripts/target-arch-alternative)-${TARGETOS}.tar.gz \
164+
&& tar -x --no-same-owner -C /final/bin -z --strip-components 2 --wildcards -f ncbi-blast.tar.gz "*/bin/makeblastdb" "*/bin/blastn" \
165+
&& rm -f ncbi-blast.tar.gz
166+
161167
# 3. Add unpinned programs
162168

163169
# Allow caching to be avoided from here on out in this stage by calling
@@ -259,6 +265,9 @@ RUN pip3 install pango_aliasor==0.3.0
259265
RUN pip3 install pathogen-embed==3.0.0
260266
RUN pip3 install xlrd==2.0.1
261267

268+
# Install openpyxl for pandas in GenoFLU
269+
RUN pip3 install openpyxl==3.1.0
270+
262271
# 2. Add unpinned programs
263272

264273
# Allow caching to be avoided from here on out in this stage by calling

0 commit comments

Comments
 (0)