@@ -21,4 +21,110 @@ jobs:
2121 docker tag nfcore/sarek:dev nfcore/sarek:dev
2222 - name : Run test
2323 run : |
24- nextflow run ${GITHUB_WORKSPACE} -profile test,docker
24+ nextflow run ${GITHUB_WORKSPACE} -profile test,docker
25+ annotation :
26+ runs-on : ubuntu-18.04
27+ strategy :
28+ matrix :
29+ annotator : [snpeff]
30+ specie : [GRCh37]
31+ steps :
32+ - uses : actions/checkout@v1
33+ - name : Install Nextflow
34+ run : |
35+ wget -qO- get.nextflow.io | bash
36+ sudo mv nextflow /usr/local/bin/
37+ env :
38+ NXF_VER : ' 19.10.0'
39+ - name : Download and tag images
40+ run : |
41+ docker pull nfcore/sarek:dev
42+ docker tag nfcore/sarek:dev nfcore/sarek:dev
43+ docker pull nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }}
44+ docker tag nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }} nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }}
45+ - name : Run annotation test
46+ run : |
47+ nextflow run . -profile test_annotation,docker --verbose --tools ${{ matrix.annotator }}
48+ germline :
49+ runs-on : ubuntu-18.04
50+ steps :
51+ - uses : actions/checkout@v1
52+ - name : Install Nextflow
53+ run : |
54+ wget -qO- get.nextflow.io | bash
55+ sudo mv nextflow /usr/local/bin/
56+ env :
57+ NXF_VER : ' 19.10.0'
58+ - name : Download and tag image
59+ run : |
60+ docker pull nfcore/sarek:dev
61+ docker tag nfcore/sarek:dev nfcore/sarek:dev
62+ - name : Get test data
63+ run : |
64+ git clone --single-branch --branch sarek https://github.com/nf-core/test-datasets.git data
65+ - name : Run germline test
66+ run : |
67+ nextflow run . -profile test,docker --input data/testdata/tiny/normal
68+ nextflow run . -profile test,docker --input=false --step recalibrate -resume
69+ nextflow run . -profile test,docker --input=false --step variantCalling
70+ minimal :
71+ runs-on : ubuntu-18.04
72+ strategy :
73+ matrix :
74+ genome : [smallerGRCh37, minimalGRCh37]
75+ intervals : [--no_intervals, '']
76+ steps :
77+ - uses : actions/checkout@v1
78+ - name : Install Nextflow
79+ run : |
80+ wget -qO- get.nextflow.io | bash
81+ sudo mv nextflow /usr/local/bin/
82+ env :
83+ NXF_VER : ' 19.10.0'
84+ - name : Download and tag image
85+ run : |
86+ docker pull nfcore/sarek:dev
87+ docker tag nfcore/sarek:dev nfcore/sarek:dev
88+ - name : Run test for minimal genomes
89+ run : |
90+ nextflow run . -profile test,docker --skipQC all --verbose --genome ${{ matrix.genome }} ${{ matrix.intervals }} --tools Manta,mpileup,Strelka
91+ profile :
92+ runs-on : ubuntu-18.04
93+ strategy :
94+ matrix :
95+ profile : [test_splitfastq, test_targeted]
96+ steps :
97+ - uses : actions/checkout@v1
98+ - name : Install Nextflow
99+ run : |
100+ wget -qO- get.nextflow.io | bash
101+ sudo mv nextflow /usr/local/bin/
102+ env :
103+ NXF_VER : ' 19.10.0'
104+ - name : Download and tag image
105+ run : |
106+ docker pull nfcore/sarek:dev
107+ docker tag nfcore/sarek:dev nfcore/sarek:dev
108+ - name : Run targeted and splitfastq tests
109+ run : |
110+ nextflow run . -profile ${{ matrix.profile }},docker --verbose
111+ tools :
112+ runs-on : ubuntu-18.04
113+ strategy :
114+ matrix :
115+ tool : [Haplotypecaller, Freebayes, Manta, mpileup, Mutect2, Strelka]
116+ steps :
117+ - uses : actions/checkout@v1
118+ - name : Install Nextflow
119+ run : |
120+ wget -qO- get.nextflow.io | bash
121+ sudo mv nextflow /usr/local/bin/
122+ env :
123+ NXF_VER : ' 19.10.0'
124+ - name : Download and tag image
125+ run : |
126+ docker pull nfcore/sarek:dev
127+ docker tag nfcore/sarek:dev nfcore/sarek:dev
128+ - name : Run vriant calling test on specific tools
129+ run : |
130+ nextflow run . -profile test_tool,docker --verbose --tools ${{ matrix.tool }}
0 commit comments