Skip to content
Snippets Groups Projects
Commit 755b864d authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

More style fixes

parent 8a15fe3c
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ import nl.lumc.sasc.biopet.core.{BiopetCommandLineFunction, Version} ...@@ -19,7 +19,7 @@ import nl.lumc.sasc.biopet.core.{BiopetCommandLineFunction, Version}
/** General Sambamba extension */ /** General Sambamba extension */
abstract class Sambamba extends BiopetCommandLineFunction with Version { abstract class Sambamba extends BiopetCommandLineFunction with Version {
override def defaultCoreMemory = 2.0 override def defaultCoreMemory = 4.0
override def defaultThreads = 2 override def defaultThreads = 2
override def subPath = "sambamba" :: super.subPath override def subPath = "sambamba" :: super.subPath
......
...@@ -73,14 +73,13 @@ class Gears(val root: Configurable) extends QScript with SummaryQScript with Sam ...@@ -73,14 +73,13 @@ class Gears(val root: Configurable) extends QScript with SummaryQScript with Sam
def biopetScript(): Unit = { def biopetScript(): Unit = {
val fastqFiles: List[File] = bamFile.map { bamfile => val fastqFiles: List[File] = bamFile.map { bamfile =>
// // sambamba view -f bam -F "unmapped or mate_is_unmapped" <alnFile> > <extracted.bam> // // sambamba view -f bam -F "unmapped or mate_is_unmapped" <alnFile> > <extracted.bam>
// val samFilterUnmapped = new SambambaView(this) // val samFilterUnmapped = new SambambaView(this)
// samFilterUnmapped.input = bamfile // samFilterUnmapped.input = bamfile
// samFilterUnmapped.filter = Some("(unmapped or mate_is_unmapped) and not (secondary_alignment) and [XH] == null") // samFilterUnmapped.filter = Some("(unmapped or mate_is_unmapped) and not (secondary_alignment) and [XH] == null")
// samFilterUnmapped.output = new File(outputDir, s"$outputName.unmapped.bam") // samFilterUnmapped.output = new File(outputDir, s"$outputName.unmapped.bam")
// samFilterUnmapped.isIntermediate = false // samFilterUnmapped.isIntermediate = false
// add(samFilterUnmapped) // add(samFilterUnmapped)
val samtoolsViewSelectUnmapped = new SamtoolsView(this) val samtoolsViewSelectUnmapped = new SamtoolsView(this)
samtoolsViewSelectUnmapped.input = bamfile samtoolsViewSelectUnmapped.input = bamfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment