Commit 741ab7f5 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Simplify dbsnp

parent ba60c6d4
......@@ -58,9 +58,9 @@ trait Reference extends Configurable {
lazy val geneAnnotationVersion: Option[String] = config("gene_annotation_name")
lazy val geneAnnotationSubPath = => List("gene_annotations", x)).getOrElse(Nil)
lazy val dbsnpVersion: Option[Int] = config("dbsnp_version")
lazy val dbsnpSubPath: List[String] = => List("dbsnp_annotations", x.toString)).getOrElse(Nil)
lazy val geneAnnotationSubPath ="gene_annotations", _)).getOrElse(Nil)
lazy val dbsnpVersion: Option[String] = config("dbsnp_version")
lazy val dbsnpSubPath: List[String] ="dbsnp_annotations", _)).getOrElse(Nil)
def dbsnpVcfFile: Option[File] = config("dbsnp_vcf", extraSubPath = dbsnpSubPath)
/** Returns the reference config path */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment