org.utgenome.format.fasta
Class FASTADatabase.NSeq
java.lang.Object
org.utgenome.format.fasta.FASTADatabase.NSeq
- Enclosing class:
- FASTADatabase
public static class FASTADatabase.NSeq
- extends Object
A holder for retrieving compressed genome sequence
- Author:
- leo
FASTADatabase.NSeq
public FASTADatabase.NSeq()
FASTADatabase.NSeq
public FASTADatabase.NSeq(int start,
int end,
byte[] sequence)
toString
public String toString()
- Overrides:
toString
in class Object
setStart
public void setStart(int start)
setEnd
public void setEnd(int end)
getStart
public int getStart()
getEnd
public int getEnd()
getSubSequence
public String getSubSequence(int bufStart,
int bufEnd)
- extract sub sequence (0-origin)
- Parameters:
bufStart
- bufEnd
-
- Returns:
getLength
public int getLength()
getSequence
public byte[] getSequence()
setSequence
public void setSequence(byte[] sequence)
throws IOException
- Throws:
IOException
Copyright © 2007-2012 utgenome.org. All Rights Reserved.