Skip to content

Commit

Permalink
Freebayes sorted variants
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaziec committed Oct 12, 2020
1 parent bf8deee commit 1e00b33
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/src/main/scala/org/bdgenomics/cannoli/Freebayes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ class Freebayes(
alignments.pipe[VariantContext, VariantContextProduct, VariantContextDataset, BAMInFormatter](
cmd = builder.build(),
files = builder.getFiles()
)

// val headerLines = accumulator.value.distinct
// variantContexts.replaceHeaderLines(headerLines)
).sort()
val headerLines = accumulator.value.distinct
variantContexts.replaceHeaderLines(headerLines)
}
}

0 comments on commit 1e00b33

Please sign in to comment.