-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinstall.sh
40 lines (34 loc) · 1.08 KB
/
install.sh
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
36
37
38
39
40
#!/bin/bash
OS=$(uname -s)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
echo "Installing XPRESSpipe for ${OS}..."
# Install fastp-lite
cd $DIR/fastp_lite
if [ ${OS} == "Darwin" ]
then
make -f Makefile_macOS
else
make -f Makefile_Linux
fi
cd $DIR
cp $DIR/fastp_lite/fastp_lite $DIR/xpresspipe
# Install cufflinks
if [ ${OS} == "Darwin" ]
then
curl http://cole-trapnell-lab.github.io/cufflinks/assets/downloads/cufflinks-2.1.1.OSX_x86_64.tar.gz -o $DIR/cufflinks.tar.gz
tar -zxvf $DIR/cufflinks.tar.gz
rm $DIR/cufflinks.tar.gz;
mv $DIR/cufflinks-2.1.1.OSX_x86_64 $DIR/cufflinks
mv $DIR/cufflinks/cufflinks $DIR/xpresspipe
echo "Cufflinks installed";
else
curl http://cole-trapnell-lab.github.io/cufflinks/assets/downloads/cufflinks-2.1.1.Linux_x86_64.tar.gz -o $DIR/cufflinks.tar.gz
tar -zxvf $DIR/cufflinks.tar.gz
rm $DIR/cufflinks.tar.gz;
mv $DIR/cufflinks-2.1.1.Linux_x86_64 $DIR/cufflinks
mv $DIR/cufflinks/cufflinks $DIR/xpresspipe
echo "Cufflinks installed";
fi
# Install XPRESSpipe
pip install $DIR
echo "XPRESSpipe installation complete."