File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 7
7
8
8
env :
9
9
- BLASTVER=2.9.0
10
+ - CACHEDIR=tarballs
11
+
12
+ cache :
13
+ directories :
14
+ - $CACHEDIR
10
15
11
16
install :
12
17
- " cpanm --quiet --notest Moo JSON List::MoreUtils"
13
- - " wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${BLASTVER}/ncbi-blast-${BLASTVER}+-x64-linux.tar.gz"
14
- - " tar zxvf ncbi-blast-${BLASTVER}+-x64-linux.tar.gz"
18
+ - " mkdir -p $CACHEDIR"
19
+ - " wget -N -nc -c -P $CACHEDIR http://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${BLASTVER}/ncbi-blast-${BLASTVER}+-x64-linux.tar.gz"
20
+ - " tar zxvf $CACHEDIR/ncbi-blast-${BLASTVER}+-x64-linux.tar.gz"
15
21
- " curl https://raw.githubusercontent.com/tseemann/any2fasta/master/any2fasta > bin/any2fasta"
16
22
- " chmod +x bin/any2fasta"
17
23
- " export PATH=$PWD/bin:$PWD/ncbi-blast-${BLASTVER}+/bin:$PATH"
You can’t perform that action at this time.
0 commit comments