Skip to content

Commit 291c5e8

Browse files
committed
Attach new singularity definition file
1 parent eac9692 commit 291c5e8

File tree

1 file changed

+36
-6
lines changed

1 file changed

+36
-6
lines changed

Configuration/Singularity/OdysseyContainer.def Configuration/Singularity/OdysseyContainer1.def

+36-6
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ From: ubuntu:latest
3333

3434
# Export language preferences
3535
locale-gen en_US.UTF-8
36-
3736
export LANG=en_US.UTF-8
3837
export LC_ALL=en_US.UTF-8
3938
defaults write org.R-project.R force.LANG en_US.UTF-8
@@ -60,9 +59,11 @@ From: ubuntu:latest
6059
# Install R Packages
6160

6261
#Rscript -e "install.packages(c('rgl', 'gdtools'), dependencies=T, repos='https://cran.cnr.berkeley.edu/')"
63-
64-
Rscript -e "install.packages(c('data.table','tidyverse','qqman', 'manhattanly','scales','ggplot2','car', 'MASS','gridExtra', 'rcompanion'), dependencies=T, repos='https://cran.cnr.berkeley.edu/')"
65-
#Rscript -e "install.packages('openssl', dependencies=T, repos='https://cran.cnr.berkeley.edu/')"
62+
#Rscript -e "install.packages('openssl', dependencies=T, repos='https://cran.cnr.berkeley.edu/')"
63+
64+
Rscript -e "install.packages(c('data.table','tidyverse','qqman', 'manhattanly','scales','ggplot2','car', 'MASS','gridExtra', 'rcompanion'), dependencies=T, repos='https://cran.cnr.berkeley.edu/')"
65+
66+
6667

6768

6869
# Tidy Up Apt-get package manager
@@ -73,14 +74,35 @@ From: ubuntu:latest
7374
# Install Plink2 (to /usr/local/bin/)
7475

7576
# Download from site
76-
wget --output-document=/usr/local/bin/Plink2.zip http://s3.amazonaws.com/plink2-assets/plink2_linux_x86_64_20190102.zip
77+
wget --output-document=/usr/local/bin/Plink2.zip http://s3.amazonaws.com/plink2-assets/plink2_linux_avx2_20190402.zip
7778

7879
# Unpack
7980
unzip /usr/local/bin/Plink2.zip -d /usr/local/bin/
8081

8182
# Remove the installation Clutter
8283
rm /usr/local/bin/Plink2.zip
8384

85+
# Install Eagle2 (to /usr/local/bin/)
86+
87+
# Download from site
88+
wget --output-document=/usr/local/bin/Eagle.tar.gz https://data.broadinstitute.org/alkesgroup/Eagle/downloads/Eagle_v2.4.1.tar.gz
89+
90+
# Unpack
91+
tar -zxvf /usr/local/bin/Eagle.tar.gz --directory /usr/local/bin/
92+
93+
94+
# Remove the installation Clutter
95+
rm /usr/local/bin/Eagle.tar.gz
96+
97+
# Install Minimach4 (to /usr/local/bin/)
98+
99+
# Download from site
100+
wget --output-document=/usr/local/bin/Minimach4.deb https://github.com/statgen/Minimac4/releases/download/v1.0.0/minimac4-1.0.0-Linux.deb
101+
102+
# Install
103+
cd /usr/local/bin/
104+
dpkg -i /usr/local/bin/Minimach4.deb
105+
apt-get -y install -f
84106

85107
# Install SNPTEST (to /usr/local/bin/)
86108

@@ -136,7 +158,15 @@ From: ubuntu:latest
136158

137159
%environment
138160

139-
export PATH=/usr/local/bin/miniconda/bin:$PATH
161+
# Set Path
162+
PATH=$PATH:\
163+
/usr/local/bin/miniconda/bin:\
164+
/usr/local/bin/Eagle_v2.4.1:\
165+
/usr/local/bin/Minimach4:\
166+
$HOME/.local/bin:\
167+
168+
# Export path and other things
169+
export PATH
140170
export LANG=en_US.UTF-8
141171
export LC_ALL=en_US.UTF-8
142172

0 commit comments

Comments
 (0)