|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gersteinlab.act.io.DataFilesReader
org.gersteinlab.act.io.WigFilesReader
public class WigFilesReader
This class defines a reader of data files in WIG format. See
http://genome.ucsc.edu/FAQ/FAQformat.html for definition.
| Field Summary | |
|---|---|
protected double |
doubleValue
Double value of the last interval |
protected long |
intervalStart
Starting position of the last interval, 0-based, included |
protected java.lang.String |
seg
Segment of the last interval |
protected int |
span
The span of each interval |
protected int |
step
The step size of the intervals |
static int |
STEP_FIXED
Fixed step format |
static int |
STEP_VARIABLE
Variable step format |
protected int |
stepType
The step type of intervals |
| Fields inherited from class org.gersteinlab.act.io.DataFilesReader |
|---|
br |
| Constructor Summary | |
|---|---|
WigFilesReader(java.io.Reader rIn)
Create a new reader with source data from an input reader. |
|
| Method Summary | |
|---|---|
Interval |
readInterval()
Read the next interval from the reader. |
| Methods inherited from class org.gersteinlab.act.io.DataFilesReader |
|---|
close, countIntervals, getReader, readIntervals, readIntervals, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int STEP_FIXED
public static final int STEP_VARIABLE
protected java.lang.String seg
protected long intervalStart
protected double doubleValue
protected int step
protected int span
protected int stepType
| Constructor Detail |
|---|
public WigFilesReader(java.io.Reader rIn)
rIn - The input reader| Method Detail |
|---|
public Interval readInterval()
throws java.io.IOException
readInterval in class DataFilesReaderjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||