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

Expose sorting option in IlluminaBasecallsToSam #389

Merged
merged 1 commit into from
May 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class IlluminaBasecallsToSam(basecallsDir: DirPath,
maxReadsInRamPerTile: Option[Int] = Some(500000),
firstTile: Option[Int] = None,
tileLimit: Option[Int] = None,
tmpDir: Option[DirPath] = None
tmpDir: Option[DirPath] = None,
sort: Option[Boolean] = None
) extends PicardTask with VariableResources with JvmRanOutOfMemory {

protected val byMemoryPerThread: Memory = Memory("1GB")
Expand Down Expand Up @@ -88,6 +89,7 @@ class IlluminaBasecallsToSam(basecallsDir: DirPath,
buffer += "READ_STRUCTURE=" + readStructure.toString
buffer += "LIBRARY_PARAMS=" + libraryParamsFile
buffer += "INCLUDE_NON_PF_READS=" + includeNonPfReads
sort.foreach(buffer += "SORT=" + _)
if (ignoreUnexpectedBarcodes) buffer += "IGNORE_UNEXPECTED_BARCODES=true"
if (adapterPairs.isEmpty) buffer += "ADAPTERS_TO_CHECK=null"
else adapterPairs.foreach(buffer += "ADAPTERS_TO_CHECK=" + _)
Expand Down