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

Added Sha1sum wrapper

parent 59459ae6
No related branches found
No related tags found
No related merge requests found
package nl.lumc.sasc.biopet.wrappers
import nl.lumc.sasc.biopet.core._
import org.broadinstitute.sting.queue.function.CommandLineFunction
import org.broadinstitute.sting.commandline._
import java.io.File
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
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