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

Added index as input file

parent f0954114
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,9 @@ class VcfStats(val root: Configurable) extends BiopetJavaCommandLineFunction wit
@Input(doc = "Input fastq", shortName = "I", required = true)
var input: File = _
@Input
protected var index: File = null
@Output
protected var generalStats: File = null
......@@ -39,6 +42,10 @@ class VcfStats(val root: Configurable) extends BiopetJavaCommandLineFunction wit
var allInfoTags = false
var allGenotypeTags = false
override def beforeGraph: Unit = {
index = new File(input.getAbsolutePath + ".tbi")
}
/** Set output dir and a output file */
def setOutputDir(dir: File): Unit = {
outputDir = dir
......
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