Skip to content

Commit

Permalink
Add PE param to preseq
Browse files Browse the repository at this point in the history
  • Loading branch information
drpatelh committed Mar 25, 2020
1 parent 9fd388b commit 3d8e305
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -897,11 +897,20 @@ process MergedLibPreseq {

output:
file "*.ccurve.txt" into ch_mlib_preseq_mqc
file "*.log" into ch_mlib_preseq_log

script:
prefix = "${name}.mLb.mkD"
pe = params.single_end ? "" : "-pe"
"""
preseq lc_extrap -v -output ${prefix}.ccurve.txt -bam ${bam[0]}
preseq lc_extrap \\
-output ${prefix}.ccurve.txt \\
-verbose \\
-bam \\
$pe \\
-seed 1 \\
${bam[0]}
cp .command.err ${prefix}.command.log
"""
}

Expand Down

0 comments on commit 3d8e305

Please sign in to comment.