Skip to content
Snippets Groups Projects
Verified Commit e8fe1028 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

hisat2: add singularity files

parent 7a4d983c
No related branches found
No related tags found
No related merge requests found
#/bin/sh
sudo singularity build --force bin/hisat2:2.0.0.sif src/singularity_modules/hisat2/2.0.0/hisat2.def
singularity sign bin/hisat2:2.0.0.sif
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Nicolas Fontrodona
%post
HISAT2_VERSION=2.0.0
PACKAGES="unzip \
gcc \
g++ \
make \
curl \
ca-certificates"
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
curl -k -L http://ccb.jhu.edu/software/hisat2/downloads/hisat2-${HISAT2_VERSION}-beta-source.zip -o hisat2_linux-v${HISAT2_VERSION}.zip && \
unzip hisat2_linux-v${HISAT2_VERSION}.zip && \
cd hisat2-${HISAT2_VERSION}-beta && \
make && \
cp hisat2 /usr/bin && \
cp hisat2-* /usr/bin && \
rm -Rf hisat2-${HISAT2_VERSION}-beta
%environment
export HISAT2_VERSION=2.0.0
%runscript
exec /bin/bash "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment