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
c4836fb5
Commit
c4836fb5
authored
Mar 06, 2020
by
Kevin Kunzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
32a97b06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
.gitignore
.gitignore
+4
-1
scripts/container.def
scripts/container.def
+15
-16
No files found.
.gitignore
View file @
c4836fb5
...
...
@@ -3,6 +3,9 @@
output
logs
nohup.out
container.sif
*.sif
*.html
.DS_Store
.Rproj.user
scripts/container.def
View file @
c4836fb5
...
...
@@ -20,15 +20,14 @@ From: rocker/verse:3.6.2
apt-get update && apt-get -y install google-cloud-sdk
# install python3 and snakemake
apt-get -y install \
python3 python3-pip
pip3 install snakemake
apt-get -y install python3 python3-pip
pip3 install snakemake==5.10.0
# install bcftools
export BCFVER=1.10.2
apt-get -y install \
gcc wget make zlib1g zlib1g-dev libbz2-dev liblzma-dev libcurl4-openssl-dev
wget https://github.com/samtools/bcftools/releases/download/
1.9
/bcftools-$BCFVER.tar.bz2
wget https://github.com/samtools/bcftools/releases/download/
$BCFVER
/bcftools-$BCFVER.tar.bz2
tar -xvjf bcftools-$BCFVER.tar.bz2
cd bcftools-$BCFVER
./configure --prefix=/usr/bcftools
...
...
@@ -36,21 +35,21 @@ From: rocker/verse:3.6.2
make install
(cd /usr/bin; ln -s /usr/bcftools/bin/bcftools bcftools)
# install PrediXcan and python dependencies (uses python 2.7)
apt-get -y install \
wget python-pip
wget https://raw.githubusercontent.com/hakyimlab/PrediXcan/master/Software/PrediXcan.py -O /usr/bin/predixcan
# download metaxcan/predixcan at exact hash and make executable
(cd /usr; git clone https://github.com/hakyimlab/MetaXcan; cd MetaXcan; git checkout 72e8c94edf31a4b261d29a7acf9a659804510e46)
ln -s /usr/MetaXcan/software/PrediXcan.py /usr/bin/predixcan
chmod +x /usr/bin/predixcan
pip install \
argparse datetime numpy
# download, extract and store (brain) weights
mkdir /usr/predixcan
wget https://zenodo.org/record/3518299/files/mashr_eqtl.tar?download=1 -O /usr/predixcan/mashr_eqtl.tar.gz
# install dependencies
pip3 install numpy==1.18.1 scipy==1.4.1 pandas==1.0.1 sqlalchemy==1.3.13
# download, extract and store weights
mkdir -p /usr/MetaXcan/weights
wget https://zenodo.org/record/3518299/files/mashr_eqtl.tar?download=1 -O /usr/MetaXcan/weights/mashr_eqtl.tar
tar -C /usr/MetaXcan/weights/ -xvf /usr/MetaXcan/weights/mashr_eqtl.tar
rm /usr/MetaXcan/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/
predix
can
chmod -R 777 /usr/
MetaX
can
# 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