Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Dockerfile #1343

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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