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

add samtools-1.10 #369

Open
wants to merge 2 commits into
base: master
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
52 changes: 52 additions & 0 deletions samtools/1.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

################## BASE IMAGE ######################

FROM biocontainers/biocontainers:v1.1.0_cv2

################## METADATA ######################

ARG software_version=1.7.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an eror here, version is 1.10.0

LABEL base_image="biocontainers:v1.1.0_cv2"
LABEL software="samtools"
LABEL version="1.10"
LABEL software.version="$software_version"
LABEL about.summary="Tools for manipulating next-generation sequencing data"
LABEL about.home="https://github.com/samtools/samtools"
LABEL about.documentation="https://github.com/samtools/samtools"
LABEL about.license_file="https://github.com/samtools/samtools"
LABEL about.license_file="https://github.com/samtools/samtools/blob/develop/LICENSE"
LABEL about.license="SPDX:MIT"
LABEL about.tags="Genomics"
LABEL extra.identifiers.biotools="SAMTOOLS"
LABEL extra.binaries="samtools"

################## MAINTAINER ######################
MAINTAINER Alvin Chen <[email protected]>

ENV ZIP=samtools-1.10.tar.bz2
ENV URL=https://sourceforge.net/projects/samtools/files/samtools/1.10
ENV FOLDER=samtools-1.10
ENV DST=/home/biodocker/bin
ENV ULOCAL=/usr/local/bin

USER 0

RUN apt-get update
RUN apt-get install -y libz-dev libncurses5-dev libncursesw5-dev libbz2-dev liblzma-dev libcurl4-openssl-dev
RUN wget $URL/$ZIP/download -O $DST/$ZIP && \
cd $DST && \
tar -jvxf $ZIP && \
rm $ZIP && \
cd $FOLDER/ && \
make && \
cd /data/ && \
mv $DST/$FOLDER/* $DST && \
rmdir $DST/$FOLDER

RUN ln -s $DST/* $ULOCAL/

USER biodocker

WORKDIR /data/

# CMD ["samtools"]