Commit 1f7364e0 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix on args

parent b7952c01
......@@ -74,16 +74,16 @@ object MpileupToVcf extends ToolCommand {
opt[String]('s', "sample") required () action { (x, c) =>
c.copy(sample = x)
}
opt[Int]("minDP") required () action { (x, c) =>
opt[Int]("minDP") action { (x, c) =>
c.copy(minDP = x)
}
opt[Int]("minAP") required () action { (x, c) =>
opt[Int]("minAP") action { (x, c) =>
c.copy(minAP = x)
}
opt[Double]("homoFraction") required () action { (x, c) =>
opt[Double]("homoFraction") action { (x, c) =>
c.copy(homoFraction = x)
}
opt[Int]("ploidy") required () action { (x, c) =>
opt[Int]("ploidy") action { (x, c) =>
c.copy(ploidy = x)
}
}
......
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