org.utgenome.gwt.utgb.client.bio
Class CIGAR

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.bio.CIGAR
All Implemented Interfaces:
Serializable

public class CIGAR
extends Object
implements Serializable

CIGAR string (in SAM format) management utility

Author:
leo
See Also:
Serialized Form

Nested Class Summary
static class CIGAR.Element
           
static class CIGAR.Type
           
 
Constructor Summary
CIGAR()
          Creates an empty CIGAR
CIGAR(String cigarString)
           
 
Method Summary
 void add(int length, CIGAR.Type type)
           
 List<CIGAR.Element> element()
           
 CIGAR.Element get(int index)
           
 int size()
          Return the number of CIGAR elements
 String toCIGARString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CIGAR

public CIGAR()
Creates an empty CIGAR


CIGAR

public CIGAR(String cigarString)
      throws UTGBClientException
Throws:
UTGBClientException
Method Detail

add

public void add(int length,
                CIGAR.Type type)

size

public int size()
Return the number of CIGAR elements

Returns:

get

public CIGAR.Element get(int index)

element

public List<CIGAR.Element> element()

toCIGARString

public String toCIGARString()

toString

public String toString()
Overrides:
toString in class Object


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