mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +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
|
path fasta
|
||||||
|
|
||||||
output:
|
output:
|
||||||
path "bwa" , emit: index
|
path "bwamem2" , emit: index
|
||||||
path "*.version.txt", emit: version
|
path "*.version.txt", emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def software = getSoftwareName(task.process)
|
def software = getSoftwareName(task.process)
|
||||||
"""
|
"""
|
||||||
mkdir bwa
|
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
|
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
|
description: Create BWA-mem2 index for reference genome
|
||||||
keywords:
|
keywords:
|
||||||
- index
|
- index
|
||||||
|
@ -47,5 +47,4 @@ output:
|
||||||
description: File containing software version
|
description: File containing software version
|
||||||
pattern: "*.{version.txt}"
|
pattern: "*.{version.txt}"
|
||||||
authors:
|
authors:
|
||||||
- "@drpatelh"
|
|
||||||
- "@maxulysse"
|
- "@maxulysse"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: bwa_mem
|
name: bwamem2_mem
|
||||||
description: Performs fastq alignment to a fasta reference using BWA
|
description: Performs fastq alignment to a fasta reference using BWA
|
||||||
keywords:
|
keywords:
|
||||||
- mem
|
- mem
|
||||||
|
@ -62,5 +62,4 @@ output:
|
||||||
description: File containing software version
|
description: File containing software version
|
||||||
pattern: "*.{version.txt}"
|
pattern: "*.{version.txt}"
|
||||||
authors:
|
authors:
|
||||||
- "@drpatelh"
|
- "@maxulysse"
|
||||||
- "@jeremy1805"
|
|
||||||
|
|
Loading…
Reference in a new issue