forked from adamewing/bamsurgeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (50 loc) · 1.53 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
62
63
language: python
dist: precise
python:
- 2.7
sudo: required
before_install:
- WORKDIR=`pwd`
- export PATH=$WORKDIR/bin/:$PATH
install:
## Python modules
- pip install cython
- pip install pysam
## Picard
- wget https://github.com/broadinstitute/picard/releases/download/1.131/picard-tools-1.131.zip
- unzip picard-tools-1.131.zip
## 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://www.ebi.ac.uk/~zerbino/velvet/velvet_1.2.10.tgz
- tar xvzf velvet_1.2.10.tgz
- 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:
- python setup.py install
- cd test
- ./test_indel.sh ../picard-tools-1.131/picard.jar
- ./test_snv.sh ../picard-tools-1.131/picard.jar
- ./test_sv.sh