forked from EBIvariation/vep-mapping-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
22 lines (20 loc) · 1001 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
language: python
python:
- "3.8"
# The pipeline requires GNU parallel; bcftools; and certain Python modules
before_install:
- sudo apt-get -y install parallel
install:
- pip -q install -r requirements.txt
- git clone -q git://github.com/samtools/htslib.git
- git clone -q git://github.com/samtools/bcftools.git
- cd bcftools && make --quiet --jobs `nproc` && cd ..
- export PATH=$PATH:bcftools
# For the actual test, we're running a set of 2,000 ClinVar variants through VEP and comparing the result with the
# expected one (diff will exit with return code 0 if the files are identical, and with 1 otherwise). Of course, this
# means that when VEP updates, the test will break; however, this is exactly the intention, as in this case we will be
# able to compare the results and see if they make sense.
script:
- ls
- bash run_consequence_mapping.sh vep_mapping_pipeline/test/input.vcf output_mappings.tsv
- diff vep_mapping_pipeline/test/output_mappings.tsv output_mappings.tsv