org.utgenome.gwt.utgb.client.ribbon
Class Ribbon

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.ribbon.Ribbon

public class Ribbon
extends Object

Ribbon is a coordinate for representing insertions to reference and deletions to reference,

 xOffset:            1 2 3 4 5 6 7 8 9
 normal coordinate:  1 2 3 4 5 6 7 8 9  
                     - - - - - - - - - 
 -cigar: 9M                    
                     
 [insertion]
 xOffset:            1 2 3 4 5 6 7 8 9 10 11
 ribbon coordinate:  1 2 3 - - - - - 4  5  6
                          /         \
                     - - -           -  -  -  
 -insertion(pos:4, length:5)
 -cigar: 3M5I3M
 
 
 
 [deletion] 
 xOffset:            1 2 3 4 5 6  7  8  9 10 11
 ribbon coordinate:  1 2 3 7 8 9 10 11 12 13 14
                     - - - - - -  -  -  -  -  -
                         / \
                         ---
                     3.1 3.2 3.3
 -deletion(pos:4, length:3)
 -cigar: 3M3D7M
 

Author:
leo

Nested Class Summary
static class Ribbon.Crease
          A crease is a point where insertion or deletion occurs.
static class Ribbon.CreaseType
           
 
Constructor Summary
Ribbon()
           
 
Method Summary
 List<Ribbon.Crease> getCreaseInRange(int start, int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ribbon

public Ribbon()
Method Detail

getCreaseInRange

public List<Ribbon.Crease> getCreaseInRange(int start,
                                            int end)


Copyright © 2007-2012 utgenome.org. All Rights Reserved.