Skip to content

Commit 68fa27d

Browse files
phueapeltzer
andauthored
Update main.nf
Co-Authored-By: apeltzer <apeltzer@users.noreply.github.com>
1 parent 9f45104 commit 68fa27d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ process bwamem {
802802
fasta = "${index}/*.fasta"
803803
size = "${params.large_ref}" ? '-c' : ''
804804

805-
if (!params.singleEnd && skip_collapse ){
805+
if (!params.singleEnd && params.skip_collapse){
806806
"""
807807
bwa mem -t ${task.cpus} $fasta ${reads[0]} ${reads[1]} -R "@RG\\tID:ILLUMINA-${prefix}\\tSM:${prefix}\\tPL:illumina" | samtools sort -@ ${task.cpus} -O bam - > "${prefix}".sorted.bam
808808
samtools index "${size}" -@ ${task.cpus} "${prefix}".sorted.bam

0 commit comments

Comments
 (0)