Skip to content

Commit 9f59f08

Browse files
committed
Merge remote-tracking branch 'upstream/master' into MinorTweaks
2 parents d38420e + a57b5d4 commit 9f59f08

20 files changed

Lines changed: 34 additions & 68 deletions

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
*.nf linguist-language=Groovy
1+
*.config linguist-language=nextflow

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ language: java
44

55
jdk: openjdk8
66

7+
node_js: "node"
8+
79
services:
810
- docker
911

@@ -25,9 +27,10 @@ env:
2527
install: # Install Nextflow (and Singularity if needed)
2628
- "./scripts/install.sh --tool $TOOL_INSTALL"
2729
- "travis_retry ./scripts/containers.sh --profile $PROFILE --test $TEST"
30+
- "npm install -g gnomon"
2831

2932
before_script: # Build references when needed
30-
- "./scripts/test.sh --profile $PROFILE --test $TEST --build"
33+
- "./scripts/test.sh --profile $PROFILE --test $TEST --build | gnomon --medium 120.0 --high 600.0 --real-time=false"
3134

3235
script:
33-
- "./scripts/test.sh --profile $PROFILE --test $TEST"
36+
- "./scripts/test.sh --profile $PROFILE --test $TEST | gnomon --medium 120.0 --high 600.0 --real-time=false"

annotate.nf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env nextflow
22

33
/*
4-
vim: syntax=groovy
5-
-*- mode: groovy;-*-
64
kate: syntax groovy; space-indent on; indent-width 2;
75
================================================================================
86
= S A R E K =
@@ -301,9 +299,9 @@ def minimalInformationMessage() {
301299
if (tools) log.info "Tools : " + tools.join(', ')
302300
if (annotateTools) log.info "Annotate on : " + annotateTools.join(', ')
303301
if (annotateVCF) log.info "VCF files : " +annotateVCF.join(',\n ')
304-
log.info "Containers :"
305-
if (params.repository) log.info " Repository : ${params.repository}"
306-
else log.info " ContainerPath: " + params.containerPath
302+
log.info "Containers"
303+
if (params.repository != "") log.info " Repository : " + params.repository
304+
if (params.containerPath != "") log.info " ContainerPath: " + params.containerPath
307305
log.info " Tag : " + params.tag
308306
log.info "Reference files used:"
309307
log.info " snpeffDb :\n\t" + params.genomes[params.genome].snpeffDb

buildContainers.nf

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env nextflow
22

33
/*
4-
vim: syntax=groovy
5-
-*- mode: groovy;-*-
64
kate: syntax groovy; space-indent on; indent-width 2;
75
================================================================================
86
= S A R E K =
@@ -234,9 +232,9 @@ def minimalInformationMessage() {
234232
log.info "Project Dir : " + workflow.projectDir
235233
log.info "Launch Dir : " + workflow.launchDir
236234
log.info "Work Dir : " + workflow.workDir
237-
log.info "Containers :"
238-
if (params.repository) log.info " Repository : ${params.repository}"
239-
else log.info " ContainerPath: " + params.containerPath
235+
log.info "Containers"
236+
if (params.repository != "") log.info " Repository : " + params.repository
237+
if (params.containerPath != "") log.info " ContainerPath: " + params.containerPath
240238
log.info " Tag : " + params.tag
241239
}
242240

buildReferences.nf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env nextflow
22

33
/*
4-
vim: syntax=groovy
5-
-*- mode: groovy;-*-
64
kate: syntax groovy; space-indent on; indent-width 2;
75
================================================================================
86
= S A R E K =
@@ -321,8 +319,8 @@ def minimalInformationMessage() {
321319
log.info "Out Dir : " + params.outDir
322320
log.info "Genome : " + params.genome
323321
log.info "Containers"
324-
if (params.repository) log.info " Repository :" + params.repository
325-
else log.info " ContainerPath: " + params.containerPath
322+
if (params.repository != "") log.info " Repository : " + params.repository
323+
if (params.containerPath != "") log.info " ContainerPath: " + params.containerPath
326324
log.info " Tag : " + params.tag
327325
}
328326

configuration/aws-batch.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
vim: syntax=groovy
3-
-*- mode: groovy;-*-
42
* -------------------------------------------------
53
* Nextflow config file for Sarek
64
* -------------------------------------------------

configuration/base.config

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
vim: syntax=groovy
3-
-*- mode: groovy;-*-
42
* -------------------------------------------------
53
* Nextflow config file for Sarek
64
* -------------------------------------------------
@@ -15,8 +13,8 @@ params {
1513
// set up default params
1614
annotateTools = '' // Tools to annotate by annotate.nf
1715
annotateVCF = '' // Files to annotate by annotate.nf
18-
containerPath = '.' // Path to Singularity images
19-
containers = '.' // List of containers to build in buildContainers.nf
16+
containerPath = '' // Path to Singularity images
17+
containers = '' // List of containers to build in buildContainers.nf
2018
docker = false // Don't use Docker to build buildContainers.nf
2119
download = false // Don't download reference files in buildReferences.nf
2220
explicitBqsrNeeded = true // Enable recalibration in main.nf

configuration/containers.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
vim: syntax=groovy
3-
-*- mode: groovy;-*-
42
* -------------------------------------------------
53
* Nextflow config file for Sarek
64
* -------------------------------------------------

configuration/docker.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
vim: syntax=groovy
3-
-*- mode: groovy;-*-
42
* -------------------------------------------------
53
* Nextflow config file for Sarek
64
* -------------------------------------------------

configuration/genomes.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
vim: syntax=groovy
3-
-*- mode: groovy;-*-
42
* -------------------------------------------------
53
* Nextflow config file for Sarek
64
* -------------------------------------------------

0 commit comments

Comments
 (0)