Skip to content

Commit

Permalink
better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Dec 9, 2019
1 parent 4ce48d5 commit dc043d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -1431,10 +1431,13 @@ bamQCReport = bamQCReport.dump(tag:'BamQC')
================================================================================
*/

// When using sentieon for mapping, Channel bamRecal is bamRecalSentieon
if (params.sentieon && step == 'mapping') bamRecal = bamRecalSentieon

bamRecal = params.knownIndels ? bamRecal : indexedBam
// When no knownIndels for mapping, Channel bamRecal is indexedBam
bamRecal = (params.knownIndels && step == 'mapping') ? bamRecal : indexedBam

// When starting with variant calling, Channel bamRecal is inputSample
if (step == 'variantcalling') bamRecal = inputSample

bamRecal = bamRecal.dump(tag:'BAM')
Expand Down

0 comments on commit dc043d0

Please sign in to comment.