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

Commit

Permalink
Merge pull request #662 from SciLifeLab/dev
Browse files Browse the repository at this point in the history
Prepare Release 2.2.1
  • Loading branch information
maxulysse authored Oct 4, 2018
2 parents e504b0e + 5fb162d commit 35e7f70
Show file tree
Hide file tree
Showing 21 changed files with 84 additions and 131 deletions.
14 changes: 8 additions & 6 deletions .github/RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
7. Push latest updates
8. Make a PR against `dev`
9. Merge said PR
10. Make a [release](https://github.com/SciLifeLab/Sarek/releases) on GitHub
11. Update [bio.tools](https://bio.tools/Sarek) with the new release details
12. Tweet that a new version is released
13. Add a new `Unreleased` section in `CHANGELOG.md` for the `dev` version
14. Commit and push. Continue making more awesome :metal:
15. Have fika :cake:
10. Make a PR from `dev` to `master`
11. Merge said PR
12. Make a [release](https://github.com/SciLifeLab/Sarek/releases) on GitHub
13. Update [bio.tools](https://bio.tools/Sarek) with the new release details
14. Tweet that a new version is released
15. Add a new `Unreleased` section in `CHANGELOG.md` for the `dev` version
16. Commit and push. Continue making more awesome :metal:
17. Have fika :cake:
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,23 @@ addons:

env:
global:
- NXF_VER=0.31.0 SGT_VER=2.5.1
- NXF_VER=0.32.0
matrix:
- CE=docker TEST=SOMATIC
- CE=docker TEST=ANNOTATEVEP
- CE=docker TEST=ANNOTATESNPEFF
- CE=docker TEST=GERMLINE

- TEST=SOMATIC
- TEST=ANNOTATEVEP
- TEST=ANNOTATESNPEFF
- TEST=GERMLINE

install:
# Install Nextflow (and Singularity if needed)
- "./scripts/install.sh --engine $CE"
# Install Nextflow
- curl -fsSL get.nextflow.io | bash
- chmod +x nextflow
- sudo mv nextflow /usr/local/bin/
# Donwload big containers for ANNOTATEVEP and ANNOTATESNPEF tests)
- "travis_retry ./scripts/containers.sh --profile $CE --test $TEST"
- "travis_retry ./scripts/containers.sh --profile docker --test $TEST"

# Build references when needed
before_script: "./scripts/test.sh --profile $CE --test $TEST --build"
before_script: "./scripts/test.sh --profile docker --test $TEST --build"

# Actual tests
script: "./scripts/test.sh --profile $CE --test $TEST"
script: "./scripts/test.sh --profile docker --test $TEST"
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.2.1] - 2018-10-04

### `Changed`

- [#646](https://github.com/SciLifeLab/Sarek/pull/646) - Update [`pathfindr`](https://github.com/NBISweden/pathfindr) submodule
- [#659](https://github.com/SciLifeLab/Sarek/pull/659) - Update Nextflow to `0.32.0`
- [#660](https://github.com/SciLifeLab/Sarek/pull/660) - Update docs

### `Fixed`

- [#657](https://github.com/SciLifeLab/Sarek/pull/657) - Fix `RunMultiQC.nf` bug
- [#659](https://github.com/SciLifeLab/Sarek/pull/659) - Fix bugs due to updating Nextflow

## [2.2.0] - Skårki - 2018-09-21

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ LABEL \

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/sarek-2.2.0/bin:$PATH
ENV PATH /opt/conda/envs/sarek-2.2.1/bin:$PATH
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Helpful contributors:
[license-badge]: https://img.shields.io/github/license/SciLifeLab/Sarek.svg
[license-link]: https://github.com/SciLifeLab/Sarek/blob/master/LICENSE
[nbis-link]: https://www.nbis.se/
[nextflow-badge]: https://img.shields.io/badge/nextflow-%E2%89%A50.31.0-brightgreen.svg?logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lv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C41NzIyNzQsLTcuMTU2MjUgeiIgICAgICAgaWQ9InBhdGg3NjIwIiAgICAgICBpbmtzY2FwZTpjb25uZWN0b3ItY3VydmF0dXJlPSIwIiAgICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjY3NjY2NzY2Nzc2NzY2NzY3NjY2NjY2NzYyIgLz4gIDwvZz48L3N2Zz4=
[nextflow-link]: https://www.nextflow.io/
[ngi-link]: https://ngisweden.scilifelab.se/
[scilifelab-link]: https://www.scilifelab.se/
Expand Down
2 changes: 1 addition & 1 deletion Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Bootstrap:docker
VERSION 2.1.0

%environment
PATH=/opt/conda/envs/sarek-2.2.0/bin:$PATH
PATH=/opt/conda/envs/sarek-2.2.1/bin:$PATH
export PATH

%files
Expand Down
2 changes: 1 addition & 1 deletion annotate.nf
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def nextflowMessage() {

def sarekMessage() {
// Display Sarek message
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${params.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${workflow.manifest.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
}

def startMessage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/pathfindr
Submodule pathfindr updated 2 files
+2,364 −1,911 caw-view.Rmd
+0 −34 functions.R
4 changes: 2 additions & 2 deletions buildContainers.nf
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def helpMessage() {
log.info " --containerPath: Select where to download images"
log.info " Default: \$PWD"
log.info " --tag`: Choose the tag for the containers"
log.info " Default (version number): " + params.version
log.info " Default (version number): " + workflow.manifest.version
}

def minimalInformationMessage() {
Expand All @@ -222,7 +222,7 @@ def nextflowMessage() {

def sarekMessage() {
// Display Sarek message
log.info "Sarek ~ ${params.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
log.info "Sarek ~ ${workflow.manifest.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
}

def startMessage() {
Expand Down
2 changes: 1 addition & 1 deletion buildReferences.nf
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def nextflowMessage() {

def sarekMessage() {
// Display Sarek message
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${params.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${workflow.manifest.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
}

def startMessage() {
Expand Down
1 change: 0 additions & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ params {
targetBED = false // no targets by default
test = false // Not testing by default
verbose = false // Enable for more verbose information
version = '2.2.0' // Workflow version
}

process {
Expand Down
45 changes: 14 additions & 31 deletions docs/INSTALL_BIANCA.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,13 @@ For more information about using Singularity with UPPMAX, follow the [Singularit
> ssh -AX [USER]@rackham.uppmax.uu.se
# Or just open a terminal

# create directories
> mkdir nextflow_install
> cd nextflow_install
# Download the all Nextflow bundle
> wget https://github.com/nextflow-io/nextflow/releases/download/v[xx.yy.zz]/nextflow-[xx.yy.zz]-all

# Install Nextflow
> curl -s https://get.nextflow.io | bash
> cd ..

# Archive Nextflow
> tar czvf nextflow_v[xx.yy.zz].tgz .nextflow nextflow_install/nextflow

# Send the tar to bianca (here using sftp)
# Send to bianca (here using sftp)
# For FileZilla follow the bianca user guide
> sftp [USER]-[PROJECT]@bianca-sftp.uppmax.uu.se:[USER]-[PROJECT]
> put nextflow_v[xx.yy.zz].tgz
> put nextflow-[xx.yy.zz]-all

# Exit sftp
> exit
Expand All @@ -37,37 +29,28 @@ For more information about using Singularity with UPPMAX, follow the [Singularit
# Go to your project
> cd /castor/project/proj_nobackup

# Make and go into a Nextflow directoy
# Make directory for Nextflow
> mkdir tools
> mkdir tools/nextflow
> cd tools/nextflow

# Copy the tar from wharf to the project
> cp /castor/project/proj_nobackup/wharf/[USER]/[USER]-[PROJECT]/nextflow_v[xx.yy.zz].tgz /castor/project/proj_nobackup/tools/nextflow

# extract Nextflow
> tar xzvf nextflow_v[xx.yy.zz].tgz

# Move files
> mv .nextflow nextflow_v[xx.yy.zz]
> mv nextflow_install nextflow_v[xx.yy.zz]/bin
# Move Nextflow from wharf to its directory
> mv /castor/project/proj_nobackup/wharf/[USER]/[USER]-[PROJECT]/nextflow-[xx.yy.zz]-all /castor/project/proj_nobackup/tools/nextflow

# Establish permission for some files
> chmod 755 nextflow_v[xx.yy.zz]/bin/nextflow
> chmod 660 nextflow_v[xx.yy.zz]/framework/[xx.yy.zz]/nextflow-[xx.yy.zz]-one.jar
# Establish permission
> chmod a+x /castor/project/proj_nobackup/tools/nextflow/nextflow-[xx.yy.zz]-all

# If you want other people to use it
# Be sure that your group has rights to the directory as well

> chown -R .[PROJECT] nextflow_v[xx.yy.zz]
> chown -R .[PROJECT] /castor/project/proj_nobackup/tools/nextflow/nextflow-[xx.yy.zz]-all

# Clean directory
> rm nextflow_v[xx.yy.zz].tgz
# Make a link to it
> ln -s /castor/project/proj_nobackup/tools/nextflow/nextflow-[xx.yy.zz]-all /castor/project/proj_nobackup/tools/nextflow/nextflow

# And everytime you're launching Nextflow, don't forget to export the following ENV variables
# Or add them to your .bashrc file
> export NXF_HOME=/castor/project/proj/nobackup/tools/nextflow/nextflow_v[xx.yy.zz]
> export PATH=${NXF_HOME}/bin:${PATH}
> export NXF_HOME=/castor/project/proj/nobackup/tools/nextflow/
> export PATH=${NXF_HOME}:${PATH}
> export NXF_TEMP=$SNIC_TMP
> export NXF_LAUNCHER=$SNIC_TMP
```
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# You can use this file to create a conda environment for this pipeline:
# conda env create -f environment.yml
name: sarek-2.2.0
name: sarek-2.2.1
channels:
- conda-forge
- bioconda
Expand Down
4 changes: 2 additions & 2 deletions germlineVC.nf
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ process CreateIntervalBeds {

bedIntervals = bedIntervals
.map { intervalFile ->
final duration = 0.0
def duration = 0.0
for (line in intervalFile.readLines()) {
final fields = line.split('\t')
if (fields.size() >= 5) duration += fields[4].toFloat()
Expand Down Expand Up @@ -673,7 +673,7 @@ def nextflowMessage() {

def sarekMessage() {
// Display Sarek message
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${params.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${workflow.manifest.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
}

def startMessage() {
Expand Down
4 changes: 2 additions & 2 deletions lib/SarekUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class SarekUtils {
def f = file(fileToCheck)
// this is an expanded wildcard: we can assume all files exist
if (f instanceof List && f.size() > 0) return true
else if (!f.exists()) {
else if (!f.exists()) {
println "Missing references: ${referenceFile} ${fileToCheck}"
return false
}
Expand Down Expand Up @@ -184,7 +184,7 @@ class SarekUtils {

// Compare params to list of verified params
static def isAllowedParams(params) {
final test = true
def test = true
params.each{
if (!checkParams(it.toString().split('=')[0])) {
println "params ${it.toString().split('=')[0]} is unknown"
Expand Down
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def checkUppmaxProject() {
}

def checkExactlyOne(list) {
final n = 0
def n = 0
list.each{n += it ? 1 : 0}
return n == 1
}
Expand Down Expand Up @@ -668,7 +668,7 @@ def nextflowMessage() {

def sarekMessage() {
// Display Sarek message
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${params.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
log.info "Sarek - Workflow For Somatic And Germline Variations ~ ${workflow.manifest.version} - " + this.grabRevision() + (workflow.commitId ? " [${workflow.commitId}]" : "")
}

def startMessage() {
Expand Down
4 changes: 3 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
*/

manifest {
author = 'Szilvester Juhos, Maxime Garcia'
description = 'Sarek - Workflow For Somatic And Germline Variations'
homePage = 'http://sarek.scilifelab.se'
mainScript = 'main.nf'
name = 'Sarek'
nextflowVersion = '>=0.31.0'
nextflowVersion = '>=0.32.0'
version = '2.2.1'
}

env {
Expand Down
Loading

0 comments on commit 35e7f70

Please sign in to comment.