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

Fix build issues

parent 4e87ca4c
No related branches found
No related tags found
No related merge requests found
......@@ -173,19 +173,22 @@ class Sage(val root: Configurable) extends QScript with MultiSampleQScript {
}
def addBedtoolsCounts(bamFile: File, outputPrefix: String, outputDir: File) {
val bedtoolsSense = BedtoolsCoverage(this, bamFile, squishedCountBed, new File(outputDir, outputPrefix + ".genome.sense.coverage"),
val bedtoolsSense = BedtoolsCoverage(this, bamFile, squishedCountBed,
output = Some(new File(outputDir, outputPrefix + ".genome.sense.coverage")),
depth = false, sameStrand = true, diffStrand = false)
val countSense = new BedtoolsCoverageToCounts(this)
countSense.input = bedtoolsSense.output
countSense.output = new File(outputDir, outputPrefix + ".genome.sense.counts")
val bedtoolsAntisense = BedtoolsCoverage(this, bamFile, squishedCountBed, new File(outputDir, outputPrefix + ".genome.antisense.coverage"),
val bedtoolsAntisense = BedtoolsCoverage(this, bamFile, squishedCountBed,
output = Some(new File(outputDir, outputPrefix + ".genome.antisense.coverage")),
depth = false, sameStrand = false, diffStrand = true)
val countAntisense = new BedtoolsCoverageToCounts(this)
countAntisense.input = bedtoolsAntisense.output
countAntisense.output = new File(outputDir, outputPrefix + ".genome.antisense.counts")
val bedtools = BedtoolsCoverage(this, bamFile, squishedCountBed, new File(outputDir, outputPrefix + ".genome.coverage"),
val bedtools = BedtoolsCoverage(this, bamFile, squishedCountBed,
output = Some(new File(outputDir, outputPrefix + ".genome.coverage")),
depth = false, sameStrand = false, diffStrand = false)
val count = new BedtoolsCoverageToCounts(this)
count.input = bedtools.output
......
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