Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
simplified tests without singularity
Browse files Browse the repository at this point in the history
  • Loading branch information
Szilveszter Juhos committed Sep 13, 2018
1 parent 39fdfd4 commit 72c0c2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 20 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ env:
global:
- NXF_VER=0.31.0 SGT_VER=2.5.1
matrix:
- CE=singularity TEST=SOMATIC
- CE=docker TEST=SOMATIC
- CE=docker TEST=ANNOTATEVEP
- CE=singularity TEST=ANNOTATESNPEFF
- CE=docker TEST=ANNOTATESNPEFF
- CE=singularity TEST=GERMLINE
- CE=docker TEST=GERMLINE


install:
# Install Nextflow (and Singularity if needed)
- "./scripts/install.sh --engine $CE"
Expand Down
25 changes: 8 additions & 17 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,33 +89,24 @@ then
fi
fi


if [[ ALL,GERMLINE =~ $TEST ]]
then
# Added Strelka to germline test (no Strelka best practices test for this small data) and not asking for reports
echo "########################### TESTING GERMLINE WGS ########################################"
run_wrapper --germline --sampleDir Sarek-data/testdata/tiny/normal --variantCalling --tools HaplotypeCaller,Strelka --noReports
# testing targeted calls
echo "########################### TESTING GERMLINE TARGETED ########################################"
run_wrapper --germline --sampleDir Sarek-data/testdata/tiny/normal --variantCalling --tools HaplotypeCaller,Strelka --bed `pwd`/Sarek-data/testdata/target.bed --noReports
echo "########################### TESTING GERMLINE RECALIBRATION ########################################"
run_wrapper --germline --step recalibrate --noReports
clean_repo
run_wrapper --germline --sampleDir Sarek-data/testdata/tiny/normal --variantCalling --tools HaplotypeCaller,Strelka
run_wrapper --germline --sampleDir Sarek-data/testdata/tiny/normal --variantCalling --tools HaplotypeCaller,Strelka --bed `pwd`/Sarek-data/testdata/target.bed --noReports
run_wrapper --germline --step recalibrate --noReports
clean_repo
fi

if [[ ALL,SOMATIC =~ $TEST ]]
then
# Do we need HaplotypeCaller in the somatic test?
echo "########################### TESTING SOMATIC FROM SCRATCH ########################################"
run_wrapper --somatic --sample Sarek-data/testdata/tsv/tiny-manta.tsv --variantCalling --tools FreeBayes,HaplotypeCaller,Manta,Mutect2 --noReports
echo "########################### TESTING SOMATIC STRELKA BEST PRACTICE FROM SCRATCH ########################################"
run_wrapper --somatic --sample Sarek-data/testdata/tsv/tiny-manta.tsv --variantCalling --tools Manta,Strelka --noReports --strelkaBP
# run targeted tests with tiny set
echo "########################### TESTING SOMATIC TARGETED ########################################"
run_wrapper --somatic --sample Sarek-data/testdata/tsv/tiny.tsv --variantCalling --tools FreeBayes,HaplotypeCaller,Mutect2,Strelka --bed `pwd`/Sarek-data/testdata/target.bed
clean_repo
run_wrapper --somatic --sample Sarek-data/testdata/tsv/tiny-manta.tsv --variantCalling --tools Manta,Strelka --noReports --strelkaBP
run_wrapper --somatic --sample Sarek-data/testdata/tsv/tiny.tsv --variantCalling --tools FreeBayes,HaplotypeCaller,Mutect2,Strelka --bed `pwd`/Sarek-data/testdata/target.bed
clean_repo
fi


if [[ ALL,ANNOTATEALL,ANNOTATESNPEFF,ANNOTATEVEP =~ $TEST ]]
then
if [[ $TEST = ANNOTATESNPEFF ]]
Expand Down

0 comments on commit 72c0c2c

Please sign in to comment.