public class TabixReader extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TabixReader.Iterator |
| Modifier and Type | Field and Description |
|---|---|
net.sf.samtools.util.BlockCompressedInputStream |
blockCompressedInputStream |
String |
filename |
HashMap<String,Integer> |
mChr2tid |
| Constructor and Description |
|---|
TabixReader(String filename)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
TabixReader.Iterator |
query(int internalChromosomeID,
int beginPosition,
int endPosition) |
TabixReader.Iterator |
query(String queryString) |
void |
readIndex(File file)
Read the Tabix index from a file
|
void |
readIndex(String fileName)
Read the Tabix index from the default file.
|
static int |
readInt(InputStream is) |
String |
readLine()
Read one line from the data file.
|
static String |
readLine(InputStream is) |
static long |
readLong(InputStream is) |
public String filename
public net.sf.samtools.util.BlockCompressedInputStream blockCompressedInputStream
public TabixReader(String filename) throws IOException
filename - File name of the data fileIOExceptionpublic static int readInt(InputStream is) throws IOException
IOExceptionpublic static long readLong(InputStream is) throws IOException
IOExceptionpublic static String readLine(InputStream is) throws IOException
IOExceptionpublic void readIndex(File file) throws IOException
file - File pointerIOExceptionpublic void readIndex(String fileName) throws IOException
IOExceptionpublic String readLine() throws IOException
IOExceptionpublic TabixReader.Iterator query(int internalChromosomeID, int beginPosition, int endPosition)
public TabixReader.Iterator query(String queryString)
Copyright © 2017. All rights reserved.