Skip to content

Commit 43a239b

Browse files
authored
Merge pull request #875 from nf-core/dev
2.4.4 patch release
2 parents 6c0c9d5 + 197f6a7 commit 43a239b

6 files changed

Lines changed: 33 additions & 19 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
3838
- name: Build new docker image
3939
if: env.MATCHED_FILES
40-
run: docker build --no-cache . -t nfcore/eager:2.4.3
40+
run: docker build --no-cache . -t nfcore/eager:2.4.4
4141

4242
- name: Pull docker image
4343
if: ${{ !env.MATCHED_FILES }}
4444
run: |
4545
docker pull nfcore/eager:dev
46-
docker tag nfcore/eager:dev nfcore/eager:2.4.3
46+
docker tag nfcore/eager:dev nfcore/eager:2.4.4
4747
4848
- name: Install Nextflow
4949
env:

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6+
## [2.4.4] - 2022-04-08
7+
8+
### `Added`
9+
10+
### `Fixed`
11+
12+
- Fixed some auxiliary files (adapater list, snpcapture/pileupcaller/sexdeterrmine BED files, and pileupCaller SNP file, PMD reference mask) in some cases only be used against one sample (❤ to @meganemichel for reporting, fix by @jfy133)
13+
14+
### `Dependencies`
15+
16+
### `Deprecated`
17+
618
## [2.4.3] - 2022-03-24
719

820
### `Added`
@@ -15,7 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1527
- [#843](https://github.com/nf-core/eager/issues/843) Re-add direct piping of AdapterRemovalFixPrefix to pigz
1628
- [#844](https://github.com/nf-core/eager/issues/844) Fixed reference masking prior to pmdtools
1729
- [#845](https://github.com/nf-core/eager/issues/845) Updates parameter documention to specify `-s` preseq parameter also applies to lc_extrap
18-
- [#851](https://github.com/nf-core/eager/issues/851) Fixes a file-name clash during additional_library_merge, post-BAM trimming of different UDG treated libraries of a sample
30+
- [#851](https://github.com/nf-core/eager/issues/851) Fixes a file-name clash during additional_library_merge, post-BAM trimming of different UDG treated libraries of a sample (❤ to @alexandregilardet for reporting)
1931
- Renamed a range of MultiQC general stats table headers to improve clarity, documentation has been updated accordingly
2032
- [#857](https://github.com/nf-core/eager/issues/857) Corrected samtools fastq flag to _retain_ read-pair information when converting off-target BAM files to fastq in paired-end mapping (❤ to @alexhbnr for reporting)
2133
- [#866](https://github.com/nf-core/eager/issues/866) Fixed a typo in the indexing step of BWA mem when not-collapsing (❤ to @alexhbnr for reporting)

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ COPY environment.yml /
77
RUN conda env create --quiet -f /environment.yml && conda clean -a
88

99
# Add conda installation dir to PATH (instead of doing 'conda activate')
10-
ENV PATH /opt/conda/envs/nf-core-eager-2.4.3/bin:$PATH
10+
ENV PATH /opt/conda/envs/nf-core-eager-2.4.4/bin:$PATH
1111

1212
# Dump the details of the installed packages to a file for posterity
13-
RUN conda env export --name nf-core-eager-2.4.3 > nf-core-eager-2.4.3.yml
13+
RUN conda env export --name nf-core-eager-2.4.4 > nf-core-eager-2.4.4.yml

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# You can use this file to create a conda environment for this pipeline:
22
# conda env create -f environment.yml
3-
name: nf-core-eager-2.4.3
3+
name: nf-core-eager-2.4.4
44
channels:
55
- conda-forge
66
- bioconda

main.nf

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,45 +238,47 @@ if ( !params.clip_adapters_list ) {
238238
Channel
239239
.fromPath("$projectDir/assets/nf-core_eager_dummy2.txt", checkIfExists: true)
240240
.ifEmpty { exit 1, "[nf-core/eager] error: adapters list file not found. Please check input. Supplied: --clip_adapters_list '${params.clip_adapters_list}'." }
241+
.collect()
241242
.set {ch_adapterlist}
242243
} else {
243244
Channel
244245
.fromPath("${params.clip_adapters_list}", checkIfExists: true)
245246
.ifEmpty { exit 1, "[nf-core/eager] error: adapters list file not found. Please check input. Supplied: --clip_adapters_list '${params.clip_adapters_list}'." }
247+
.collect()
246248
.set {ch_adapterlist}
247249
}
248250

249251
if ( params.snpcapture_bed ) {
250-
Channel.fromPath(params.snpcapture_bed, checkIfExists: true).set { ch_snpcapture_bed }
252+
ch_snpcapture_bed = Channel.fromPath(params.snpcapture_bed, checkIfExists: true).collect()
251253
} else {
252-
Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt").set { ch_snpcapture_bed }
254+
ch_snpcapture_bed = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt").collect()
253255
}
254256

255257
// Set up channel with pmdtools reference mask bedfile
256258
if (!params.pmdtools_reference_mask) {
257-
ch_bedfile_for_reference_masking = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt")
259+
ch_bedfile_for_reference_masking = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt").collect()
258260
} else {
259-
ch_bedfile_for_reference_masking = Channel.fromPath(params.pmdtools_reference_mask, checkIfExists: true)
261+
ch_bedfile_for_reference_masking = Channel.fromPath(params.pmdtools_reference_mask, checkIfExists: true).collect()
260262
}
261263

262264
// SexDetermination channel set up and bedfile validation
263265
if (!params.sexdeterrmine_bedfile) {
264-
ch_bed_for_sexdeterrmine = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt")
266+
ch_bed_for_sexdeterrmine = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt").collect()
265267
} else {
266-
ch_bed_for_sexdeterrmine = Channel.fromPath(params.sexdeterrmine_bedfile, checkIfExists: true)
268+
ch_bed_for_sexdeterrmine = Channel.fromPath(params.sexdeterrmine_bedfile, checkIfExists: true).collect()
267269
}
268270

269271
// pileupCaller channel generation and input checks for 'random sampling' genotyping
270272
if (!params.pileupcaller_bedfile) {
271-
ch_bed_for_pileupcaller = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt")
273+
ch_bed_for_pileupcaller = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy.txt").collect()
272274
} else {
273-
ch_bed_for_pileupcaller = Channel.fromPath(params.pileupcaller_bedfile, checkIfExists: true)
275+
ch_bed_for_pileupcaller = Channel.fromPath(params.pileupcaller_bedfile, checkIfExists: true).collect()
274276
}
275277

276278
if (!params.pileupcaller_snpfile) {
277-
ch_snp_for_pileupcaller = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy2.txt")
279+
ch_snp_for_pileupcaller = Channel.fromPath("$projectDir/assets/nf-core_eager_dummy2.txt").collect()
278280
} else {
279-
ch_snp_for_pileupcaller = Channel.fromPath(params.pileupcaller_snpfile, checkIfExists: true)
281+
ch_snp_for_pileupcaller = Channel.fromPath(params.pileupcaller_snpfile, checkIfExists: true).collect()
280282
}
281283

282284
// Create input channel for MALT database directory, checking directory exists

nextflow.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ params {
284284

285285
// Container slug. Stable releases should specify release tag!
286286
// Developmental code should specify :dev
287-
process.container = 'nfcore/eager:2.4.3'
287+
process.container = 'nfcore/eager:2.4.4'
288288

289289
// Load base.config by default for all pipelines
290290
includeConfig 'conf/base.config'
@@ -414,7 +414,7 @@ manifest {
414414
description = 'A fully reproducible and state-of-the-art ancient DNA analysis pipeline'
415415
mainScript = 'main.nf'
416416
nextflowVersion = '>=20.07.1'
417-
version = '2.4.3'
417+
version = '2.4.4'
418418
}
419419

420420
// Function to ensure that resource requirements don't go beyond
@@ -448,4 +448,4 @@ def check_max(obj, type) {
448448
return obj
449449
}
450450
}
451-
}
451+
}

0 commit comments

Comments
 (0)