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

Fix tophat config

parent 9742b0ee
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ package nl.lumc.sasc.biopet.extensions
import java.io.File
import nl.lumc.sasc.biopet.core.{Reference, BiopetCommandLineFunction}
import nl.lumc.sasc.biopet.core.{ Reference, BiopetCommandLineFunction }
import nl.lumc.sasc.biopet.core.config.Configurable
import org.broadinstitute.gatk.utils.commandline.{ Argument, Input, Output }
......
......@@ -193,7 +193,9 @@ class GenerateIndexes(val root: Configurable) extends QScript with BiopetQScript
bowtie2Index.baseName = "reference"
add(bowtie2Index)
outputConfig += "bowtie2" -> Map("reference_fasta" -> bowtie2Index.reference.getAbsolutePath)
outputConfig += "tophat" -> Map("bowtie_index" -> bowtie2Index.reference.getAbsolutePath)
outputConfig += "tophat" -> Map(
"bowtie_index" -> bowtie2Index.reference.getAbsolutePath.stripSuffix(".fa").stripSuffix(".fasta")
)
outputConfig
}
......
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