Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rseraphi
nextflow
Commits
1f430b33
Verified
Commit
1f430b33
authored
6 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
BWA: add singularity def
parent
a494361b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/singularity_modules/BWA/0.7.17/BWA.def
+46
-0
46 additions, 0 deletions
src/singularity_modules/BWA/0.7.17/BWA.def
with
46 additions
and
0 deletions
src/singularity_modules/BWA/0.7.17/BWA.def
0 → 100644
+
46
−
0
View file @
1f430b33
Bootstrap: docker
From: ubuntu:18.04
%labels
MAINTAINER Laurent Modolo
%post
BWA_VERSION=0.7.17
SAMBLASTER_VERSION=0.1.24
PACKAGES=curl="7.58.0* \
ca-certificates=20180409 \
build-essential=12.4* \
zlib1g-dev=1:1.2.11*"
apt-get update && \
apt-get install -y --no-install-recommends ${PACKAGES} && \
apt-get clean
curl -k -L https://github.com/biod/sambamba/releases/download/v${SAMBAMBA_VERSION}/sambamba_v${SAMBAMBA_VERSION}_linux.tar.bz2 -o sambamba_v${SAMBAMBA_VERSION}_linux.tar.bz2 && \
tar xvjf sambamba_v${SAMBAMBA_VERSION}_linux.tar.bz2 && \
mv sambamba /usr/bin/ && \
rm -R sambamba_v${SAMBAMBA_VERSION}_linux*
curl -k -L https://github.com/lh3/bwa/releases/download/v${BWA_VERSION}/bwa-${BWA_VERSION}.tar.bz2 -o bwa-v${BWA_VERSION}.tar.bz2 && \
tar xjf bwa-v${BWA_VERSION}.tar.bz2 && \
cd bwa-${BWA_VERSION}/ && \
make && \
cp bwa /usr/bin && \
cd .. && \
rm -R bwa-${BWA_VERSION}/
curl -k -L https://github.com/GregoryFaust/samblaster/releases/download/v.${SAMBLASTER_VERSION}/samblaster-v.${SAMBLASTER_VERSION}.tar.gz -o samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
tar xvf samblaster-v.${SAMBLASTER_VERSION}.tar.gz && \
cd samblaster-v.${SAMBLASTER_VERSION}/ && \
make && \
cp samblaster /usr/bin && \
cd .. && \
rm -R samblaster-v.${SAMBLASTER_VERSION}/
%environment
export BWA_VERSION=0.7.17
export SAMBLASTER_VERSION=0.1.24
%runscript
exec /bin/bash "$@"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment