Une nouvelle version du portail de gestion des comptes externes sera mise en production lundi 09 août. Elle permettra d'allonger la validité d'un compte externe jusqu'à 3 ans. Pour plus de détails sur cette version consulter : https://doc-si.inria.fr/x/FCeS

Commit c48f5835 authored by Marc Duez's avatar Marc Duez
Browse files

segmenter.js : show unsegmented seuquence

parent 2ba0b27f
...@@ -512,12 +512,14 @@ Sequence.prototype = { ...@@ -512,12 +512,14 @@ Sequence.prototype = {
if (typeof clone.sequence != 'undefined' && clone.sequence != 0) { if (typeof clone.sequence != 'undefined' && clone.sequence != 0) {
//find V, D, J position //find V, D, J position
if (typeof clone.seg != 'undefined'){
var endV = this.pos[clone.seg["5end"]] var endV = this.pos[clone.seg["5end"]]
var startJ = this.pos[clone.seg["3start"]] var startJ = this.pos[clone.seg["3start"]]
if (typeof clone.seg["4start"] != 'undefined' && typeof clone.seg["4end"] != 'undefined') { if (typeof clone.seg["4start"] != 'undefined' && typeof clone.seg["4end"] != 'undefined') {
var startD = this.pos[clone.seg["4start"]] var startD = this.pos[clone.seg["4start"]]
var endD = this.pos[clone.seg["4end"]] var endD = this.pos[clone.seg["4end"]]
} }
}
//V color //V color
var vColor = ""; var vColor = "";
...@@ -533,7 +535,7 @@ Sequence.prototype = { ...@@ -533,7 +535,7 @@ Sequence.prototype = {
//add span VDJ //add span VDJ
if (typeof clone.seg["5end"] != 'undefined') result += "<span class='V' " + vColor + " >" if (typeof clone.seg != 'undefined') result += "<span class='V' " + vColor + " >"
else result += "<span>" else result += "<span>"
for (var i = 0; i < this.seq.length; i++) { for (var i = 0; i < this.seq.length; i++) {
result += this.seq[i] result += this.seq[i]
......
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