Skip to content

Commit c87f4eb

Browse files
authored
Merge pull request #906 from maxulysse/3.1.2
Release 3.1.2
2 parents 96749f7 + bfd426e commit c87f4eb

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.1.2](https://github.com/nf-core/sarek/releases/tag/3.1.2) - Lesser Lule River
9+
10+
Lesser Lule River is English for Lilla Luleälven
11+
12+
### Added
13+
14+
### Changed
15+
16+
### Fixed
17+
18+
- [#905](https://github.com/nf-core/sarek/pull/905) - Remove usages of deprecated `Channel.from` method
19+
20+
### Deprecated
21+
22+
### Removed
23+
24+
### Dependencies
25+
826
## [3.1.1](https://github.com/nf-core/sarek/releases/tag/3.1.1) - Lilla Luleälven
927

1028
Lilla Luleälven river's main affluent is Rapaätno.

nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ manifest {
280280
description = 'An open-source analysis pipeline to detect germline or somatic variants from whole genome or targeted sequencing'
281281
mainScript = 'main.nf'
282282
nextflowVersion = '!>=21.10.3'
283-
version = '3.1.1'
283+
version = '3.1.2'
284284
doi = '10.12688/f1000research.16665.2, 10.5281/zenodo.4063683'
285285
}
286286

workflows/sarek.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ workflow SAREK {
10811081
ch_multiqc_files = ch_multiqc_files.mix(ch_methods_description.collectFile(name: 'methods_description_mqc.yaml'))
10821082
ch_multiqc_files = ch_multiqc_files.mix(ch_reports.collect().ifEmpty([]))
10831083

1084-
ch_multiqc_configs = Channel.from(ch_multiqc_config).mix(ch_multiqc_custom_config).ifEmpty([])
1084+
ch_multiqc_configs = ch_multiqc_config.mix(ch_multiqc_custom_config).ifEmpty([])
10851085

10861086
MULTIQC (
10871087
ch_multiqc_files.collect(),
@@ -1134,7 +1134,7 @@ def extract_csv(csv_file) {
11341134
def patient_sample_lane_combinations_in_samplesheet = []
11351135
def sample2patient = [:]
11361136

1137-
Channel.from(csv_file).splitCsv(header: true)
1137+
Channel.of(csv_file).splitCsv(header: true)
11381138
.map{ row ->
11391139
if (params.step == "mapping") {
11401140
if ( !row.lane ) { // This also handles the case where the lane is left as an empty string
@@ -1161,7 +1161,7 @@ def extract_csv(csv_file) {
11611161
sample_count_normal = 0
11621162
sample_count_tumor = 0
11631163

1164-
Channel.from(csv_file).splitCsv(header: true)
1164+
Channel.of(csv_file).splitCsv(header: true)
11651165
//Retrieves number of lanes by grouping together by patient and sample and counting how many entries there are for this combination
11661166
.map{ row ->
11671167
sample_count_all++

0 commit comments

Comments
 (0)