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

hisat2: add v2.1.0

parent d51c969a
No related branches found
No related tags found
No related merge requests found
FROM samtools:1.7
MAINTAINER Nicolas Fontrodona
ENV HISAT2_VERSION=2.1.0
ENV PACKAGES curl \
zip \
g++ \
perl \
python
RUN apk update && \
apk add ${PACKAGES}
RUN curl -k -L http://ccb.jhu.edu/software/hisat2/dl/hisat2-${HISAT2_VERSION}-source.zip -o hisat2_linux-v${HISAT2_VERSION}.zip && \
unzip hisat2_linux-v${HISAT2_VERSION}.zip && \
cd hisat2-${HISAT2_VERSION} && \
make && \
cp hisat2 /usr/bin && \
cp hisat2-* /usr/bin && \
rm -Rf hisat2-${HISAT2_VERSION}
#!/bin/sh
docker build src/docker_modules/hisat2/2.1.0 -t 'hisat2:2.1.0'
......@@ -4,7 +4,7 @@ profiles {
docker.enabled = true
process {
withName: index_fasta {
container = "hisat2:2.0.0"
container = "hisat2:2.1.0"
cpus = 4
}
}
......@@ -14,7 +14,7 @@ profiles {
process {
withName: index_fasta {
cpus = 4
container = "file://bin/hisat2:2.0.0.sif"
container = "file://bin/hisat2:2.1.0.sif"
}
}
}
......@@ -22,7 +22,7 @@ profiles {
process{
withName: index_fasta {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "hisat2/2.0.0"
module = "hisat2/2.1.0"
executor = "sge"
clusterOptions = "-cwd -V"
memory = "20GB"
......
......@@ -5,7 +5,7 @@ profiles {
process {
withName: mapping_fastq {
cpus = 4
container = "hisat2:2.0.0"
container = "hisat2:2.1.0"
}
}
}
......@@ -14,7 +14,7 @@ profiles {
process {
withName: mapping_fastq {
cpus = 4
container = "file://bin/hisat2:2.0.0.sif"
container = "file://bin/hisat2:2.1.0.sif"
}
}
}
......@@ -22,7 +22,7 @@ profiles {
process{
withName: mapping_fastq {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "hisat2/2.0.0:samtools/1.7"
module = "hisat2/2.1.0:samtools/1.7"
executor = "sge"
clusterOptions = "-cwd -V"
memory = "20GB"
......
......@@ -5,7 +5,7 @@ profiles {
process {
withName: mapping_fastq {
cpus = 4
container = "hisat2:2.0.0"
container = "hisat2:2.1.0"
}
}
}
......@@ -14,7 +14,7 @@ profiles {
process {
withName: mapping_fastq {
cpus = 4
container = "file://bin/hisat2:2.0.0.sif"
container = "file://bin/hisat2:2.1.0.sif"
}
}
}
......@@ -22,7 +22,7 @@ profiles {
process{
withName: mapping_fastq {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "hisat2/2.0.0:samtools/1.7"
module = "hisat2/2.1.0:samtools/1.7"
executor = "sge"
clusterOptions = "-cwd -V"
memory = "20GB"
......
psmn_modules @ 746ce102
Subproject commit 9ae41bf72d4f536d73a76dfd13e375bca7d4f48e
Subproject commit 746ce10272091f40f3c98e6972dede47df4b0beb
#/bin/sh
sudo singularity build --force bin/hisat2:2.1.0.sif src/singularity_modules/hisat2/2.1.0/hisat2.def && \
singularity sign bin/hisat2:2.1.0.sif
Bootstrap: docker
From: alpine:3.8
%labels
MAINTAINER Laurent Modolo
%post
SAMTOOLS_VERSION=1.7
HISAT2_VERSION=2.1.0
PACKAGES="git \
make \
gcc \
musl-dev \
zlib-dev \
ncurses-dev \
bzip2-dev \
xz-dev \
bash \
curl \
zip \
g++ \
perl \
python"
apk update && \
apk add ${PACKAGES}
git clone https://github.com/samtools/htslib.git && \
cd htslib && \
git checkout ${SAMTOOLS_VERSION} && \
cd .. && \
git clone https://github.com/samtools/samtools.git && \
cd samtools && \
git checkout ${SAMTOOLS_VERSION} && \
make && \
cp samtools /usr/bin/
curl -k -L http://ccb.jhu.edu/software/hisat2/dl/hisat2-${HISAT2_VERSION}-source.zip -o hisat2_linux-v${HISAT2_VERSION}.zip && \
unzip hisat2_linux-v${HISAT2_VERSION}.zip && \
cd hisat2-${HISAT2_VERSION} && \
make && \
cp hisat2 /usr/bin && \
cp hisat2-* /usr/bin && \
rm -Rf hisat2-${HISAT2_VERSION}
%environment
export SAMTOOLS_VERSION=1.7
export HISAT2_VERSION=2.1.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