Skip to content
Snippets Groups Projects
Commit 2759a09f authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Style changes

parent 40de3b9b
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ object MpileupToVcf extends ToolCommand {
}
val reads = values(3).toInt
val mpileup = values(4)
val qual = values(5)
//val qual = values(5)
val counts: mutable.Map[String, Counts] = mutable.Map(ref.toUpperCase -> new Counts(0, 0))
......@@ -158,8 +158,8 @@ object MpileupToVcf extends ToolCommand {
format += ("AD" -> (format("AD") + "," + (value.forward + value.reverse).toString))
val seqErr = 1.0 - binomial.cdf(value.forward + value.reverse)
maSeqErr match {
case Some(x) if (x < seqErr) =>
case _ => maSeqErr = Some(seqErr)
case Some(x) if x < seqErr =>
case _ => maSeqErr = Some(seqErr)
}
format += ("SEQ-ERR" -> (format("SEQ-ERR") + "," + seqErr.toString))
format += ("AFC" -> ((if (format.contains("AFC")) format("AFC") + "," else "") + value.forward))
......
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