Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
impute-gene-expression
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Kevin Kunzmann
impute-gene-expression
Commits
357c9883
Commit
357c9883
authored
Mar 10, 2020
by
Kevin Kunzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switched back to predixcan
parent
fbc37cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
scripts/singularity.def
scripts/singularity.def
+15
-14
No files found.
scripts/singularity.def
View file @
357c9883
...
...
@@ -35,29 +35,30 @@ From: rocker/verse:3.6.2
make install
(cd /usr/bin; ln -s /usr/bcftools/bin/bcftools bcftools)
# install MetaXcan and python dependencies
mkdir -p /usr/MetaXcan
# install PrediXcan and python dependencies
apt-get -y install \
python-pip
pip install \
argparse==1.4.0 numpy==1.18.1
mkdir -p /usr/PrediXcan
(cd /usr; \
git clone https://github.com/hakyimlab/
Meta
Xcan; \
cd
Meta
Xcan; \
git checkout
b5a1741244c32a30cd16d5eca5da4d0f38bc90a7
)
ln -s /usr/
Meta
Xcan/software/PrediXcan.py /usr/bin/predixcan
git clone https://github.com/hakyimlab/
Predi
Xcan; \
cd
Predi
Xcan; \
git checkout
e77dd8a04a0345cb63aa634d4f8acc6aca9e25e0
)
ln -s /usr/
Predi
Xcan/software/PrediXcan.py /usr/bin/predixcan
chmod +x /usr/bin/predixcan
pip3 install \
numpy==1.18.1 scipy==1.4.1 pandas==1.0.1 mock==4.0.1 sqlalchemy==1.3.13 \
patsy==0.5.1 statsmodels==0.11.1 h5py==2.10.0 h5py-cache==1.0
# download, extract and store weights
apt-get -y install wget
mkdir /usr/
Meta
Xcan/weights
mkdir /usr/
Predi
Xcan/weights
wget https://zenodo.org/record/3518299/files/mashr_eqtl.tar?download=1 \
-O /usr/
Meta
Xcan/weights/mashr_eqtl.tar
tar -C /usr/
MetaXcan/weights/ -xvf /usr/Meta
Xcan/weights/mashr_eqtl.tar
rm /usr/
Meta
Xcan/weights/mashr_eqtl.tar
-O /usr/
Predi
Xcan/weights/mashr_eqtl.tar
tar -C /usr/
PrediXcan/weights/ -xvf /usr/Predi
Xcan/weights/mashr_eqtl.tar
rm /usr/
Predi
Xcan/weights/mashr_eqtl.tar
# predixcan connects to the weights database with sql, needs write permission
# even if the file system will be read only for the container
chmod -R 777 /usr/
Meta
Xcan
chmod -R 777 /usr/
Predi
Xcan
# install R packages
Rscript /tmp/install.R
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