Skip to content

Commit

Permalink
initial hisat2 download and bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
chgibb committed Nov 20, 2018
1 parent d912560 commit 78f1d93
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -22,6 +22,7 @@ forDist/FastQC/**
forDist/linux/samtools
forDist/win32/*.exe
forDist/bootstrap.min.css
forDist/hisat2*
src/installUpdateProcess/*.dll
\.idea/
src/**/*.js
Expand Down
24 changes: 24 additions & 0 deletions scripts/install/getHisat2.bash
@@ -0,0 +1,24 @@
(set -o igncr) 2>/dev/null && set -o igncr; # For Cygwin on Windows compaibility

if [[ "$OSTYPE" == "linux-gnu" ]]; then
wget "http://ccb.jhu.edu/software/hisat2/dl/hisat2-2.1.0-Linux_x86_64.zip"

unzip hisat2-2.1.0-Linux_x86_64.zip

cp hisat2-2.1.0/hisat2 forDist
cp hisat2-2.1.0//hisat2-build forDist
cp hisat2-2.1.0/hisat2-build-s forDist
cp hisat2-2.1.0/hisat2-build-l forDist
cp hisat2-2.1.0/hisat2-align-s forDist
cp hisat2-2.1.0/hisat2-align-l forDist
cp hisat2-2.1.0/hisat2-inspect forDist
cp hisat2-2.1.0/hisat2-inspect-s forDist
cp hisat2-2.1.0/hisat2-inspect-l forDist

rm hisat2-2.1.0-Linux_x86_64.zip
rm -rf hisat2-2.1.0
fi

if [[ "$OSTYPE" == "cygwin" ]]; then
wget "http://www.di.fc.ul.pt/~afalcao/hisat2.1/hisat2.1_Windows.zip"
fi

0 comments on commit 78f1d93

Please sign in to comment.