WisecondorCount.scala 515 Bytes
Newer Older
Sander Bollen's avatar
Sander Bollen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
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.
 */
class WisecondorCount(val root: Configurable) extends Wisecondor {

  @Input
  var inputBam: File = _

  def cmdLine = {
    executable + required("count") +
      required("-I", inputBam) +
      required("-O", output) +
      required("-R", referenceFasta()) +
      binCommand
  }
}