Apply suggestions from code review

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
Maxime Garcia 2021-02-12 13:24:10 +01:00 committed by GitHub
parent 6b34ddf239
commit c1ff201518
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 7 deletions

View file

@ -22,14 +22,14 @@ process BWAMEM2_INDEX {
path fasta
output:
path "bwa" , emit: index
path "bwamem2" , emit: index
path "*.version.txt", emit: version
script:
def software = getSoftwareName(task.process)
"""
mkdir bwa
bwa-mem2 index $ioptions.args $fasta -p bwa/${fasta.baseName}
bwa-mem2 index $ioptions.args $fasta -p bwamem2/${fasta.baseName}
echo \$(bwa-mem2 version 2>&1) > ${software}.version.txt
"""
}

View file

@ -1,4 +1,4 @@
name: bwa_index
name: bwamem2_index
description: Create BWA-mem2 index for reference genome
keywords:
- index
@ -47,5 +47,4 @@ output:
description: File containing software version
pattern: "*.{version.txt}"
authors:
- "@drpatelh"
- "@maxulysse"

View file

@ -1,4 +1,4 @@
name: bwa_mem
name: bwamem2_mem
description: Performs fastq alignment to a fasta reference using BWA
keywords:
- mem
@ -62,5 +62,4 @@ output:
description: File containing software version
pattern: "*.{version.txt}"
authors:
- "@drpatelh"
- "@jeremy1805"
- "@maxulysse"