From 1049c625dd4ca3bb162744279f1e88e2c7021fdb Mon Sep 17 00:00:00 2001 From: Alvin Chen Date: Fri, 29 May 2020 09:51:02 -0400 Subject: [PATCH 1/2] add samtools-1.10 --- samtools/1.10/Dockerfile | 52 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 samtools/1.10/Dockerfile diff --git a/samtools/1.10/Dockerfile b/samtools/1.10/Dockerfile new file mode 100644 index 000000000..adc6f8264 --- /dev/null +++ b/samtools/1.10/Dockerfile @@ -0,0 +1,52 @@ + +################## BASE IMAGE ###################### + +FROM biocontainers/biocontainers:v1.1.0_cv2 + +################## METADATA ###################### + +ARG software_version=1.7.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="SAM" +LABEL extra.binaries="samtools" + +################## MAINTAINER ###################### +MAINTAINER Alvin Chen + +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"] \ No newline at end of file From f50002467e107f5c3d7f974eb8f1384828ceb1c6 Mon Sep 17 00:00:00 2001 From: "Alvin (Yuan) Chen" Date: Thu, 25 Jun 2020 15:04:26 -0400 Subject: [PATCH 2/2] update biotools label --- samtools/1.10/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samtools/1.10/Dockerfile b/samtools/1.10/Dockerfile index adc6f8264..9d2e05fa7 100644 --- a/samtools/1.10/Dockerfile +++ b/samtools/1.10/Dockerfile @@ -17,7 +17,7 @@ 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="SAM" +LABEL extra.identifiers.biotools="SAMTOOLS" LABEL extra.binaries="samtools" ################## MAINTAINER ###################### @@ -49,4 +49,4 @@ USER biodocker WORKDIR /data/ -# CMD ["samtools"] \ No newline at end of file +# CMD ["samtools"]