Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
singularity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gad-public
singularity
Commits
7d92b402
Commit
7d92b402
authored
Mar 22, 2024
by
Valentin Vautrot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add R installation in picard singularity image
parent
2ccc7aab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
14 deletions
+23
-14
picard_3.0.0.def
picard_3.0.0.def
+23
-14
No files found.
picard_3.0.0.def
View file @
7d92b402
...
@@ -2,28 +2,31 @@ BootStrap: docker
...
@@ -2,28 +2,31 @@ BootStrap: docker
From: centos:8
From: centos:8
%help
%help
This is a singularity container packing picard tools v3.0.0 and java 17.
This is a singularity container packing picard tools v3.0.0 and java 17.
An R installation (4.3.3) is also provided as it is required by some picard tools.
Author : yannis.duffourd@u-bourgogne.fr
Author : yannis.duffourd@u-bourgogne.fr
, valentin.vautrot@u-bourgogne.fr
This singularity recipe is open source and free. Please redistribute it as well.
This singularity recipe is open source and free. Please redistribute it as well.
No warranty is provided.
No warranty is provided.
%setup
mkdir ${SINGULARITY_ROOTFS}/data
%files
%post
%post
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
yum update -y
dnf update -y --exclude=filesystem
yum install -y epel-release wget
dnf install -y epel-release wget
dnf --enablerepo=powertools install -y openblas-devel
# # install R with (old) java included
# dnf install -y R-4.3.3-1.el8.x86_64
# dnf remove -y java-1.8.0-openjdk java-1.8.0-openjdk-devel java-1.8.0-openjdk-headless
# # install R
dnf install -y R-core-4.3.3-1.el8.x86_64
# install java
#
#
install java
yum
install -y java-17-openjdk java-17-openjdk-devel
dnf
install -y java-17-openjdk java-17-openjdk-devel
# install picard
#
#
install picard
mkdir /opt/picard_3.0.0
mkdir /opt/picard_3.0.0
wget -O /opt/picard_3.0.0/picard.jar https://github.com/broadinstitute/picard/releases/download/3.0.0/picard.jar
wget -O /opt/picard_3.0.0/picard.jar https://github.com/broadinstitute/picard/releases/download/3.0.0/picard.jar
...
@@ -32,12 +35,17 @@ wget -O /opt/picard_3.0.0/picard.jar https://github.com/broadinstitute/picard/re
...
@@ -32,12 +35,17 @@ wget -O /opt/picard_3.0.0/picard.jar https://github.com/broadinstitute/picard/re
%labels
%labels
Maintainer Yannis Duffourd
Maintainer Yannis Duffourd
Updater Yannis Duffourd <yannis.duffourd@u-bourgogne.fr>
Updater Yannis Duffourd <yannis.duffourd@u-bourgogne.fr>
ContainerVersion v1.
0
ContainerVersion v1.
1
PicardTools 3.0.0 (Broad institute)
PicardTools 3.0.0 (Broad institute)
R version 4.3.3
Java version 17.0.1
%environment
%environment
export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which java)))))
export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which java)))))
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$JAVA_HOME/bin
%runscript
%runscript
echo "OK"
echo "java version : "
java -version
echo "R version : "
R --version
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment