Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Expose INCLUDE_SECONDARY_ALIGNMENTS for MergeBamAlignment task. (#381)
Browse files Browse the repository at this point in the history
Co-authored-by: Jay Carey <[email protected]>
  • Loading branch information
Jay Carey and Jay Carey authored Jul 29, 2020
1 parent a329df7 commit 7c31adf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class MergeBamAlignment(unmapped: PathToBam,
orientation: PairOrientation = PairOrientation.FR,
maxGaps: Int = -1,
sortOrder: SortOrder = SortOrder.coordinate,
useAlignerProperPairFlags: Boolean = false
useAlignerProperPairFlags: Boolean = false,
includeSecondaryAlignments: Boolean = true
)
extends PicardTask with Pipe[SamOrBam,SamOrBam] {
requires(Cores(1), Memory("4g"))
Expand All @@ -69,5 +70,6 @@ class MergeBamAlignment(unmapped: PathToBam,
buffer.append("MAX_GAPS=" + maxGaps)
buffer.append("SO=" + sortOrder.name())
buffer.append("ALIGNER_PROPER_PAIR_FLAGS=" + useAlignerProperPairFlags)
buffer.append("INCLUDE_SECONDARY_ALIGNMENTS=" + includeSecondaryAlignments)
}
}

0 comments on commit 7c31adf

Please sign in to comment.