From 62aa5420d376d5cb227e501cd55a97ba37ee767e Mon Sep 17 00:00:00 2001
From: Peter van 't Hof <p.j.van_t_hof@lumc.nl>
Date: Fri, 8 Apr 2016 11:28:57 +0200
Subject: [PATCH] Fixed bed dir

---
 .../scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTest.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/gwas-test/src/main/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTest.scala b/public/gwas-test/src/main/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTest.scala
index 06ce05a00..9ee6d5952 100644
--- a/public/gwas-test/src/main/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTest.scala
+++ b/public/gwas-test/src/main/scala/nl/lumc/sasc/biopet/pipelines/gwastest/GwasTest.scala
@@ -98,7 +98,7 @@ class GwasTest(val root: Configurable) extends QScript with BiopetQScript with R
 
         val regionDir = new File(outputDir, "snptest" + File.separator + region.chr)
         val bedDir = new File(outputDir, ".queue" + File.separator + "regions" + File.separator + region.chr)
-        regionDir.mkdirs()
+        bedDir.mkdirs()
         val bedFile = new File(bedDir, s"${name}.bed")
         BedRecordList.fromList(List(region)).writeToFile(bedFile)
         bedFile.deleteOnExit()
-- 
GitLab