Skip to content

Commit bd400b3

Browse files
author
Alexander Peltzer
committed
Fixing remaining software_versions collection issues
1 parent 1492a1e commit bd400b3

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

bin/scrape_software_versions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
results['BWA'] = '<span style="color:#999999;\">N/A</span>'
2929
results['Qualimap'] = '<span style="color:#999999;\">N/A</span>'
3030
results['GATK'] = '<span style="color:#999999;\">N/A</span>'
31+
results['bamUtil'] = '<span style="color:#999999;\">N/A</span>'
32+
results['fastP'] = '<span style="color:#999999;\">N/A</span>'
3133

3234
# Search each file using its regex
3335
for k, v in regexes.items():

main.nf

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -226,19 +226,20 @@ process get_software_versions {
226226
"""
227227
echo $workflow.manifest.version &> v_pipeline.txt
228228
echo $workflow.nextflow.version &> v_nextflow.txt
229-
fastqc --version &> v_fastqc.txt
230-
multiqc --version &> v_multiqc.txt
231-
echo \$(bwa 2>&1) &> v_bwa.txt
232-
samtools --version &> v_samtools.txt
233-
echo \$(AdapterRemoval -version 2>&1) &> v_adapterremoval.txt
234-
picard MarkDuplicates --version &> v_markduplicates.txt || true
235-
echo \$(dedup -v 2>&1) &> v_dedup.txt
236-
preseq &> v_preseq.txt
237-
gatk BaseRecalibrator --version &> v_gatk.txt
238-
echo \$(vcf2genome 2>&1) > v_vcf2genome.txt
239-
fastp --version &> v_fastp.txt
240-
bam --version &> v_bamutil.txt
241-
qualimap --version > v_qualimap.txt
229+
fastqc --version &> v_fastqc.txt 2>&1 || true
230+
multiqc --version &> v_multiqc.txt 2>&1 || true
231+
bwa &> v_bwa.txt 2>&1 || true
232+
samtools --version &> v_samtools.txt 2>&1 || true
233+
AdapterRemoval -version &> v_adapterremoval.txt 2>&1 || true
234+
picard MarkDuplicates --version &> v_markduplicates.txt 2>&1 || true
235+
dedup -v &> v_dedup.txt 2>&1 || true
236+
preseq &> v_preseq.txt 2>&1 || true
237+
gatk BaseRecalibrator --version 2>&1 | grep Version: > v_gatk.txt 2>&1 || true
238+
vcf2genome &> v_vcf2genome.txt 2>&1 || true
239+
fastp --version &> v_fastp.txt 2>&1 || true
240+
bam --version &> v_bamutil.txt 2>&1 || true
241+
qualimap --version &> v_qualimap.txt 2>&1 || true
242+
242243
scrape_software_versions.py &> software_versions_mqc.yaml
243244
"""
244245
}

0 commit comments

Comments
 (0)