File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,22 +9,23 @@ addons:
99
1010env :
1111 global :
12- - NXF_VER=0.31.0 SGT_VER=2.5.1
12+ - NXF_VER=0.32.0
1313 matrix :
14- - CE=docker TEST=SOMATIC
15- - CE=docker TEST=ANNOTATEVEP
16- - CE=docker TEST=ANNOTATESNPEFF
17- - CE=docker TEST=GERMLINE
18-
14+ - TEST=SOMATIC
15+ - TEST=ANNOTATEVEP
16+ - TEST=ANNOTATESNPEFF
17+ - TEST=GERMLINE
1918
2019install :
21- # Install Nextflow (and Singularity if needed)
22- - " ./scripts/install.sh --engine $CE"
20+ # Install Nextflow
21+ - curl -fsSL get.nextflow.io | bash
22+ - chmod +x nextflow
23+ - sudo mv nextflow /usr/local/bin/
2324 # Donwload big containers for ANNOTATEVEP and ANNOTATESNPEF tests)
24- - " travis_retry ./scripts/containers.sh --profile $CE --test $TEST"
25+ - " travis_retry ./scripts/containers.sh --profile docker --test $TEST"
2526
2627# Build references when needed
27- before_script : " ./scripts/test.sh --profile $CE --test $TEST --build"
28+ before_script : " ./scripts/test.sh --profile docker --test $TEST --build"
2829
2930# Actual tests
30- script : " ./scripts/test.sh --profile $CE --test $TEST"
31+ script : " ./scripts/test.sh --profile docker --test $TEST"
Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010### ` Changed `
1111
1212- [ #646 ] ( https://github.com/SciLifeLab/Sarek/pull/646 ) - Update [ ` pathfindr ` ] ( https://github.com/NBISweden/pathfindr ) submodule
13+ - [ #659 ] ( https://github.com/SciLifeLab/Sarek/pull/659 ) - Update Nextflow to ` 0.32.0 `
1314- [ #660 ] ( https://github.com/SciLifeLab/Sarek/pull/660 ) - Update docs
1415
1516### ` Fixed `
1617
1718- [ #657 ] ( https://github.com/SciLifeLab/Sarek/pull/657 ) - Fix ` RunMultiQC.nf ` bug
19+ - [ #659 ] ( https://github.com/SciLifeLab/Sarek/pull/659 ) - Fix bugs due to updating Nextflow
1820
1921## [ 2.2.0] - Skårki - 2018-09-21
2022
Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ def nextflowMessage() {
372372
373373def sarekMessage() {
374374 // Display Sarek message
375- log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ params .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
375+ log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ workflow.manifest .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
376376}
377377
378378def startMessage() {
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ def helpMessage() {
200200 log. info " --containerPath: Select where to download images"
201201 log. info " Default: \$ PWD"
202202 log. info " --tag`: Choose the tag for the containers"
203- log. info " Default (version number): " + params . version
203+ log. info " Default (version number): " + workflow . manifest . version
204204}
205205
206206def minimalInformationMessage() {
@@ -222,7 +222,7 @@ def nextflowMessage() {
222222
223223def sarekMessage() {
224224 // Display Sarek message
225- log. info " Sarek ~ ${ params .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
225+ log. info " Sarek ~ ${ workflow.manifest .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
226226}
227227
228228def startMessage() {
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ def nextflowMessage() {
274274
275275def sarekMessage() {
276276 // Display Sarek message
277- log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ params .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
277+ log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ workflow.manifest .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
278278}
279279
280280def startMessage() {
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ params {
3636 targetBED = false // no targets by default
3737 test = false // Not testing by default
3838 verbose = false // Enable for more verbose information
39- version = '2.2.0' // Workflow version
4039}
4140
4241process {
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ process CreateIntervalBeds {
223223
224224bedIntervals = bedIntervals
225225 .map { intervalFile ->
226- final duration = 0.0
226+ def duration = 0.0
227227 for (line in intervalFile. readLines()) {
228228 final fields = line. split(' \t ' )
229229 if (fields. size() >= 5 ) duration + = fields[4 ]. toFloat()
@@ -673,7 +673,7 @@ def nextflowMessage() {
673673
674674def sarekMessage() {
675675 // Display Sarek message
676- log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ params .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
676+ log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ workflow.manifest .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
677677}
678678
679679def startMessage() {
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ class SarekUtils {
114114 def f = file(fileToCheck)
115115 // this is an expanded wildcard: we can assume all files exist
116116 if (f instanceof List && f. size() > 0 ) return true
117- else if (! f. exists()) {
117+ else if (! f. exists()) {
118118 println " Missing references: ${ referenceFile} ${ fileToCheck} "
119119 return false
120120 }
@@ -184,7 +184,7 @@ class SarekUtils {
184184
185185 // Compare params to list of verified params
186186 static def isAllowedParams (params ) {
187- final test = true
187+ def test = true
188188 params. each{
189189 if (! checkParams(it. toString(). split(' =' )[0 ])) {
190190 println " params ${ it.toString().split('=')[0]} is unknown"
Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ def checkUppmaxProject() {
454454}
455455
456456def checkExactlyOne(list) {
457- final n = 0
457+ def n = 0
458458 list. each{n + = it ? 1 : 0 }
459459 return n == 1
460460}
@@ -668,7 +668,7 @@ def nextflowMessage() {
668668
669669def sarekMessage() {
670670 // Display Sarek message
671- log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ params .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
671+ log. info " Sarek - Workflow For Somatic And Germline Variations ~ ${ workflow.manifest .version} - " + this . grabRevision() + (workflow. commitId ? " [${ workflow.commitId} ]" : " " )
672672}
673673
674674def startMessage() {
Original file line number Diff line number Diff line change 99 */
1010
1111manifest {
12+ author = ' Szilvester Juhos, Maxime Garcia'
1213 description = ' Sarek - Workflow For Somatic And Germline Variations'
1314 homePage = ' http://sarek.scilifelab.se'
1415 mainScript = ' main.nf'
1516 name = ' Sarek'
16- nextflowVersion = ' >=0.31.0'
17+ nextflowVersion = ' >=0.32.0'
18+ version = ' 2.2.0'
1719}
1820
1921env {
You can’t perform that action at this time.
0 commit comments