Skip to content

Commit

Permalink
new colorscheme for qc report
Browse files Browse the repository at this point in the history
  • Loading branch information
Adetunji committed Jul 29, 2022
1 parent 2580a61 commit 0b059a6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
Binary file added docs/images/new-color-scale_20220729.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion scripts/evaluation-statistics.pl
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@
}
#color names
#my %color = ( "-2" => "#FF0000", "-1" => "#FF8C00", "0" => "#FFFF00", "1" => "#ADFF2F", "2" => "#008000" ); #red #orangered #yellow #greenyellow #green
my %color = ( "-2" => "#FF0000", "-1" => "#FF8C00", "0" => "#FFFF00", "1" => "#00FFFF", "2" => "#0066FF" ); #colorblind #red #orangered #yellow #aqua #blue
#my %color = ( "-2" => "#FF0000", "-1" => "#FF8C00", "0" => "#FFFF00", "1" => "#00FFFF", "2" => "#0066FF" ); #colorblind #red #orangered #yellow #aqua #blue
my %color = ( "-2" => "#C53440", "-1" => "#E28B51", "0" => "#CBBC6B", "1" => "#97BEBF", "2" => "#A77393" ); #colorblind #pink-red #orange #yellow #cyan #magenta-pink

my $OverallQuality = "POOR"; #($totalscore/$count);
my $color = $color{-2}; my $score = -2;
Expand Down
20 changes: 10 additions & 10 deletions scripts/seaseq_overall.header
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@
<div class="legend">
<table class='legend'>
<tr style='border-color: #163861;'><th><font color='#163861'>LEGEND</font></th></tr>
<tr style='border-color: #0066FF;'><td bgcolor='#0066FF'>EXCELLENT</td></tr>
<tr style='border-color: #00FFFF;'><td bgcolor='#00FFFF'>GOOD</td></tr>
<tr style='border-color: #FFFF00;'><td bgcolor='#FFFF00'>AVERAGE</td></tr>
<tr style='border-color: #FF8C00;'><td bgcolor='#FF8C00'>BELOW-AVERAGE</td></tr>
<tr style='border-color: #FF0000;'><td bgcolor='#FF0000'>POOR</td></tr>
<tr style='border-color: #A77393;'><td bgcolor='#A77393'>EXCELLENT</td></tr>
<tr style='border-color: #97BEBF;'><td bgcolor='#97BEBF'>GOOD</td></tr>
<tr style='border-color: #CBBC6B;'><td bgcolor='#CBBC6B'>AVERAGE</td></tr>
<tr style='border-color: #E28B51;'><td bgcolor='#E28B51'>BELOW-AVERAGE</td></tr>
<tr style='border-color: #C53440;'><td bgcolor='#C53440'>POOR</td></tr>
</table>
</div>
</head>
Expand Down Expand Up @@ -232,11 +232,11 @@
<div class="legend">
<table class='legend'>
<tr style='border-color: #163861;'><th><font color='#163861'>LEGEND</font></th></tr>
<tr style='border-color: #0066FF;'><td bgcolor='#0066FF'>EXCELLENT</td></tr>
<tr style='border-color: #00FFFF;'><td bgcolor='#00FFFF'>GOOD</td></tr>
<tr style='border-color: #FFFF00;'><td bgcolor='#FFFF00'>AVERAGE</td></tr>
<tr style='border-color: #FF8C00;'><td bgcolor='#FF8C00'>BELOW-AVERAGE</td></tr>
<tr style='border-color: #FF0000;'><td bgcolor='#FF0000'>POOR</td></tr>
<tr style='border-color: #A77393;'><td bgcolor='#A77393'>EXCELLENT</td></tr>
<tr style='border-color: #97BEBF;'><td bgcolor='#97BEBF'>GOOD</td></tr>
<tr style='border-color: #CBBC6B;'><td bgcolor='#CBBC6B'>AVERAGE</td></tr>
<tr style='border-color: #E28B51;'><td bgcolor='#E28B51'>BELOW-AVERAGE</td></tr>
<tr style='border-color: #C53440;'><td bgcolor='#C53440'>POOR</td></tr>
</table>
</div>
</head>
Expand Down
2 changes: 1 addition & 1 deletion workflows/tasks/seaseq_util.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ task concatstats {
#color scheme
color = {
-2 : "#FF0000", -1 : "#FF8C00", 0 : "#FFFF00", 1 : "#00FFFF", 2 : "#0066FF"
-2 : "#C53440", -1 : "#E28B51", 0 : "#CBBC6B", 1 : "#97BEBF", 2 : "#A77393"
}
#merged statistics
Expand Down

0 comments on commit 0b059a6

Please sign in to comment.