Repository navigation
Expand file tree
/
Copy pathDockerfile
More file actions
49 lines (44 loc) · 1.95 KB
/
Copy pathDockerfile
File metadata and controls
49 lines (44 loc) · 1.95 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# =============================================================================
# NovInvenio — all bioinformatics tools + Python runtime
# Registry: ghcr.io/stajichlab/novinvenio
# Image tag : 0.7.0 (mirrors pixi.toml version)
# Build : docker build -t ghcr.io/stajichlab/novinvenio:0.7.0 .
# Push : docker push ghcr.io/stajichlab/novinvenio:0.7.0
# =============================================================================
# This image contains only the tool layer. The pipeline source (bin/, lib/,
# modules/, workflows/) is supplied by the cloned repository; Nextflow stages
# it into each task working directory automatically. User data files (proteome
# FASTAs, genomic DNA, annotation databases, config CSVs) are bind-mounted at
# runtime — see README.md "Running with Docker / Singularity".
# =============================================================================
ARG MINICONDA_VERSION=24.9.2-0
FROM continuumio/miniconda3:${MINICONDA_VERSION}
# Install all pipeline tools in one pass.
# Channels: conda-forge (primary) + bioconda (bioinformatics tools).
# Strict channel priority ensures deterministic solving.
# Note: continuumio/miniconda3 ships conda (not mamba); use conda install.
RUN conda config --add channels conda-forge && \
conda config --add channels bioconda && \
conda install --yes --name base \
python=3.12 \
hmmer=3.4 \
famsa \
diamond=2.2 \
blast=2.17 \
mmseqs2=18.8 \
openmpi=4.1 \
pandas \
biopython \
pyyaml \
matplotlib \
scipy \
mash \
zstd
# gamcil/clinker 0.0.32 for ISLAND_CLINKER is on PyPI only (bioconda's
# "clinker" is an unrelated RNA-seq tool).
RUN pip install --no-cache-dir clinker==0.0.32
# OpenMPI needs a writable /tmp.
ENV TMPDIR=/tmp
ENV OMPI_MCA_tmpdir_base=/tmp
# Entry point is intentionally unset — Nextflow manages per-process execution.
# All tools are already on PATH via /opt/conda/bin.