WisecondorCount.scala 503 Bytes
Newer Older
Sander Bollen's avatar
Sander Bollen committed
1 2 3 4 5 6 7 8 9 10
package nl.lumc.sasc.biopet.extensions.wisecondor

import java.io.File

import nl.lumc.sasc.biopet.utils.config.Configurable
import org.broadinstitute.gatk.utils.commandline.Input

/**
 * Created by Sander Bollen on 20-3-17.
 */
Sander Bollen's avatar
Sander Bollen committed
11
class WisecondorCount(val parent: Configurable) extends Wisecondor {
Sander Bollen's avatar
Sander Bollen committed
12 13 14 15

  @Input
  var inputBam: File = _

Peter van 't Hof's avatar
Peter van 't Hof committed
16 17 18 19 20 21
  def cmdLine = executable +
    required("count") +
    required("-I", inputBam) +
    required("-O", output) +
    required("-R", referenceFasta()) +
    binCommand
Sander Bollen's avatar
Sander Bollen committed
22
}