Commit 1f2295c2 authored by Peter van 't Hof's avatar Peter van 't Hof Committed by GitHub

Merge pull request #74 from biopet/Fix-BIOPET-653

Changed Bwa mem -M flag default to 'false'
parents 811fe4c2 fabaff76
......@@ -33,7 +33,7 @@ class BwaMem(val parent: Configurable) extends Bwa with Reference {
var R2: File = _
@Input(doc = "The reference file for the bam files.", shortName = "R")
var reference: File = null
var reference: File = _
@Output(doc = "Output file SAM", shortName = "output")
var output: File = _
......@@ -42,7 +42,7 @@ class BwaMem(val parent: Configurable) extends Bwa with Reference {
var k: Option[Int] = config("k")
var r: Option[Float] = config("r")
var S: Boolean = config("S", default = false)
var M: Boolean = config("M", default = true)
var M: Boolean = config("M", default = false)
var w: Option[Int] = config("w")
var d: Option[Int] = config("d")
var c: Option[Int] = config("c")
......@@ -75,7 +75,7 @@ class BwaMem(val parent: Configurable) extends Bwa with Reference {
if (reference == null) reference = referenceFasta()
}
def cmdLine = {
def cmdLine: String = {
required(executable) +
required("mem") +
optional("-k", k) +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment