UnifiedGenotyper.scala 791 Bytes
Newer Older
Peter van 't Hof's avatar
Peter van 't Hof committed
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
 */
6
7
8
9
package nl.lumc.sasc.biopet.pipelines.gatk.variantcallers

import nl.lumc.sasc.biopet.pipelines.shiva.variantcallers.Variantcaller
import nl.lumc.sasc.biopet.utils.config.Configurable
Peter van 't Hof's avatar
Peter van 't Hof committed
10
import nl.lumc.sasc.biopet.extensions.gatk.broad
11
12
13
14
15
16
17

/** Default mode for UnifiedGenotyper */
class UnifiedGenotyper(val root: Configurable) extends Variantcaller {
  val name = "unifiedgenotyper"
  protected def defaultPrio = 20

  def biopetScript() {
Peter van 't Hof's avatar
Peter van 't Hof committed
18
    val ug = broad.UnifiedGenotyper(this, inputBams.values.toList, outputFile)
19
20
21
    add(ug)
  }
}