GearsReport.scala 1.01 KB
Newer Older
Wai Yi Leung's avatar
Wai Yi Leung committed
1
2
package nl.lumc.sasc.biopet.pipelines.gears

3
import nl.lumc.sasc.biopet.core.report._
Wai Yi Leung's avatar
Wai Yi Leung committed
4
import nl.lumc.sasc.biopet.utils.config.Configurable
Wai Yi Leung's avatar
Wai Yi Leung committed
5
6
7
8
9

class GearsReport(val root: Configurable) extends ReportBuilderExtension {
  val builder = GearsReport
}

10
object GearsReport extends ReportBuilder {
Wai Yi Leung's avatar
Wai Yi Leung committed
11
12
13

  // FIXME: Not yet finished
  // TODO: Sample specific: Add summary (sunflare plot)
14
  // TODO: Add dustbin analysis (aggregated)
Wai Yi Leung's avatar
Wai Yi Leung committed
15
16
17
18
  // TODO: Add alignment stats per sample for the dustbin analysis

  def indexPage = {
    ReportPage(
19
      List() ++
Wai Yi Leung's avatar
Wai Yi Leung committed
20
        Map(
Wai Yi Leung's avatar
Wai Yi Leung committed
21
22
23
24
25
          "Versions" -> ReportPage(List(), List((
            "Executables" -> ReportSection("/nl/lumc/sasc/biopet/core/report/executables.ssp"
            ))), Map())
        ),
      List(
Wai Yi Leung's avatar
Wai Yi Leung committed
26
27
        "Gears intro" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/gears/gearsFront.ssp"),
        "Sunburst analysis" -> ReportSection("/nl/lumc/sasc/biopet/pipelines/gears/gearsSunburst.ssp")
Wai Yi Leung's avatar
Wai Yi Leung committed
28
29
30
31
32
33
34
35
      ),
      pageArgs
    )
  }

  def reportName = "Gears :: Metagenomics Report"

}