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

Commit

Permalink
Expose sorting option in IlluminaBasecallsToSam (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhipp authored May 21, 2021
1 parent 0e3ee31 commit 6456e63
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 6456e63

Please sign in to comment.