forked from adamewing/bamsurgeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (48 loc) · 1.43 KB
/
.travis.yml
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
55
56
57
58
59
60
61
language: python
dist: precise
python:
- 3.6
sudo: required
before_install:
- WORKDIR=`pwd`
- export PATH=$WORKDIR/bin/:$PATH
install:
## Python modules
- pip install pysam
## Picard
- wget https://github.com/broadinstitute/picard/releases/download/2.27.3/picard.jar
- chmod +x picard.jar
## Exonerate
- git clone https://github.com/adamewing/exonerate.git
- cd exonerate
- git checkout v2.4.0
- autoreconf -i
- ./configure --prefix=$WORKDIR && make && make install
- cd ..
# Velvet
- wget https://github.com/dzerbino/velvet/archive/refs/tags/v1.2.10.tar.gz
- tar xvzf v1.2.10.tar.gz
- sudo make -C velvet-1.2.10
- sudo cp velvet-1.2.10/velvetg $WORKDIR/bin/
- sudo cp velvet-1.2.10/velveth $WORKDIR/bin/
## BWA
- git clone https://github.com/lh3/bwa.git
- sudo make -C bwa
- sudo mv bwa/bwa $WORKDIR/bin
## HTSLIB
- git clone https://github.com/samtools/htslib.git
- sudo make -C htslib
## Samtools
- git clone https://github.com/samtools/samtools.git
- sudo make -C samtools
- sudo mv samtools/samtools $WORKDIR/bin/
- sudo mv samtools/misc/wgsim $WORKDIR/bin/
## Bcftools
- git clone https://github.com/samtools/bcftools.git
- sudo make -C bcftools
- sudo mv bcftools/bcftools $WORKDIR/bin
script:
- cd test
- ./test_indel.sh ../picard.jar
- ./test_snv.sh ../picard.jar
- ./test_sv.sh