You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,22 @@
3
3
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
4
4
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
5
6
+
## [2.5.1] - 2024-02-21
7
+
8
+
### `Added`
9
+
10
+
-[#1037](https://github.com/nf-core/eager/issues/1037) Added an option to deactivate the `-sorted` option of bedtools coverage, in case the feature file is not sorted the same way as the fasta file, albeit with the caveat this will be very slow. (♥ Thanks to @IdoBar for reporting, and contributing.)
11
+
12
+
### `Fixed`
13
+
14
+
-[#1048](https://github.com/nf-core/eager/issues/1048)`--vcf2genome_outfile` parameter now gets prefixed by the sample_name and suffixed with `.fasta` (i.e. `<sample_name>_<vcf2genome_outfile>.fasta`). This ensures we avoid overwriting the output fasta of one sample with that of another when the option is provided. (♥ Thanks to @MeriamOs for reporting.)
15
+
-[#1047](https://github.com/nf-core/eager/issues/1047) Changed the row some statistics were reported in the General Stats table. The File name collision fixed in 2.5.0 (see #1017) caused these statistics to be reported in the wrong row due to an added suffix.
16
+
-[#1051](https://github.com/nf-core/eager/issues/1051) An error is now thrown if input BAM files end in `.unmapped.bam`, as this breaks the bam filtering process and empties the bam files in the process. (♥ Thanks to @PCQuilis for reporting.)
exit 1, "[nf-core/eager] error: bams can only be specified with --single_end. Please check input command."
37
37
}
38
38
39
+
// Do not allow input bams to be suffixed with '.unmapped.bam'
40
+
if (params.bam && params.input.endsWith('.unmapped.bam')) {
41
+
exit 1, "[nf-core/eager] error: Input BAM file names ending in '.unmapped.bam' are not allowed. Please rename your input BAM(s)."
42
+
}
43
+
39
44
// Validate that skip_collapse is only set to True for paired_end reads!
40
45
if (!has_extension(params.input, "tsv") && params.skip_collapse && params.single_end){
41
46
exit 1, "[nf-core/eager] error: --skip_collapse can only be set for paired_end samples."
@@ -379,6 +384,9 @@ ch_input_sample_check
379
384
def r2 = file(it[9]).getName()
380
385
def bam = file(it[10]).getName()
381
386
387
+
// Throw error and exit if the input bam has a name ending in '.unmapped.bam'
388
+
if (bam.endsWith('.unmapped.bam')) { exit 1, "[nf-core/eager] error: Input BAM file names ending in '.unmapped.bam' are not allowed. Please rename your input BAM(s)." }
0 commit comments