Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
cccd07cf
Commit
cccd07cf
authored
Jul 26, 2017
by
pjvan_thof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sorting table correctly now
parent
2b833eaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
biopet-core/src/main/resources/org/broadinstitute/gatk/queue/util/queueJobReport.R
...urces/org/broadinstitute/gatk/queue/util/queueJobReport.R
+6
-4
No files found.
biopet-core/src/main/resources/org/broadinstitute/gatk/queue/util/queueJobReport.R
View file @
cccd07cf
...
...
@@ -265,14 +265,16 @@ plotJobsGantt(merged.by.scatter, F, "Jobs merged by scatter by start time", T)
merged.as.df
=
do.call
(
rbind.data.frame
,
merged.by.scatter
)[,
c
(
"analysisName"
,
"runtime"
,
"cores"
)]
merged.as.df
$
cputime
=
merged.as.df
$
runtime
*
merged.as.df
$
cores
merged.as.df
$
percent
=
merged.as.df
$
cputime
/
sum
(
merged.as.df
$
cputime
)
*
100
merged.as.df
$
percent
=
merged.as.df
$
runtime
/
sum
(
merged.as.df
$
runtime
)
*
100
merged.as.df
$
percentCpu
=
merged.as.df
$
cputime
/
sum
(
merged.as.df
$
cputime
)
*
100
merged.as.df.formatted
=
data.frame
(
analysisName
=
merged.as.df
$
analysisName
,
walltime
=
prettyNum
(
merged.as.df
$
runtime
),
walltime
=
prettyNum
(
merged.as.df
$
runtime
),
percent
=
prettyNum
(
merged.as.df
$
percent
,
digits
=
2
),
cores
=
merged.as.df
$
cores
,
cputime
=
prettyNum
(
merged.as.df
$
cputime
),
percent
=
prettyNum
(
merged.as.df
$
percent
,
digits
=
2
))
textplot
(
merged.as.df.formatted
[
order
(
merged.as.df
$
runtime
),],
show.rownames
=
F
)
percent
Cpu
=
prettyNum
(
merged.as.df
$
percentCpu
,
digits
=
2
))
textplot
(
merged.as.df.formatted
[
order
(
merged.as.df
$
percentCpu
),],
show.rownames
=
F
)
title
(
"Total runtime for each analysis"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment