Skip to content

Commit 5176638

Browse files
authored
Merge pull request #204 from apeltzer/dev
Fix DamageProfiler issues
2 parents 86fe5ee + b3face4 commit 5176638

5 files changed

Lines changed: 8 additions & 10 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ before_install:
1414
- docker pull nfcore/eager:dev
1515
# Fake the tag locally so that the pipeline runs properly
1616
# Looks weird when this is :dev to :dev, but makes sense when testing code for a release (:dev to :1.0.1)
17-
- docker tag nfcore/eager:dev nfcore/eager:2.0.7
17+
- docker tag nfcore/eager:dev nfcore/eager:dev
1818

1919
install:
2020
# Install Nextflow

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ FROM nfcore/base
33
LABEL description="Docker image containing all requirements for nf-core/eager pipeline"
44
COPY environment.yml /
55
RUN conda env create -f /environment.yml && conda clean -a
6-
ENV PATH /opt/conda/envs/nf-core-eager-2.0.7/bin:$PATH
6+
ENV PATH /opt/conda/envs/nf-core-eager-2.0.7dev/bin:$PATH

conf/base.config

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ process {
6161
withName: multiqc {
6262
errorStrategy = { task.exitStatus in [143,137] ? 'retry' : 'ignore' }
6363
}
64-
6564
withName: damageprofiler {
66-
params.large_ref ? "time = { check_max(8.h * task.attempt, 'time') }" : "time = { check_max(2.h * task.attempt, 'time') }"
65+
time = params.large_ref ? { check_max(8.h * task.attempt, 'time') } : { check_max(2.h * task.attempt, 'time')}
6766
}
68-
6967
withName: strip_input_fastq {
7068
cpus = { check_max(8 * task.attempt, 'cpus') }
7169
memory = { check_max( 8.GB * task.attempt, 'memory' ) }

environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: nf-core-eager-2.0.7
1+
name: nf-core-eager-2.0.7dev
22
channels:
33
- defaults
44
- bioconda
@@ -17,7 +17,7 @@ dependencies:
1717
- bioconda::gatk4=4.1.1.0
1818
- bioconda::qualimap=2.2.2b
1919
- bioconda::vcf2genome=0.91
20-
- bioconda::damageprofiler=0.4.5
20+
- bioconda::damageprofiler=0.4.6
2121
- bioconda::multiqc=1.7
2222
- bioconda::pmdtools=0.60
2323
- conda-forge::r-rmarkdown=1.12
@@ -29,5 +29,5 @@ dependencies:
2929
- bioconda::bamutil=1.0.14
3030
- bioconda::mtnucratio=0.5
3131
- pysam=0.15.2
32-
- python=3.6.7
32+
- python=3.7.3
3333
#Missing Schmutzi,snpAD

nextflow.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ params {
5555

5656
// Container slug. Stable releases should specify release tag!
5757
// Developmental code should specify :dev
58-
process.container = 'nfcore/eager:2.0.7'
58+
process.container = 'nfcore/eager:dev'
5959

6060
// Load base.config by default for all pipelines
6161
includeConfig 'conf/base.config'
@@ -111,7 +111,7 @@ manifest {
111111
name = 'nf-core/eager'
112112
author = 'Alexander Peltzer, Stephen Clayton, James A. Fellows Yates, Maxime Borry'
113113
homePage = 'https://github.com/nf-core/eager'
114-
version = '2.0.7'
114+
version = '2.0.7dev'
115115
description = 'A fully reproducible ancient and modern DNA pipeline in Nextflow and with cloud support.'
116116
mainScript = 'main.nf'
117117
nextflowVersion = '>=0.32.0'

0 commit comments

Comments
 (0)