Skip to content

Commit 5ccf605

Browse files
committed
fix strip mode and typo
1 parent 125f2af commit 5ccf605

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,14 +947,14 @@ process strip_input_fastq {
947947
out_fwd = bam.baseName+'.stripped.fq.gz'
948948
"""
949949
samtools index $bam
950-
extract_map_reads.py $bam ${fq[0]} -of $out_fwd -p ${task.cpus}
950+
extract_map_reads.py $bam ${fq[0]} -m ${params.strip_mode} -of $out_fwd -p ${task.cpus}
951951
"""
952952
} else {
953953
out_fwd = bam.baseName+'.stripped.fwd.fq.gz'
954954
out_rev = bam.baseName+'.stripped.rev.fq.gz'
955955
"""
956956
samtools index $bam
957-
extract_map_reads.py $bam ${fq[0]} -2 ${fq[0]} -of $out_fwd -or $out_rev -p ${task.cpus}
957+
extract_map_reads.py $bam ${fq[0]} -rev ${fq[1]} -m ${params.strip_mode} -of $out_fwd -or $out_rev -p ${task.cpus}
958958
"""
959959
}
960960

0 commit comments

Comments
 (0)