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

Make input and output required

parent 97eb666f
No related branches found
No related tags found
No related merge requests found
......@@ -13,10 +13,10 @@ import org.broadinstitute.gatk.utils.commandline.{ Output, Input }
class Bam2Wig(val root: Configurable) extends QScript with BiopetQScript {
def this() = this(null)
@Input
@Input(doc="", required = true)
var bamFile: File = _
@Output
@Output(doc="", required = true)
var bigWigFile: File = _
def init(): Unit = {
......@@ -33,6 +33,7 @@ class Bam2Wig(val root: Configurable) extends QScript with BiopetQScript {
igvCount.input = bamFile
igvCount.genomeChromSizes = bs.chromSizesFile
igvCount.wig = Some(swapExt(outputDir, bamFile, ".bam", ".wig"))
add(igvCount)
val wigToBigWig = new WigToBigWig(this)
wigToBigWig.inputWigFile = igvCount.wig.get
......
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