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

Change List[File] to File

parent 3e3cbed9
No related branches found
No related tags found
No related merge requests found
...@@ -33,10 +33,10 @@ class VcfWithVcf(val root: Configurable) extends ToolCommandFuntion { ...@@ -33,10 +33,10 @@ class VcfWithVcf(val root: Configurable) extends ToolCommandFuntion {
javaMainClass = getClass.getName javaMainClass = getClass.getName
@Input(doc = "Input vcf file", shortName = "input", required = true) @Input(doc = "Input vcf file", shortName = "input", required = true)
var input: List[File] = Nil var input: File = _
@Input(doc = "Secondary vcf file", shortName = "secondary", required = true) @Input(doc = "Secondary vcf file", shortName = "secondary", required = true)
var secondaryVcf: List[File] = Nil var secondaryVcf: File = _
@Output(doc = "Output vcf file", shortName = "output", required = true) @Output(doc = "Output vcf file", shortName = "output", required = true)
var output: File = _ var output: File = _
...@@ -56,7 +56,7 @@ class VcfWithVcf(val root: Configurable) extends ToolCommandFuntion { ...@@ -56,7 +56,7 @@ class VcfWithVcf(val root: Configurable) extends ToolCommandFuntion {
} }
override def commandLine = super.commandLine + override def commandLine = super.commandLine +
repeat("-I", input) + required("-I", input) +
required("-o", output) + required("-o", output) +
required("-s", secondaryVcf) + required("-s", secondaryVcf) +
repeat("-f", fields.map(x => x._1 + ":" + x._2 + ":" + x._3.getOrElse("none"))) repeat("-f", fields.map(x => x._1 + ":" + x._2 + ":" + x._3.getOrElse("none")))
......
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