Skip to content

Commit 9ad31b5

Browse files
committed
Fix software versioning
1 parent 2930f5f commit 9ad31b5

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
- [#824](https://github.com/nf-core/eager/issues/824) Fixes large memory footprint of bedtools coverage calculation.
1313
- [#822](https://github.com/nf-core/eager/issues/822) Fixed post-adapterremoval trimmed files not being lane-merged and included in downstream analyses
14+
- Fixed a couple of software version reporting commands
1415

1516
### `Dependencies`
1617

bin/scrape_software_versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"FastQC": ["v_fastqc.txt", r"FastQC v(\S+)"],
1010
"MultiQC": ["v_multiqc.txt", r"multiqc, version (\S+)"],
1111
'AdapterRemoval':['v_adapterremoval.txt', r"AdapterRemoval ver. (\S+)"],
12-
'Picard MarkDuplicates': ['v_markduplicates.txt', r"(\S+)"],
12+
'Picard MarkDuplicates': ['v_markduplicates.txt', r"Version:(\S+)"],
1313
'Samtools': ['v_samtools.txt', r"samtools (\S+)"],
1414
'Preseq': ['v_preseq.txt', r"Version: (\S+)"],
1515
'BWA': ['v_bwa.txt', r"Version: (\S+)"],
1616
'Bowtie2': ['v_bowtie2.txt', r"bowtie2-([0-9]+\.[0-9]+\.[0-9]+) -fdebug"],
1717
'Qualimap': ['v_qualimap.txt', r"QualiMap v.(\S+)"],
18-
'GATK HaplotypeCaller': ['v_gatk.txt', r" v(\S+)"],
18+
'GATK HaplotypeCaller': ['v_gatk.txt', r"The Genome Analysis Toolkit \(GATK\) v(\S+)"],
1919
'GATK UnifiedGenotyper': ['v_gatk3.txt', r"(\S+)"],
2020
'bamUtil' : ['v_bamutil.txt', r"Version: (\S+);"],
2121
'fastP': ['v_fastp.txt', r"([\d\.]+)"],

main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ process get_software_versions {
30883088
( exec 7>&1; picard MarkDuplicates --version 2>&1 >&7 | grep -v '/' >&2 ) 2> v_markduplicates.txt || true
30893089
qualimap --version &> v_qualimap.txt 2>&1 || true
30903090
preseq &> v_preseq.txt 2>&1 || true
3091-
gatk --version 2>&1 | head -n 1 > v_gatk.txt 2>&1 || true
3091+
gatk --version 2>&1 | grep '(GATK)' > v_gatk.txt 2>&1 || true
30923092
gatk3 --version 2>&1 | head -n 1 > v_gatk3.txt 2>&1 || true
30933093
freebayes --version &> v_freebayes.txt 2>&1 || true
30943094
bedtools --version &> v_bedtools.txt 2>&1 || true

0 commit comments

Comments
 (0)