Commit a085648e authored by Peter van 't Hof's avatar Peter van 't Hof

Fixing BIOPET-612

parent 9170ed43
......@@ -74,7 +74,7 @@
#if (libs.head != libId) <tr> #end
#if (!sampleLevel) <td><a href="${rootPath}Samples/${sample.name}/Libraries/${libName}/index.html">${libName}</a></td> #end
#{
val statsPaths = fields.map(x => x -> List("metrics", x)).toMap
val statsPaths = fields.map(x => x -> List("metrics", x.toUpperCase)).toMap
val results = summary.getStatKeys(runId, "bammetrics", "wgs", sample = sample.id, library = libId.map(LibraryId).getOrElse(NoLibrary), keyValues = statsPaths)
}#
#for (field <- fields)
......
......@@ -286,8 +286,8 @@ object BammetricsReport extends ReportBuilder {
sampleId: Option[Int] = None,
libraryId: Option[Int] = None): Unit = {
val statsPaths = Map(
"coverage" -> List("wgs", "histogram", "coverage"),
"count" -> List("wgs", "histogram", "count")
"coverage" -> List("histogram", "coverage"),
"count" -> List("histogram", "count")
)
writePlotFromSummary(outputDir, prefix, summary, libraryLevel, sampleId, libraryId, statsPaths,
......
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