forked from MarWoes/wg-blimp
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_in_docker.sh
More file actions
executable file
·35 lines (23 loc) · 957 Bytes
/
install_in_docker.sh
File metadata and controls
executable file
·35 lines (23 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
set -euxo pipefail
apt update
apt install unzip
TEST_DIR=/tmp/testrun/
mkdir -p $TEST_DIR
cd $TEST_DIR
wget https://uni-muenster.sciebo.de/s/7vpqRSEATYcvlnP/download
unzip download
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda install --yes --name base wg-blimp r-base==4.1.1
#conda install --yes --name base click h5py pysam r-base==4.1.1 r-data.table r-dt r-ggplot2 r-htmlwidgets r-httpuv r-shiny r-shinydashboard ruamel.yaml 'snakemake-minimal>=5.8' mamba==0.17.0
conda clean --all --yes
#git clone --recursive https://github.com/MarWoes/wg-blimp /root/wg-blimp
#pip install /root/wg-blimp
cd $TEST_DIR
wg-blimp create-config --cores-per-job 4 fastq chr22.fasta blood1,blood2 sperm1,sperm2 results config.yaml
wg-blimp run-snakemake-from-config --cores=4 --dry-run config.yaml
wg-blimp run-snakemake-from-config --cores=4 config.yaml
cd /
rm -rf $TEST_DIR