diff --git a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/BedToInterval.scala b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/BedToInterval.scala index 58b9500ad1197d119abb2b61d74a46058da989c6..ddfb57439ae4c16bc702173c4176b4246126ec00 100644 --- a/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/BedToInterval.scala +++ b/public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/BedToInterval.scala @@ -24,6 +24,9 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output } import java.io.PrintWriter import scala.io.Source +/** + * @deprecated Use picard.util.BedToIntervalList instead + */ class BedToInterval(val root: Configurable) extends BiopetJavaCommandLineFunction { javaMainClass = getClass.getName @@ -41,6 +44,9 @@ class BedToInterval(val root: Configurable) extends BiopetJavaCommandLineFunctio override def commandLine = super.commandLine + required("-I", input) + required("-b", bamFile) + required("-o", output) } +/** + * @deprecated Use picard.util.BedToIntervalList instead + */ object BedToInterval extends ToolCommand { def apply(root: Configurable, inputBed: File, inputBam: File, output: File): BedToInterval = { val bedToInterval = new BedToInterval(root)