mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Fix typo (#1586)
This commit is contained in:
parent
ec10f98d55
commit
1a5a9e7b40
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ process MINIMAP2_ALIGN {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def input_reads = meta.single_end ? "$reads" : "${reads[0]} ${reads[1]}"
|
def input_reads = meta.single_end ? "$reads" : "${reads[0]} ${reads[1]}"
|
||||||
def bam_output = bam_format ? "-a | samtools sort | samtools view -@ ${task.cpus} -b -h -o ${prefix}.bam" : "-o ${prefix}.paf"
|
def bam_output = bam_format ? "-a | samtools sort | samtools view -@ ${task.cpus} -b -h -o ${prefix}.bam" : "-o ${prefix}.paf"
|
||||||
def cigar_paf = cigar_paf_format && !sam_format ? "-c" : ''
|
def cigar_paf = cigar_paf_format && !bam_format ? "-c" : ''
|
||||||
def set_cigar_bam = cigar_bam && sam_format ? "-L" : ''
|
def set_cigar_bam = cigar_bam && bam_format ? "-L" : ''
|
||||||
"""
|
"""
|
||||||
minimap2 \\
|
minimap2 \\
|
||||||
$args \\
|
$args \\
|
||||||
|
|
Loading…
Reference in a new issue