Commit ee22fe59 authored by flothoni's avatar flothoni Committed by Mathieu Giraud

segmenter.js; add a loop to tryto define a germline for unexpected clones

link to #3513
parent ad1db0d2
...@@ -823,6 +823,16 @@ Segment.prototype = { ...@@ -823,6 +823,16 @@ Segment.prototype = {
} }
if (c.getSize()>max){ if (c.getSize()>max){
system=c.get('germline') system=c.get('germline')
if (system == "unexpected"){
var loci = [c.getGene("5").substring(0,3), c.getGene("3").substring(0,3) ]
if (loci[0] == loci[1]){
system = loci[0]
} else {
console.log( "This clone have 2 locus for gene 5 and 3. Sytem still unexpected")
console.log( loci )
}
}
max=c.getSize() max=c.getSize()
} }
} }
......
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