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

cutadapt: add v2.1

parent 5a5e044e
No related branches found
No related tags found
No related merge requests found
FROM alpine:3.8
MAINTAINER Laurent Modolo
ENV CUTADAPT_VERSION=2.1
ENV PACKAGES bash \
python3 \
python3-dev \
musl-dev \
gcc
RUN apk update && \
apk add ${PACKAGES}
RUN pip3 install --upgrade pip && \
pip3 install cutadapt==${CUTADAPT_VERSION}
#!/bin/sh
docker build src/docker_modules/cutadapt/2.1 -t 'cutadapt:2.1'
...@@ -4,7 +4,7 @@ profiles { ...@@ -4,7 +4,7 @@ profiles {
docker.enabled = true docker.enabled = true
process { process {
withName: adaptor_removal { withName: adaptor_removal {
container = "cutadapt:1.15" container = "cutadapt:2.1"
cpus = 1 cpus = 1
} }
} }
...@@ -13,7 +13,7 @@ profiles { ...@@ -13,7 +13,7 @@ profiles {
singularity.enabled = true singularity.enabled = true
process { process {
withName: adaptor_removal { withName: adaptor_removal {
container = "file://bin/cutadapt:1.15.sif" container = "file://bin/cutadapt:2.1.sif"
cpus = 1 cpus = 1
} }
} }
...@@ -22,7 +22,7 @@ profiles { ...@@ -22,7 +22,7 @@ profiles {
process{ process{
withName: adaptor_removal { withName: adaptor_removal {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "cutadapt/1.14" module = "cutadapt/2.1"
executor = "sge" executor = "sge"
clusterOptions = "-cwd -V" clusterOptions = "-cwd -V"
cpus = 1 cpus = 1
......
...@@ -4,7 +4,7 @@ profiles { ...@@ -4,7 +4,7 @@ profiles {
docker.enabled = true docker.enabled = true
process { process {
withName: adaptor_removal { withName: adaptor_removal {
container = "cutadapt:1.15" container = "cutadapt:2.1"
cpus = 1 cpus = 1
} }
} }
...@@ -13,7 +13,7 @@ profiles { ...@@ -13,7 +13,7 @@ profiles {
singularity.enabled = true singularity.enabled = true
process { process {
withName: adaptor_removal { withName: adaptor_removal {
container = "file://bin/cutadapt:1.15.sif" container = "file://bin/cutadapt:2.1.sif"
cpus = 1 cpus = 1
} }
} }
...@@ -22,7 +22,7 @@ profiles { ...@@ -22,7 +22,7 @@ profiles {
process{ process{
withName: adaptor_removal { withName: adaptor_removal {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "cutadapt/1.14" module = "cutadapt/2.1"
executor = "sge" executor = "sge"
clusterOptions = "-cwd -V" clusterOptions = "-cwd -V"
cpus = 1 cpus = 1
......
...@@ -4,7 +4,7 @@ profiles { ...@@ -4,7 +4,7 @@ profiles {
docker.enabled = true docker.enabled = true
process { process {
withName: trimming { withName: trimming {
container = "cutadapt:1.15" container = "cutadapt:2.1"
cpus = 1 cpus = 1
} }
} }
...@@ -13,7 +13,7 @@ profiles { ...@@ -13,7 +13,7 @@ profiles {
singularity.enabled = true singularity.enabled = true
process { process {
withName: trimming { withName: trimming {
container = "file://bin/cutadapt:1.15.sif" container = "file://bin/cutadapt:2.1.sif"
cpus = 1 cpus = 1
} }
} }
...@@ -22,7 +22,7 @@ profiles { ...@@ -22,7 +22,7 @@ profiles {
process{ process{
withName: trimming { withName: trimming {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "cutadapt/1.14" module = "cutadapt/2.1"
executor = "sge" executor = "sge"
clusterOptions = "-cwd -V" clusterOptions = "-cwd -V"
cpus = 1 cpus = 1
......
...@@ -4,7 +4,7 @@ profiles { ...@@ -4,7 +4,7 @@ profiles {
docker.enabled = true docker.enabled = true
process { process {
withName: trimming { withName: trimming {
container = "cutadapt:1.15" container = "cutadapt:2.1"
cpus = 1 cpus = 1
} }
} }
...@@ -13,7 +13,7 @@ profiles { ...@@ -13,7 +13,7 @@ profiles {
singularity.enabled = true singularity.enabled = true
process { process {
withName: trimming { withName: trimming {
container = "file://bin/cutadapt:1.15.sif" container = "file://bin/cutadapt:2.1.sif"
cpus = 1 cpus = 1
} }
} }
...@@ -22,7 +22,7 @@ profiles { ...@@ -22,7 +22,7 @@ profiles {
process{ process{
withName: trimming { withName: trimming {
beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
module = "cutadapt/1.14" module = "cutadapt/2.1"
executor = "sge" executor = "sge"
clusterOptions = "-cwd -V" clusterOptions = "-cwd -V"
cpus = 1 cpus = 1
......
psmn_modules @ 0c034f5b
Subproject commit c27ac9cb52d47bb63f6b8a364e8398827682ed5a Subproject commit 0c034f5bbeb8e91cecc04466b74654503a94ac7c
#/bin/sh
sudo singularity build --force bin/cutadapt:2.1.sif src/singularity_modules/cutadapt/2.1/cutadapt.def && \
singularity sign bin/cutadapt:2.1.sif
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Laurent Modolo
%post
CUTADAPT_VERSION=2.1
PACKAGES="bash \
python3 \
python3-dev \
musl-dev \
python3-pip \
gcc"
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
pip3 install setuptools
pip3 install cutadapt==${CUTADAPT_VERSION}
%environment
export CUTADAPT_VERSION=2.1
%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