Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restarting dev branch #80

Merged
merged 3 commits into from
Dec 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- checkout
- setup_remote_docker
- run:
command: docker build -t nfcore/sareksnpeff:2.5.2.${GENOME} containers/snpeff/. --build-arg GENOME=${GENOME} --build-arg SNPEFF_CACHE_VERSION=${SNPEFF_CACHE_VERSION}
command: docker build -t nfcore/sareksnpeff:dev.${GENOME} containers/snpeff/. --build-arg GENOME=${GENOME} --build-arg SNPEFF_CACHE_VERSION=${SNPEFF_CACHE_VERSION}
- run:
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push nfcore/sareksnpeff:2.5.2.${GENOME}
docker push nfcore/sareksnpeff:dev.${GENOME}

snpeffgrch38:
<< : *buildsnpeff
Expand Down Expand Up @@ -45,10 +45,10 @@ jobs:
- checkout
- setup_remote_docker
- run:
command: docker build -t nfcore/sarekvep:2.5.2.${GENOME} containers/vep/. --build-arg GENOME=${GENOME} --build-arg SPECIES=${SPECIES} --build-arg VEP_VERSION=${VEP_VERSION}
command: docker build -t nfcore/sarekvep:dev.${GENOME} containers/vep/. --build-arg GENOME=${GENOME} --build-arg SPECIES=${SPECIES} --build-arg VEP_VERSION=${VEP_VERSION}
no_output_timeout: 3h
- run:
command: echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin ; docker push nfcore/sarekvep:2.5.2.${GENOME}
command: echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin ; docker push nfcore/sarekvep:dev.${GENOME}

vepgrch38:
<< : *buildvep
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Download and tag image
run: |
docker pull nfcore/sarek:dev
docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
docker tag nfcore/sarek:dev nfcore/sarek:dev
- name: Run test
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker
Expand All @@ -39,9 +39,9 @@ jobs:
- name: Download and tag images
run: |
docker pull nfcore/sarek:dev
docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
docker tag nfcore/sarek:dev nfcore/sarek:dev
docker pull nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }}
docker tag nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }} nfcore/sarek${{ matrix.annotator }}:2.5.2.${{ matrix.specie }}
docker tag nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }} nfcore/sarek${{ matrix.annotator }}:dev.${{ matrix.specie }}
- name: Run annotation test
run: |
nextflow run . -profile test_annotation,docker --verbose --tools ${{ matrix.annotator }}
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Download and tag image
run: |
docker pull nfcore/sarek:dev
docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
docker tag nfcore/sarek:dev nfcore/sarek:dev
- name: Get test data
run: |
git clone --single-branch --branch sarek https://github.com/nf-core/test-datasets.git data
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Download and tag image
run: |
docker pull nfcore/sarek:dev
docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
docker tag nfcore/sarek:dev nfcore/sarek:dev
- name: Run test for minimal genomes
run: |
nextflow run . -profile test,docker --skipQC all --verbose --genome ${{ matrix.genome }} ${{ matrix.intervals }} --tools Manta,mpileup,Strelka
Expand All @@ -104,7 +104,7 @@ jobs:
- name: Download and tag image
run: |
docker pull nfcore/sarek:dev
docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
docker tag nfcore/sarek:dev nfcore/sarek:dev
- name: Run targeted and splitfastq tests
run: |
nextflow run . -profile ${{ matrix.profile }},docker --verbose
Expand All @@ -124,7 +124,7 @@ jobs:
- name: Download and tag image
run: |
docker pull nfcore/sarek:dev
docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
docker tag nfcore/sarek:dev nfcore/sarek:dev
- name: Run variant calling test on specific tools
run: |
nextflow run . -profile test_tool,docker --verbose --tools ${{ matrix.tool }}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_install:
- docker pull nfcore/sarek:dev
# Fake the tag locally so that the pipeline runs properly
# Looks weird when this is :dev to :dev, but makes sense when testing code for a release (:dev to :1.0.1)
- docker tag nfcore/sarek:dev nfcore/sarek:2.5.2
- docker tag nfcore/sarek:dev nfcore/sarek:dev

install:
# Install Nextflow
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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).

## dev

- [#80](https://github.com/nf-core/sarek/pull/80) - Re-bump `dev` branch

## [2.5.2] - Jåkkåtjkaskajekna

Jåkkåtjkaskajekna is one of the two glaciers of the Ålkatj Massif.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ LABEL authors="Maxime Garcia, Szilveszter Juhos" \

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/nf-core-sarek-2.5.2/bin:$PATH
ENV PATH /opt/conda/envs/nf-core-sarek-dev/bin:$PATH
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ pipeline {
stage('Docker setup') {
steps {
sh "docker pull nfcore/sarek:dev"
sh "docker tag nfcore/sarek:dev nfcore/sarek:2.5.2"
sh "docker tag nfcore/sarek:dev nfcore/sarek:dev"
sh "docker pull nfcore/sareksnpeff:dev.GRCh37"
sh "docker tag nfcore/sareksnpeff:dev.GRCh37 nfcore/sareksnpeff:2.5.2.GRCh37"
sh "docker tag nfcore/sareksnpeff:dev.GRCh37 nfcore/sareksnpeff:dev.GRCh37"
sh "docker pull nfcore/sarekvep:dev.GRCh37"
sh "docker tag nfcore/sarekvep:dev.GRCh37 nfcore/sarekvep:2.5.2.GRCh37"
sh "docker tag nfcore/sarekvep:dev.GRCh37 nfcore/sarekvep:dev.GRCh37"
}
}
stage('Annotation') {
Expand Down
4 changes: 2 additions & 2 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ process {
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
}
withName:Snpeff {
container = {(params.annotation_cache && params.snpEff_cache) ? 'nfcore/sarek:2.5.2' : "nfcore/sareksnpeff:2.5.2.${params.genome}"}
container = {(params.annotation_cache && params.snpEff_cache) ? 'nfcore/sarek:dev' : "nfcore/sareksnpeff:dev.${params.genome}"}
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
}
withLabel:VEP {
container = {(params.annotation_cache && params.vep_cache) ? 'nfcore/sarek:2.5.2' : "nfcore/sarekvep:2.5.2.${params.genome}"}
container = {(params.annotation_cache && params.vep_cache) ? 'nfcore/sarek:dev' : "nfcore/sarekvep:dev.${params.genome}"}
errorStrategy = {task.exitStatus == 143 ? 'retry' : 'ignore'}
}
}
4 changes: 2 additions & 2 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ params {

process {
withName:Snpeff {
container = 'nfcore/sareksnpeff:2.5.2.GRCh37'
container = 'nfcore/sareksnpeff:dev.GRCh37'
maxForks = 1
}
withLabel:VEP {
container = 'nfcore/sarekvep:2.5.2.GRCh37'
container = 'nfcore/sarekvep:dev.GRCh37'
maxForks = 1
}
}
2 changes: 1 addition & 1 deletion containers/snpeff/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL \

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/sarek-snpeff-2.5.2/bin:$PATH
ENV PATH /opt/conda/envs/sarek-snpeff-dev/bin:$PATH

# Setup default ARG variables
ARG GENOME=GRCh38
Expand Down
2 changes: 1 addition & 1 deletion containers/snpeff/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-snpeff-2.5.2
name: sarek-snpeff-dev
channels:
- conda-forge
- bioconda
Expand Down
2 changes: 1 addition & 1 deletion containers/vep/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL \

COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/sarek-vep-2.5.2/bin:$PATH
ENV PATH /opt/conda/envs/sarek-vep-dev/bin:$PATH

# Setup default ARG variables
ARG GENOME=GRCh38
Expand Down
2 changes: 1 addition & 1 deletion containers/vep/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-vep-2.5.2
name: sarek-vep-dev
channels:
- conda-forge
- bioconda
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: nf-core-sarek-2.5.2
name: nf-core-sarek-dev
channels:
- conda-forge
- bioconda
Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ params {
// Container slug
// Stable releases should specify release tag (ie: `2.5`)
// Developmental code should specify dev
process.container = 'nfcore/sarek:2.5.2'
process.container = 'nfcore/sarek:dev'

// Load base.config by default for all pipelines
includeConfig 'conf/base.config'
Expand Down Expand Up @@ -167,7 +167,7 @@ manifest {
description = 'An open-source analysis pipeline to detect germline or somatic variants from whole genome or targeted sequencing'
mainScript = 'main.nf'
nextflowVersion = '>=19.10.0'
version = '2.5.2'
version = 'dev'
}

// Return the minimum between requirements and a maximum limit to ensure that resource requirements don't go over
Expand Down