|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unc.csbio.data.SequenceBuffer
public class SequenceBuffer
The class for sequence information, including sequence string and the offset
Field Summary | |
---|---|
private int |
length
|
private int |
offset
The the position difference between the start position of sequence and the start position of the reference gene, of the object SequenceBuffer |
private java.lang.String |
raw
The sequence of the object SequenceBuffer |
Constructor Summary | |
---|---|
SequenceBuffer(java.lang.String _raw,
int _offset)
A constructor for object SequenceBuffer |
Method Summary | |
---|---|
java.lang.String |
get(int start,
int end)
Get the sequence for the region [start, end] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String raw
SequenceBuffer
private int offset
SequenceBuffer
private int length
Constructor Detail |
---|
public SequenceBuffer(java.lang.String _raw, int _offset)
SequenceBuffer
_raw
- the sequence_offset
- the position difference between the start position of
sequence and the start position of the reference geneMethod Detail |
---|
public java.lang.String get(int start, int end)
start
- the start position of the region in reference coordinate.end
- the end position of the region in reference coordinate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |