Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM python:3.10.14-slim-bullseye

LABEL software="spades" \
author="Sebastian Bassi <sebastian@toyoko.io>" \
base_image="python:3.10.14-slim-bullseye" \
container="spades" \
about.summary="genome assembler for single-cell and isolates data sets" \
about.home="https://ablab.github.io/spades/" \
software.version="4.0.0" \
extra.identifiers.biotools="spades" \
about.paper="Prjibelski A, Antipov D, Meleshko D, Lapidus A, Korobeynikov A (2020) Using SPAdes de novo assembler. Current Protocols in Bioinformatics 70(1): e102. https://doi.org/10.1002/cpbi.102" \
about.license="GPL-2+" \
about.tags="biology::nucleic-acids, field::biology, field::biology:bioinformatics,:c++,:python, interface::commandline,:program, scope::utility, works-with::biological-sequence,:file"

USER root

RUN apt-get update && apt-get install -y build-essential cmake wget libbz2-dev git

RUN wget https://github.com/ablab/spades/releases/download/v4.0.0/SPAdes-4.0.0.tar.gz

RUN tar xfz SPAdes-4.0.0.tar.gz && rm SPAdes-4.0.0.tar.gz && cd SPAdes-4.0.0/ && \
cmake -B build/ -S src/ -DSPADES_USE_NCBISDK=ON -DSPADES_ENABLE_PROJECTS=all && \
cmake --build build/ && cmake --install build/ && cd .. && rm -rf SPAdes-4.0.0/

CMD ["/bin/bash"]

# spades.py --test