Skip to content

Commit 7f77d02

Browse files
author
Snaedis Kristmundsdottir
committed
Adding setup script, need to run only this if using static binary but need to run install.sh and this if compiling from source.
1 parent 59cbc3c commit 7f77d02

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

install.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,5 @@ unzip -qq SeqAnHTS.zip
44
unzip -qq htslib.zip
55
make -C htslib-develop
66
unzip -qq liblinear-2.01.zip
7-
echo "Unzipping and relocating markerInfo files"
8-
mkdir markerInfo
9-
for i in {1..22}; do gunzip -c chr${i}markerInfo.gz > markerInfo/chr${i}markerInfo; rm chr${i}markerInfo.gz; done
10-
mv longRepeats markerInfo/
11-
mv defaultModel markerInfo/
12-
echo "Unpacking kernel"
13-
gunzip kernel.tar.gz
14-
tar -xvf kernel.tar
157
echo "Compiling binaries"
168
make

setUp.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
echo "Unzipping and relocating markerInfo files"
3+
mkdir markerInfo
4+
for i in {1..22}; do gunzip -c chr${i}markerInfo.gz > markerInfo/chr${i}markerInfo; rm chr${i}markerInfo.gz; done
5+
mv longRepeats markerInfo/
6+
mv defaultModel markerInfo/
7+
echo "Unpacking kernel"
8+
gunzip kernel.tar.gz
9+
tar -xvf kernel.tar
10+
echo "Unpacking panel"
11+
gunzip panelMarkerInfo.tar.gz
12+
tar -xvf panelMarkerInfo.tar

0 commit comments

Comments
 (0)