Nous avons procédé ce jeudi matin 08 avril 2021 à une MAJ de sécurité urgente. Nous sommes passé de la version 13.9.3 à la version 13.9.5 les releases notes correspondantes sont ici:
https://about.gitlab.com/releases/2021/03/17/security-release-gitlab-13-9-4-released/
https://about.gitlab.com/releases/2021/03/31/security-release-gitlab-13-10-1-released/

Commit e8c7966c authored by marc duez's avatar marc duez Committed by Mathieu Giraud

aligner.js : enable qualityString

parent 78830ef5
......@@ -27,7 +27,7 @@ LAYERS = {
'title': 'fastq_quality',
'text': function (s,c) { return s.qualityString(); },
'className': "seq_layer_quality",
'enabled': true
'enabled': false
},
'V':
......
......@@ -454,27 +454,30 @@ Sequence.prototype = {
var block = document.createElement("span");
block.style.width = width+"px";
block.className = "seq_quality_block";
var q = this.quality[k].charCodeAt(0)-33;
if (this.quality[k] == -1){
block.title = "quality : xxx";
block.style.background = "grey";
}
if (q == 0){
block.title = "quality : 0";
block.style.background = "white";
}
else{
block.title = "quality : '"+ this.quality[k] + "' ("+q+"/"+max_quality+")";
//block.style.background = d3.interpolateTurbo( 1 - 0.6*((q)/max_quality));
//block.style.background = d3.interpolateSinebow( 0.4*((q)/max_quality) );
//block.style.background = "linear-gradient(" + d3.interpolateTurbo( 1 - 0.6*((q)/max_quality)) +","+
// d3.interpolateTurbo( 1 - 0.6*((q+2*max_quality)/max_quality/3)) +","+
// d3.interpolateTurbo( 1 - 0.6*((q+2*max_quality)/max_quality/3)) +","+
// d3.interpolateTurbo( 1 - 0.6) +")";
block.style.position = "relative";
block.style.top = Math.floor((h-((q*h)/max_quality))) + "px";
block.style.height = 3 + "px";
}else{
var q = this.quality[k].charCodeAt(0)-33;
if (q == 0){
block.title = "quality : 0";
block.style.background = "white";
}
else{
block.title = "quality : '"+ this.quality[k] + "' ("+q+"/"+max_quality+")";
block.style.background = d3.interpolateTurbo( 1 - 0.6*((q)/max_quality));
//block.style.background = d3.interpolateSinebow( 0.4*((q)/max_quality) );
//block.style.background = "linear-gradient(" + d3.interpolateTurbo( 1 - 0.6*((q)/max_quality)) +","+
// d3.interpolateTurbo( 1 - 0.6*((q+2*max_quality)/max_quality/3)) +","+
// d3.interpolateTurbo( 1 - 0.6*((q+2*max_quality)/max_quality/3)) +","+
// d3.interpolateTurbo( 1 - 0.6) +")";
block.style.position = "relative";
block.style.top = Math.floor((h-((q*h)/max_quality))) + "px";
block.style.height = 3 + "px";
}
}
result.appendChild(block);
width = 0;
......
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