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

Reference is not used in here

parent 6b190fbd
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,6 @@ class CustomVarScan(val root: Configurable) extends BiopetCommandLineFunction wi
@Input(doc = "Input BAM file", required = true)
var input: File = null
@Input(doc = "Reference FASTA file", required = true)
var reference: File = null
@Output(doc = "Output VCF file", required = true)
var output: File = null
......@@ -93,7 +90,7 @@ class CustomVarScan(val root: Configurable) extends BiopetCommandLineFunction wi
override def beforeGraph(): Unit = {
super.beforeGraph()
require(output.toString.endsWith(".gz"), "Output must have a .gz file extension")
if (reference == null) reference = referenceFasta()
deps :+= referenceFasta()
}
def cmdLine: 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