mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
Apply suggestions from code review
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
6b34ddf239
commit
c1ff201518
3 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue