CombineVariants.scala 811 Bytes
Newer Older
1
2
3
4
5
/**
 * Due to the license issue with GATK, this part of Biopet can only be used inside the
 * LUMC. Please refer to https://git.lumc.nl/biopet/biopet/wikis/home for instructions
 * on how to use this protected part of biopet or contact us at sasc@lumc.nl
 */
Peter van 't Hof's avatar
Peter van 't Hof committed
6
package nl.lumc.sasc.biopet.extensions.gatk.broad
7
8

import java.io.File
Peter van 't Hof's avatar
Peter van 't Hof committed
9

10
11
12
13
14
15
16
17
18
19
20
21
22
23
import nl.lumc.sasc.biopet.core.config.Configurable

class CombineVariants(val root: Configurable) extends org.broadinstitute.gatk.queue.extensions.gatk.CombineVariants with GatkGeneral {
  if (config.contains("scattercount")) scatterCount = config("scattercount")
}

object CombineVariants {
  def apply(root: Configurable, input: List[File], output: File): CombineVariants = {
    val cv = new CombineVariants(root)
    cv.variant = input
    cv.out = output
    return cv
  }
}