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

Changed sample ID

parent 2f744f00
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ object GensToVcf extends ToolCommand {
val argsParser = new OptParser
val cmdArgs = argsParser.parse(args, Args()).getOrElse(throw new IllegalArgumentException)
val samples = Source.fromFile(cmdArgs.sampleFile).getLines().toArray.drop(2).map(_.split("\t").head)
val samples = Source.fromFile(cmdArgs.sampleFile).getLines().toArray.drop(2).map(_.split("\t").take(2).mkString("_"))
val metaLines = new util.HashSet[VCFHeaderLine]()
metaLines.add(new VCFFormatHeaderLine("GT", 1, VCFHeaderLineType.String, ""))
......
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