diff --git a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/seqtk/Seqtk.scala b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/seqtk/Seqtk.scala new file mode 100644 index 0000000000000000000000000000000000000000..3d83d397dd61d1eec7c5b7187e405f2069fd82dc --- /dev/null +++ b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/seqtk/Seqtk.scala @@ -0,0 +1,21 @@ +/** + * Copyright (c) 2014 Leiden University Medical Center + * + * @author Wibowo Arindrarto + */ + +package nl.lumc.sasc.biopet.function.seqtk + +import java.io.File +import org.broadinstitute.gatk.utils.commandline.{ Input, Output } +import nl.lumc.sasc.biopet.core.BiopetCommandLineFunction +import nl.lumc.sasc.biopet.core.config.Configurable + +/** + * Abstract class for all seqtk wrappers. + */ +abstract class Seqtk extends BiopetCommandLineFunction { + executable = config("exe", default = "seqtk", submodule = "seqtk") + override def versionCommand = executable + override val versionRegex = """Version: (.*)""".r +} diff --git a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/Seqtk.scala b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/seqtk/SeqtkSeq.scala similarity index 90% rename from biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/Seqtk.scala rename to biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/seqtk/SeqtkSeq.scala index 286b7235b4e3ab8bccb0e3fbb19f752ef9cfc93f..eb592a44bd0f2da23e1ad14dce2246df94561623 100644 --- a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/Seqtk.scala +++ b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/function/seqtk/SeqtkSeq.scala @@ -4,22 +4,13 @@ * @author Wibowo Arindrarto */ -package nl.lumc.sasc.biopet.function +package nl.lumc.sasc.biopet.function.seqtk import java.io.File import org.broadinstitute.gatk.utils.commandline.{ Input, Output } import nl.lumc.sasc.biopet.core.BiopetCommandLineFunction import nl.lumc.sasc.biopet.core.config.Configurable -/** - * Abstract class for all seqtk wrappers. - */ -abstract class Seqtk extends BiopetCommandLineFunction { - executable = config("exe", default = "seqtk", submodule = "seqtk") - override def versionCommand = executable - override val versionRegex = """Version: (.*)""".r -} - /** * Wrapper for the seqtk seq subcommand. * Written based on seqtk version 1.0-r63-dirty.