Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
e07267db
Commit
e07267db
authored
9 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Skipping parts of report when they are skipped in the pipeline
parent
0ae99234
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/mapping/src/main/scala/nl/lumc/sasc/biopet/pipelines/mapping/MappingReport.scala
+15
-11
15 additions, 11 deletions
...nl/lumc/sasc/biopet/pipelines/mapping/MappingReport.scala
with
15 additions
and
11 deletions
public/mapping/src/main/scala/nl/lumc/sasc/biopet/pipelines/mapping/MappingReport.scala
+
15
−
11
View file @
e07267db
...
...
@@ -35,18 +35,22 @@ object MappingReport extends ReportBuilder {
/** Root page for single BamMetrcis report */
def
indexPage
=
{
val
bamMetricsPage
=
BammetricsReport
.
bamMetricsPage
(
summary
,
sampleId
,
libId
)
ReportPage
(
List
(
"QC"
->
FlexiprepReport
.
flexiprepPage
)
:::
bamMetricsPage
.
subPages
:::
List
(
"Versions"
->
ReportPage
(
List
(),
List
(
"Executables"
->
ReportSection
(
"/nl/lumc/sasc/biopet/core/report/executables.ssp"
)),
Map
()),
"Files"
->
ReportPage
(
List
(),
List
(
"Input fastq files"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepInputfiles.ssp"
),
"After QC fastq files"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepOutputfiles.ssp"
),
"Bam files per lib"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/mapping/outputBamfiles.ssp"
,
Map
(
"sampleLevel"
->
false
))
),
Map
())
),
List
(
val
skipFlexiprep
=
summary
.
getValue
(
sampleId
,
libId
,
"mapping"
,
"settings"
,
"skip_flexiprep"
).
getOrElse
(
false
)
==
true
val
bamMetricsPage
=
if
(
summary
.
getValue
(
sampleId
,
libId
,
"mapping"
,
"settings"
,
"skip_metrics"
).
getOrElse
(
false
)
==
true
)
{
Some
(
BammetricsReport
.
bamMetricsPage
(
summary
,
sampleId
,
libId
))
}
else
None
ReportPage
((
if
(
skipFlexiprep
)
Nil
else
List
(
"QC"
->
FlexiprepReport
.
flexiprepPage
))
:::
bamMetricsPage
.
map
(
_
.
subPages
).
getOrElse
(
Nil
)
:::
List
(
"Versions"
->
ReportPage
(
List
(),
List
(
"Executables"
->
ReportSection
(
"/nl/lumc/sasc/biopet/core/report/executables.ssp"
)),
Map
()),
"Files"
->
ReportPage
(
List
(),
(
if
(
skipFlexiprep
)
Nil
else
List
(
"Input fastq files"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepInputfiles.ssp"
),
"After QC fastq files"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/flexiprep/flexiprepOutputfiles.ssp"
)))
:::
List
(
"Bam files per lib"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/mapping/outputBamfiles.ssp"
,
Map
(
"sampleLevel"
->
false
))
),
Map
())
),
List
(
"Report"
->
ReportSection
(
"/nl/lumc/sasc/biopet/pipelines/mapping/mappingFront.ssp"
)
)
:::
bamMetricsPage
.
sections
,
)
:::
bamMetricsPage
.
map
(
_
.
sections
).
getOrElse
(
Nil
)
,
Map
()
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment