@@ -33,7 +33,6 @@ From: ubuntu:latest
33
33
34
34
# Export language preferences
35
35
locale-gen en_US.UTF-8
36
-
37
36
export LANG=en_US.UTF-8
38
37
export LC_ALL=en_US.UTF-8
39
38
defaults write org.R-project.R force.LANG en_US.UTF-8
@@ -60,9 +59,11 @@ From: ubuntu:latest
60
59
# Install R Packages
61
60
62
61
#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
+
66
67
67
68
68
69
# Tidy Up Apt-get package manager
@@ -73,14 +74,35 @@ From: ubuntu:latest
73
74
# Install Plink2 (to /usr/local/bin/)
74
75
75
76
# 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
77
78
78
79
# Unpack
79
80
unzip /usr/local/bin/Plink2.zip -d /usr/local/bin/
80
81
81
82
# Remove the installation Clutter
82
83
rm /usr/local/bin/Plink2.zip
83
84
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
84
106
85
107
# Install SNPTEST (to /usr/local/bin/)
86
108
@@ -136,7 +158,15 @@ From: ubuntu:latest
136
158
137
159
%environment
138
160
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
140
170
export LANG=en_US.UTF-8
141
171
export LC_ALL=en_US.UTF-8
142
172
0 commit comments