Commit 4eb2d994 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added Sha1sum wrapper

parent fef3ab47
package nl.lumc.sasc.biopet.wrappers
import nl.lumc.sasc.biopet.core._
import org.broadinstitute.sting.queue.function.CommandLineFunction
import org.broadinstitute.sting.commandline._
class Sha1sum(val globalConfig: Config) extends CommandLineFunction {
def this() = this(new Config(Map()))
this.analysisName = "sha1sum"
val config: Config = globalConfig.getAsConfig("sha1sum")
logger.debug("Config for " + this.analysisName + ": " + config)
@Input(doc="Zipped file") var in: File = _
@Output(doc="Unzipped file") var out: File = _
def commandLine = "sha1sum %s > %s".format(in, out)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment