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

rsem: add singularity files

parent 97f4337f
No related branches found
No related tags found
No related merge requests found
#/bin/sh
sudo singularity build --force bin/rsem:1.3.0.sif src/singularity_modules/rsem/1.3.0/rsem.def
singularity sign bin/rsem:1.3.0.sif
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Laurent Modolo
%post
RSEM_VERSION=1.3.0
BOWTIE2_VERSION=2.3.4.1
SAMTOOLS_VERSION=1.7
PACKAGES="git \
build-essential \
ca-certificates \
zlib1g-dev \
bowtie2=${BOWTIE2_VERSION}* \
samtools=${SAMTOOLS_VERSION}*"
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
git clone https://github.com/deweylab/RSEM.git RSEM_${RSEM_VERSION} && \
cd RSEM_${RSEM_VERSION} && \
git checkout tags/v${RSEM_VERSION} && \
make && \
cd .. && \
mv RSEM_${RSEM_VERSION}/rsem-* RSEM_${RSEM_VERSION}/rsem_* RSEM_${RSEM_VERSION}/convert-* RSEM_${RSEM_VERSION}/extract-* /usr/bin/ && \
rm -Rf RSEM_${RSEM_VERSION}
%environment
export RSEM_VERSION=1.3.0
export BOWTIE2_VERSION=2.3.4.1
export SAMTOOLS_VERSION=1.7
%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