Commit 2591ac32 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixed ; replacement

parent 8b41d86d
......@@ -112,7 +112,7 @@ object SnptestToVcf extends ToolCommand {
val infoBuilder = infoKeys.foldLeft(builder) { case (a, b) => a.attribute("ST_" + b, values(headerMap(b)).replaceAll(";", ",")) }
writer.add(builder.id(rsid.replaceAll(";", ",")).make())
writer.add(infoBuilder.id(rsid.replaceAll(";", ",")).make())
counter += 1
if (counter % 10000 == 0) logger.info(s"$counter lines processed")
......
Supports Markdown
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