

Docker container được dùng rộng rãi trong bioinformatics để làm cho phân tích có thể tái lập và di động giữa các nền tảng. Bài này xem xét những vấn đề mà container giải quyết trên thực tế, cách chạy và debug công cụ bioinformatics bên trong chúng, và những cách build image hiệu quả, bao gồm với Micromamba và Pixi.
Bài này giả định Docker đã được cài và đang chạy, và tập trung vào việc dùng container cho công việc bioinformatics.
Nếu Docker chưa được cài, tài liệu chính thức là nơi nên bắt đầu:
https://docs.docker.com/get-started/get-docker/
Hướng dẫn đó bao gồm:
docker --versiondocker run hello-worldSau khi cài Docker, hãy kiểm tra nó hoạt động:
# Check Docker versiondocker --version# Output: Docker version 24.0.0, build 12345abc
# Run a test containerdocker run hello-world# Output: Hello from Docker! This message shows that your installation appears to be working correctly.Khi Docker đã được cài và hoạt động, bài này sẽ trình bày:
Trước khi tiếp tục, hãy kiểm tra bạn có:
docker --version chạy được)docker pull hello-world chạy được)Nếu chưa, hãy bắt đầu với https://docs.docker.com/get-started/get-docker/ rồi quay lại đây.
Trước đây, các lab bioinformatics cài phần mềm trên server dùng chung hoặc laptop bằng những lệnh như:
sudo apt-get install samtools bwa python3Trông có vẻ đơn giản, nhưng cách này tạo ra vấn đề về tái lập, di động và bảo trì:
Kết quả là cộng tác giữa các lab, tổ chức hoặc quốc gia trở nên mong manh, và việc tái lập kết quả — ngay cả trên máy của chính bạn — có thể là một thách thức.
Phần lớn bioinformatics đã chuyển từ cài đặt thủ công sang container và trình quản lý môi trường:
docker pull quay.io/biocontainers/samtools:1.15.1--h1170115_0Tóm lại, container và Conda giải quyết nhiều vấn đề của cài đặt thủ công, giúp cộng tác tái lập trở nên phổ biến hơn trong bioinformatics.
Một lợi ích của Docker là khả năng chạy trực tiếp công cụ bioinformatics, không cần cài đặt đầy đủ, trên chính bộ dữ liệu của bạn. Ví dụ dưới đây dùng FastQC, một công cụ kiểm tra chất lượng được dùng rộng rãi cho dữ liệu sequencing.
Pull container FastQC (chỉ cần một lần):
docker pull quay.io/biocontainers/fastqc:<version># Replace <version> with the specific tag, e.g. 0.11.9--hdfd78af_1Chạy FastQC, mount thư mục dữ liệu:
docker run --rm -v "$PWD:/data" quay.io/biocontainers/fastqc:<version> fastqc /data/my_reads.fastq--rm: tự động xoá container sau khi thoát.-v "$PWD:/data": mount thư mục hiện tại (chứa file FASTQ) vào container tại /data.Lợi ích chính:
Cách này hoạt động với hàng nghìn container bioinformatics: thay FastQC bằng Samtools, BWA, STAR, hoặc công cụ khác.
Đôi khi cần chạy công cụ hoặc khám phá tương tác bên trong container. Docker hỗ trợ điều này với cờ -it:
-i giữ STDIN mở (nhập tương tác)-t cấp một pseudo-terminal (TTY)Ví dụ: mở shell tương tác bên trong container FastQC:
docker run --rm -it -v "$PWD:/data" quay.io/biocontainers/fastqc:<version> /bin/bashBây giờ bạn đang ở trong shell của container:
fastqc /data/my_reads.fastqls /dataLợi ích:
Nếu một container đang chạy (có thể như một phần của pipeline hoặc tiến trình nền), Docker cho phép kết nối và debug tương tác bằng docker exec:
Liệt kê các container đang chạy:
docker psGhi lại CONTAINER ID trong kết quả.
Mở shell bash bên trong container đang chạy:
docker exec -it <CONTAINER_ID> /bin/bashSau đó có thể kiểm tra file, xem log và chạy thêm lệnh bên trong container đang sống.
Nhiều container chạy một công cụ cụ thể làm ENTRYPOINT mặc định; ví dụ, container FastQC tự động chạy FastQC. Bạn có thể tạm thời ghi đè ENTRYPOINT và mở một shell bằng:
docker run --rm -it --entrypoint /bin/bash quay.io/biocontainers/fastqc:<version>Lệnh này mở shell tương tác ngay cả khi Dockerfile chỉ định một lệnh mặc định khác, hữu ích cho debug hoặc khám phá môi trường container.
Tóm tắt:
docker exec để debug container đang chạy.Khi một pipeline Nextflow chạy với Docker container, Nextflow sinh và thực thi lệnh Docker cho từng task. Hiểu những lệnh này hữu ích cho debug, profiling, và để thấy rõ pipeline đang làm gì.
Nextflow tạo một cấu trúc thư mục work, trong đó mỗi task có thư mục riêng chứa:
.command.sh - script shell cần thực thi.command.run - script wrapper mà Nextflow dùng để chạy task.command.trace - trace thực thi task.exitcode - exit code của taskCấu trúc thư mục:
work/├── ab/│ ├── abc123def456.../│ │ ├── .command.sh│ │ ├── .command.run│ │ ├── .command.trace│ │ └── ... (output files)│ └── def789ghi012.../│ └── ...└── fe/ └── 949a78b06c5fd8284aeb2f87d14f7d/ ├── .command.sh ├── .command.run └── ... (task outputs)Để xem chính xác lệnh Docker mà Nextflow đã thực thi cho một task cụ thể:
# 1. Find your task's work directory# For example, in the pipeline output you might see:# vep (ensembl-vep:115.2) [fe/949a78b...]
# 2. Navigate to that directorycd work/fe/949a78b06c5fd8284aeb2f87d14f7d/
# 3. View the command that was executedcat .command.runDưới đây là một ví dụ đầy đủ về cách Nextflow chạy một Docker container:
docker rm $NXF_BOXID &>/dev/null || truedocker stop $NXF_BOXID
docker run -i \ --cpu-shares 8192 \ --memory 14336m \ -e "NXF_TASK_WORKDIR" \ -e "NXF_DEBUG=${NXF_DEBUG:=0}" \ -v <your project working directory>:<your project working directory> \ -w "$NXF_TASK_WORKDIR" \ -u $(id -u):$(id -g) \ --name $NXF_BOXID \ community.wave.seqera.io/library/ensembl-vep:115.2--90ec797ecb088e9a \ /bin/bash <your project working directory>/work/fe/949a78b06c5fd8284aeb2f87d14f7d/.command.run nxf_traceMỗi thành phần có một mục đích cụ thể:
| Component | Purpose |
|---|---|
docker run |
Start a new container |
-i |
Keep STDIN open (interactive) |
--cpu-shares 8192 |
Allocate CPU resources (set by Nextflow from cpus directive) |
--memory 14336m |
Limit memory to 14GB (set by Nextflow from memory directive) |
-e NXF_TASK_WORKDIR |
Pass Nextflow task work directory env var |
-e NXF_DEBUG=${NXF_DEBUG:=0} |
Pass debug flag |
-v /project:/project |
Mount project directory for input/output |
-w "$NXF_TASK_WORKDIR" |
Set working directory inside container |
-u $(id -u):$(id -g) |
Run as current user (file permissions) |
--name $NXF_BOXID |
Name the container (cleanup reference) |
image:tag |
Container image to use |
/bin/bash .command.run |
Execute the task script |
nxf_trace |
Nextflow tracing flag |
Nếu một task thất bại trong Nextflow, có thể chạy lại thủ công để debug:
# 1. Navigate to the task work directorycd work/fe/949a78b06c5fd8284aeb2f87d14f7d/
# 2. View the task scriptcat .command.sh
# 3. View Nextflow's Docker wrappercat .command.run
# 4. Manually run the Docker command (copy from .command.run output)# and inspect what went wrongdocker run -i \ --cpu-shares 8192 \ --memory 14336m \ -e "NXF_TASK_WORKDIR" \ -v <your project working directory>:<your project working directory> \ -w "$NXF_TASK_WORKDIR" \ -u $(id -u):$(id -g) \ community.wave.seqera.io/library/ensembl-vep:115.2--90ec797ecb088e9a \ /bin/bash <your project working directory>/work/fe/949a78b06c5fd8284aeb2f87d14f7d/.command.run
# 5. Check the exit codecat .exitcode
# 6. View any error logscat .command.err # (if exists)cat .command.out # (if exists)
# 7. If you run on HPC, (e.g SLURM ), run submit jobsbatch .command.run
# 8. You can debug manually by running container interactivelydocker run -it -v $PWD:$PWD -w $PWD <your container>
# 9. Modify .command.sh then inside your container, start to debug by running command directlybash .command.sh| Feature | How Nextflow uses it |
|---|---|
| Resource limits | --cpus and --memory directives → --cpu-shares and --memory flags |
| Volume mounts | Pipeline inputs/outputs → -v flags |
| User permissions | Current user → -u $(id -u):$(id -g) |
| Work directory | Task-specific directory → -w "$NXF_TASK_WORKDIR" |
| Container cleanup | Automatic removal → docker rm commands |
| Environment variables | Pipeline configuration → -e flags |
Việc xem các lệnh Docker thực tế có thể giúp bạn:
Kiểm tra phân bổ tài nguyên:
grep "cpu-shares\|memory" work/*/*/.command.runXác minh các volume được mount:
grep "\-v" work/ab/abc123*/.command.runXem các image container đang dùng:
grep "docker run" work/*/*/.command.run | grep -oE "image:[^ ]+"Profiling thực thi task:
# Check how long each task tookfor dir in work/*/*/*/.command.trace; do echo "Task: $(dirname $dir)" cat "$dir"donework/<task-id>/.command.run.Build Docker image hiệu quả giúp image tải xuống, chạy và chia sẻ nhanh hơn.
Bắt đầu với base image nhẹ, chính thức
Chỉ cài các công cụ cần thiết
Dọn cache và xoá file tạm
rm -rf /var/lib/apt/lists/*Dùng multi-stage build cho công cụ lớn hoặc cần biên dịch
FROM ubuntu:24.04RUN apt-get update && \ apt-get install -y --no-install-recommends samtools && \ apt-get clean && rm -rf /var/lib/apt/lists/*WORKDIR /dataCMD ["/bin/bash"]FROM ubuntu:24.04 AS builderRUN apt-get update && apt-get install -y build-essential wgetRUN wget https://github.com/samtools/samtools/releases/download/1.18/samtools-1.18.tar.bz2 && \ tar -xjf samtools-1.18.tar.bz2 && \ cd samtools-1.18 && \ ./configure --prefix=/usr/local && make && make install
FROM ubuntu:24.04RUN apt-get update && apt-get install -y --no-install-recommends libbz2-1.0 liblzma5 zlib1gCOPY --from=builder /usr/local/bin/samtools /usr/local/bin/WORKDIR /dataCMD ["/bin/bash"].dockerignore để giảm kích thước build contextBuild Docker container từ gói Conda là một cách để tạo môi trường bioinformatics tái lập. Micromamba là một lựa chọn nhẹ thay cho Conda, phù hợp bên trong container.
Micromamba có một vài lợi ích thực tế so với Conda truyền thống khi build container:
mambaorg/micromamba khoảng 150 MB.Thay vì viết các lệnh RUN phức tạp với chỉ định gói nội tuyến, hãy dùng file môi trường conda.yml.
conda.yml:
name: basechannels: - conda-forge - biocondadependencies: - bioconda::fastqc=0.12.1 - bioconda::samtools=1.18 - bioconda::bwa=0.7.17 - conda-forge::procps-ngDockerfile:
FROM mambaorg/micromamba:1.5.10-noble
# Copy environment fileCOPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml
# Install packages from environment fileRUN micromamba install -y -n base -f /tmp/conda.yml \ && micromamba clean -a -y
# Export explicit lock file for reproducibilityRUN micromamba env export --name base --explicit > environment.lock \ && echo ">> CONDA_LOCK_START" \ && cat environment.lock \ && echo "<< CONDA_LOCK_END"
# Set PATHUSER rootENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
WORKDIR /dataCMD ["/bin/bash"]Lần lượt từng thành phần:
1. Base image:
FROM mambaorg/micromamba:1.5.10-noblemambaorg/micromamba đã có Micromamba cài sẵn1.5.10 là phiên bản (pin để tái lập)noble là biến thể Ubuntu 24.04 LTS2. Copy file môi trường:
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.ymlconda.yml của bạn vào container$MAMBA_USER là người dùng non-root do base image đặt3. Cài bằng Micromamba:
RUN micromamba install -y -n base -f /tmp/conda.yml \ && micromamba clean -a -y-y: tự động xác nhận cài đặt-n base: cài vào môi trường base-f /tmp/conda.yml: dùng file môi trườngmicromamba clean -a -y: xoá gói đã cache, giúp giảm kích thước image4. Sinh file lock (để tái lập):
RUN micromamba env export --name base --explicit > environment.lock \ && echo ">> CONDA_LOCK_START" \ && cat environment.lock \ && echo "<< CONDA_LOCK_END"5. Đặt PATH và người dùng:
USER rootENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"USER root cần thiết cho một số theo dõi hệ thống (xem procps-ng bên dưới)Chú ý conda-forge::procps-ng trong các phụ thuộc. Lý do là:
dependencies: - conda-forge::procps-ngNextflow dùng các công cụ của procps-ng (như ps, top) để theo dõi:
Nếu thiếu chúng, Nextflow không thể theo dõi mức dùng tài nguyên của task. Nên đưa chúng vào container bioinformatics.
Một ví dụ đầy đủ hơn với nhiều công cụ bioinformatics:
conda.yml:
name: basechannels: - conda-forge - biocondadependencies: - bioconda::fastqc=0.12.1 - bioconda::samtools=1.18 - bioconda::bwa=0.7.17 - bioconda::bcftools=1.18 - bioconda::picard=3.0.0 - conda-forge::procps-ng - conda-forge::parallelDockerfile:
FROM mambaorg/micromamba:1.5.10-noble
COPY --chown=$MAMBA_USER:$MAMBA_USER conda.yml /tmp/conda.yml
RUN micromamba install -y -n base -f /tmp/conda.yml \ && micromamba install -y -n base conda-forge::procps-ng \ && micromamba env export --name base --explicit > environment.lock \ && echo ">> CONDA_LOCK_START" \ && cat environment.lock \ && echo "<< CONDA_LOCK_END" \ && micromamba clean -a -y
USER rootENV PATH="$MAMBA_ROOT_PREFIX/bin:$PATH"
WORKDIR /dataCMD ["/bin/bash"]1. Build image:
docker build -t myregistry.com/bioinformatics/biotools:1.0 .2. Kiểm tra cục bộ:
docker run --rm -v "$PWD:/data" myregistry.com/bioinformatics/biotools:1.0 \ fastqc /data/sample.fastq3. Push lên registry:
docker push myregistry.com/bioinformatics/biotools:1.04. Dùng trong Nextflow:
process FASTQC { tag "${meta.id}" label 'process_medium'
conda "${moduleDir}/environment.yml" container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://depot.galaxyproject.org/singularity/fastqc:0.12.1--hdfd78af_0' : 'biocontainers/fastqc:0.12.1--hdfd78af_0' }"
input: tuple val(meta), path(reads)
output: tuple val(meta), path("*.html"), emit: html tuple val(meta), path("*.zip") , emit: zip path "versions.yml" , emit: versions
when: task.ext.when == null || task.ext.when
script: def args = task.ext.args ?: '' def prefix = task.ext.prefix ?: "${meta.id}" // Make list of old name and new name pairs to use for renaming in the bash while loop def old_new_pairs = reads instanceof Path || reads.size() == 1 ? [[ reads, "${prefix}.${reads.extension}" ]] : reads.withIndex().collect { entry, index -> [ entry, "${prefix}_${index + 1}.${entry.extension}" ] } def rename_to = old_new_pairs*.join(' ').join(' ') def renamed_files = old_new_pairs.collect{ _old_name, new_name -> new_name }.join(' ')
// The total amount of allocated RAM by FastQC is equal to the number of threads defined (--threads) time the amount of RAM defined (--memory) // https://github.com/s-andrews/FastQC/blob/1faeea0412093224d7f6a07f777fad60a5650795/fastqc#L211-L222 // Dividing the task.memory by task.cpu allows to stick to requested amount of RAM in the label def memory_in_mb = task.memory ? task.memory.toUnit('MB') / task.cpus : null // FastQC memory value allowed range (100 - 10000) def fastqc_memory = memory_in_mb > 10000 ? 10000 : (memory_in_mb < 100 ? 100 : memory_in_mb)
""" printf "%s %s\\n" ${rename_to} | while read old_name new_name; do [ -f "\${new_name}" ] || ln -s \$old_name \$new_name done
fastqc \\ ${args} \\ --threads ${task.cpus} \\ --memory ${fastqc_memory} \\ ${renamed_files}
cat <<-END_VERSIONS > versions.yml "${task.process}": fastqc: \$( fastqc --version | sed '/FastQC v/!d; s/.*v//' ) END_VERSIONS """
stub: def prefix = task.ext.prefix ?: "${meta.id}" """ touch ${prefix}.html touch ${prefix}.zip
cat <<-END_VERSIONS > versions.yml "${task.process}": fastqc: \$( fastqc --version | sed '/FastQC v/!d; s/.*v//' ) END_VERSIONS """}| Feature | conda.yml + Micromamba | Traditional Conda Dockerfile |
|---|---|---|
| Build speed | Fast | Slow |
| Image size | Small for typical tools | Larger |
| Reproducibility | Explicit lock file | Dependency drift possible |
| Version pinning | Easy in YAML | Inline in Dockerfile |
| Readability | Clear, readable YAML | Complex RUN statements |
| Channel support | Multiple channels | Limited |
| Maintenance | Update conda.yml easily | Rebuild entire Dockerfile |
File environment.lock sinh ra có thể lưu trong dự án:
# Extract from build output and savedocker build . 2>&1 | grep -A 1000 "CONDA_LOCK_START" | grep -B 1000 "CONDA_LOCK_END" > environment.lockVề sau, có thể tái lập chính xác môi trường:
# Rebuild from locked versionsmicromamba install -y -n base --file environment.lockPixi là công cụ mới hơn, kết hợp các khía cạnh của Conda, Mamba và quản lý file lock. Nó ngày càng được dùng trong bioinformatics để build container tái lập.
Vì sao dùng Pixi?
Ví dụ Dockerfile với Pixi:
ARG PIXI_VERSION=0.63.2ARG BASE_IMAGE=debian:bookworm-slim
FROM --platform=linux/amd64 ubuntu:24.04 AS builderARG PIXI_VERSIONRUN apt-get update && apt-get install -y curlRUN curl -Ls \ "https://github.com/prefix-dev/pixi/releases/download/v${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \ -o /pixi && chmod +x /pixiRUN /pixi --version
FROM --platform=linux/amd64 $BASE_IMAGE
# Add appuser with UID 1000RUN useradd -u 1000 -m -s /bin/bash appuserUSER appuserWORKDIR /home/appuser
# Copy pixi from builderCOPY --from=builder --chown=appuser:appuser --chmod=0555 /pixi /usr/local/bin/pixi
# Set up pixi with conda channelsENV PATH="/home/appuser/.pixi/bin:${PATH}"RUN pixi config set default-channels '["conda-forge", "bioconda"]' --global
# Install tools using pixiRUN pixi global install fastqc=0.12.1 samtools=1.18 bwa=0.7.17
# Clean cacheRUN pixi clean cache -y
WORKDIR /dataCMD ["/bin/bash"]Các tính năng chính của Pixi trong Dockerfile:
appuser non-root để tăng bảo mậtpixi global install cài và ghim phiên bảnpixi clean cache -y xoá file tạmSo sánh các công cụ container:
| Feature | Conda | Micromamba | Pixi |
|---|---|---|---|
| Speed | Baseline | Faster | Fast |
| Lock file | Manual export | Manual export | Automatic |
| Image size | Large | Small | Small |
| Reproducibility | Good | Strong | Strong |
| Complexity | High | Medium | Low |
| Learning curve | Steep | Medium | Low |
| Production-ready | Yes | Yes | Emerging |
Tóm tắt:
conda.yml với Micromamba cho các workflow đã được kiểm chứng.procps-ng vào để tương thích Nextflow, bất kể công cụ nào.Trước khi dành thời gian build Docker image từ đầu, hãy kiểm tra xem công cụ đã có trong registry container công khai chưa. Nhiều công cụ bioinformatics đã có container dựng sẵn, được bảo trì, sẵn sàng dùng.
Một thứ tự thực tế là:
BioContainers build và bảo trì Docker container cho các gói bioconda. Đây là điểm dừng đầu tiên phổ biến cho công cụ bioinformatics.
URL: https://biocontainers.pro/registry
Cách tìm và dùng một công cụ:
# Search for FastQCdocker search quay.io/biocontainers/fastqc
# Pull a specific versiondocker pull quay.io/biocontainers/fastqc:0.12.1--hdfd78af_1
# Run the tooldocker run --rm -v "$PWD:/data" quay.io/biocontainers/fastqc:0.12.1--hdfd78af_1 \ fastqc /data/sample.fastq
Ưu điểm:
Hạn chế:
Ví dụ với nhiều công cụ trong một workflow:
# Align reads with BWAdocker run --rm -v "$PWD:/data" quay.io/biocontainers/bwa:0.7.17--h5bf99c6_8 \ bwa mem /data/ref.fa /data/reads.fq > /data/aligned.sam
# Sort BAM with Samtoolsdocker run --rm -v "$PWD:/data" quay.io/biocontainers/samtools:1.18--hd87286a_0 \ samtools sort /data/aligned.sam > /data/aligned.bamSeqera Containers cung cấp một registry các container dựng sẵn, thường kết hợp nhiều công cụ, phù hợp với workflow phức tạp.
URL: https://seqera.io/containers/
Cách tìm và dùng container:
fastqc + samtools cùng nhau)Ví dụ:
# Pull a multi-tool containerdocker pull wave.seqera.io/library/fastqc:0.12.1-samtools_1.18
# Or use in Nextflowprocess analyzeReads { container 'wave.seqera.io/library/fastqc:0.12.1-samtools_1.18' script: ''' fastqc input.fastq samtools view input.bam '''}
Ưu điểm:
Hạn chế:
Tự build container là hợp lý khi:
Kịch bản ví dụ:
# Check if tool existsdocker pull quay.io/biocontainers/myraretool:latest # Not found
# Check Seqera Containers# Visit https://seqera.io/containers/ - (tool not found)
# → NOW you build it yourself using the Section 4 approachdocker build -t myregistry.com/myraretool:1.0 .docker push myregistry.com/myraretool:1.0| Tool type | Primary location | Alternative | Fallback |
|---|---|---|---|
| Common bioinformatics (FastQC, SAMtools, BWA, etc.) | https://biocontainers.pro/registry | https://seqera.io/containers/ | Build yourself |
| R/Bioconductor packages | https://biocontainers.pro/registry | https://seqera.io/containers/ | Build yourself |
| Python bioinformatics | https://biocontainers.pro/registry | https://seqera.io/containers/ | Build yourself |
| Specialized tools | https://biocontainers.pro/registry first | GitHub releases | Build yourself |
#!/bin/bash# 1. Search for tool in BioContainersTOOL="fastqc"VERSION="0.12.1"echo "Searching for $TOOL:$VERSION in BioContainers..."docker pull quay.io/biocontainers/$TOOL:$VERSION--* 2>/dev/null && \ echo "Found in BioContainers!" && \ exit 0
# 2. Try Seqera Containersecho "Trying Seqera Containers..."# (Check https://seqera.io/containers/ manually or via API)
# 3. Build yourselfecho "Not found in public registries. Building from scratch..."# Use the Section 4 approach with Micromamba or Pixidocker build -t myregistry.com/$TOOL:$VERSION .Pin chính xác phiên bản:
✓ Good: docker pull quay.io/biocontainers/samtools:1.18--hd87286a_0✗ Bad: docker pull quay.io/biocontainers/samtools:latestDùng build digest trong Nextflow:
process myTask { // Include digest for reproducibility container 'quay.io/biocontainers/samtools:1.18--hd87286a_0@sha256:abc123...' script: 'samtools view input.bam'}Giữ cache cục bộ để làm việc offline:
docker pull quay.io/biocontainers/samtools:1.18--hd87286a_0docker tag quay.io/biocontainers/samtools:1.18--hd87286a_0 \ myregistry.com/samtools:1.18docker push myregistry.com/samtools:1.18Do you need a bioinformatics tool in a container?│├─→ Search https://biocontainers.pro/registry (BioContainers)│ ├─→ Found? Use it│ └─→ Not found?│ ││ ├─→ Search https://seqera.io/containers/ (Seqera Containers)│ │ ├─→ Found? Use it│ │ └─→ Not found?│ │ ││ │ └─→ Build using Section 4│ │ (Micromamba or Pixi)Điểm chính:



