-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget-requirements.bat
executable file
·54 lines (48 loc) · 2.7 KB
/
get-requirements.bat
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@ECHO OFF
echo "Fetching bamtools 2.5.2 from https://github.com/pezmaster31/bamtools/archive/refs/tags/v2.5.2.tar.gz"
cd downloads-to-install/bamtools
curl.exe -Lo v2.5.2.tar.gz https://github.com/pezmaster31/bamtools/archive/refs/tags/v2.5.2.tar.gz
IF NOT EXIST v2.5.2.tar.gz (
echo "ERROR: Could not download bamtools! Check the link above and try to download it or a newer version (ending in .zip) to place in downloads-to-install/bamtools. More information is available in the README."
pause
exit /b 1
)
cd ../..
echo "Fetching bowtie2 from https://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.5.1/bowtie2-2.5.1-linux-x86_64.zip/download"
cd downloads-to-install/bowtie2
curl -Lo bowtie2-2.5.1-linux-x86_64.zip https://sourceforge.net/projects/bowtie-bio/files/bowtie2/2.5.1/bowtie2-2.5.1-linux-x86_64.zip/download
IF NOT EXIST bowtie2-2.5.1-linux-x86_64.zip (
echo "ERROR: Could not download bowtie2! Check the link above and try to download it or a newer version (ending in .zip) to place in downloads-to-install/bowtie2. More information is available in the README."
pause
exit /b 1
)
cd ../..
echo "Fetching lofreq from https://github.com/CSB5/lofreq/raw/master/dist/lofreq_star-2.1.5_linux-x86-64.tgz"
cd downloads-to-install/lofreq
curl -Lo lofreq_star-2.1.5_linux-x86-64.tgz https://github.com/CSB5/lofreq/raw/master/dist/lofreq_star-2.1.5_linux-x86-64.tgz
IF NOT EXIST lofreq_star-2.1.5_linux-x86-64.tgz (
echo "ERROR: Could not download lofreq! Check the link above and try to download it or a newer version (ending in .zip) to place in downloads-to-install/lofreq. More information is available in the README."
pause
exit /b 1
)
cd ../..
echo "Fetching picard from https://github.com/broadinstitute/picard/releases/download/3.1.0/picard.jar"
cd downloads-to-install/picard
curl -Lo picard.jar https://github.com/broadinstitute/picard/releases/download/3.1.0/picard.jar
IF NOT EXIST picard.jar (
echo "ERROR: Could not download picard! Check the link above and try to download it or a newer version (ending in .zip) to place in downloads-to-install/picard. More information is available in the README."
pause
exit /b 1
)
cd ../..
echo "Fetching samtools 1.18 from https://github.com/samtools/samtools/releases/download/1.18/samtools-1.18.tar.bz2"
cd downloads-to-install/samtools
curl -Lo samtools-1.18.tar.bz2 https://github.com/samtools/samtools/releases/download/1.18/samtools-1.18.tar.bz2
IF NOT EXIST samtools-1.18.tar.bz2 (
echo "ERROR: Could not download samtools! Check the link above and try to download it or a newer version (ending in .zip) to place in downloads-to-install/samtools. More information is available in the README."
pause
exit /b 1
)
cd ../..
echo "The requirements should now be installed."
pause