We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b835935 commit 74398e2Copy full SHA for 74398e2
1 file changed
main.nf
@@ -372,6 +372,9 @@ ${summary.collect { k,v -> " <dt>$k</dt><dd><samp>${v ?: '<span style
372
/*
373
* Create BWA indices if they are not present
374
*/
375
+
376
+if(!params.bwa_index && params.fasta && (params.aligner =='bwa' || params.bwamem)) {
377
378
process makeBWAIndex {
379
tag {fasta}
380
publishDir path: "${params.outdir}/reference_genome/bwa_index", mode: 'copy', saveAs: { filename ->
@@ -399,6 +402,8 @@ process makeBWAIndex {
399
402
"""
400
403
}
401
404
405
+}
406
407
408
409
* PREPROCESSING - Index Fasta file if not specified on CLI
0 commit comments