-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,587 additions
and
90,521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,30 @@ | ||
# Reference: http://docs.travis-ci.com/user/languages/perl/ | ||
language: perl | ||
perl: | ||
- "5.18" | ||
- "5.14" | ||
- "5.10" | ||
- "5.22" | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
env: | ||
- VEP_PATH=~/vep | ||
- VEP_DATA=~/.vep | ||
- PERL5LIB=$VEP_PATH:$PERL5LIB | ||
- PATH=$VEP_PATH/htslib:$PATH | ||
|
||
before_install: | ||
- sudo apt-get install -y curl rsync tar make perl perl-base | ||
- cpanm --notest LWP::Simple LWP::Protocol::https Archive::Extract Archive::Tar Archive::Zip CGI DBI Time::HiRes | ||
|
||
install: | ||
- mkdir $VEP_PATH $VEP_DATA | ||
- cd $VEP_PATH | ||
- curl -LO https://github.com/Ensembl/ensembl-tools/archive/release/82.tar.gz | ||
- tar -zxf 82.tar.gz --starting-file variant_effect_predictor --transform='s|.*/|./|g' | ||
- perl INSTALL.pl --AUTO acf --SPECIES homo_sapiens --ASSEMBLY GRCh37 --DESTDIR $VEP_PATH --CACHEDIR $VEP_DATA | ||
- perl convert_cache.pl --species homo_sapiens --version 82_GRCh37 --dir $VEP_DATA | ||
- cd $TRAVIS_BUILD_DIR | ||
|
||
script: | ||
- perl maf2maf.pl --input-maf data/test.maf --output-maf test.vep.maf --tmp-dir anno_files --custom-enst data/isoform_overrides_at_mskcc --vep-forks 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,24 +91,14 @@ Convert the offline cache for use with tabix, that significantly speeds up the l | |
|
||
perl convert_cache.pl --species homo_sapiens,mus_musculus --version 82_GRCh37,82_GRCh38,82_GRCm38 --dir $VEP_DATA | ||
|
||
Download and tabix-index the VCF needed by VEP's ExAC plugin: | ||
Download and index a custom ExAC r0.3 VCF, that skips variants overlapping known somatic hotspots: | ||
|
||
cd $VEP_DATA | ||
curl -LO ftp://ftp.broadinstitute.org/pub/ExAC_release/release0.3/ExAC.r0.3.sites.vep.vcf.gz | ||
tabix -p vcf ExAC.r0.3.sites.vep.vcf.gz | ||
|
||
Download and tabix-index the datafile needed by VEP's dbNSFP plugin: | ||
|
||
cd $VEP_DATA | ||
curl -L ftp://[email protected]/dbNSFPv3.0c.zip > dbNSFP/dbNSFPv3.0c.zip | ||
unzip dbNSFPv3.0c.zip | ||
cat dbNSFP*chr* | bgzip -c > dbNSFP.gz | ||
tabix -s 1 -b 2 -e 2 dbNSFP.gz | ||
curl -L https://googledrive.com/host/0B6o74flPT8FAYnBJTk9aTF9WVnM > $VEP_DATA/ExAC.r0.3.sites.minus_somatic.vcf.gz | ||
tabix -p vcf $VEP_DATA/ExAC.r0.3.sites.minus_somatic.vcf.gz | ||
|
||
Test running VEP in offline mode with the ExAC plugin, on the provided sample GRCh37 VCF: | ||
|
||
cd $VEP_PATH | ||
perl variant_effect_predictor.pl --species homo_sapiens --assembly GRCh37 --offline --no_progress --everything --shift_hgvs 1 --check_existing --check_alleles --total_length --allele_number --no_escape --xref_refseq --dir $VEP_DATA --fasta $VEP_DATA/homo_sapiens/82_GRCh37/Homo_sapiens.GRCh37.75.dna.primary_assembly.fa --plugin ExAC,$VEP_DATA/ExAC.r0.3.sites.vep.vcf.gz --input_file example_GRCh37.vcf --output_file example_GRCh37.vep.txt | ||
perl variant_effect_predictor.pl --species homo_sapiens --assembly GRCh37 --offline --no_progress --everything --shift_hgvs 1 --check_existing --check_alleles --total_length --allele_number --no_escape --xref_refseq --dir $VEP_DATA --fasta $VEP_DATA/homo_sapiens/82_GRCh37/Homo_sapiens.GRCh37.75.dna.primary_assembly.fa --plugin ExAC,$VEP_DATA/ExAC.r0.3.sites.minus_somatic.vcf.gz --input_file example_GRCh37.vcf --output_file example_GRCh37.vep.txt | ||
|
||
Authors | ||
------- | ||
|
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters