|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.broad.igv.bbfile.BigWigIterator
public class BigWigIterator
File retrieved from BigWig project at Google code on July 26, 2011, revision 36 http://code.google.com/p/bigwig/ This project provides java readers for the UCSC's BigWig and BigBed formats. It was originally developed by Martin Decautis and Jim Robinson for the Integrative Genomics Viewer (http://www.broadinstitute.org/igv). Thanks to Jim Kent and Ann Zweig and from UCSC for their assistance. Modification to work with GenomeView by Thomas Abeel.
Constructor Summary | |
---|---|
BigWigIterator()
Constructor for an empty iterator |
|
BigWigIterator(net.sf.samtools.util.SeekableStream fis,
BPTree chromIDTree,
RPTree chromDataTree,
RPChromosomeRegion selectionRegion,
boolean contained)
Constructor for a BigWig iterator over the specified chromosome region Parameters: fis - file input stream handle chromIDTree - B+ chromosome index tree provides chromosome ID's for chromosome names chromDataTree - R+ chromosome data locations tree selectionRegion - chromosome region for selection of Wig feature extraction consists of: startChromID - ID of start chromosome startBase - starting base position for values endChromID - ID of end chromosome endBase - ending base position for values contained - specifies wig values must be contained by region, if true; else return any intersecting region values |
Method Summary | |
---|---|
net.sf.samtools.util.SeekableStream |
getBBFis()
|
RPTree |
getChromosomeDataTree()
|
BPTree |
getChromosomeIDTree()
|
RPChromosomeRegion |
getSelectionRegion()
|
boolean |
hasNext()
|
boolean |
isContained()
|
WigItem |
next()
Method returns the current Wig item and advances to the next Wig record. |
void |
remove()
|
int |
setSelectionRegion(RPChromosomeRegion selectionRegion,
boolean contained)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BigWigIterator(net.sf.samtools.util.SeekableStream fis, BPTree chromIDTree, RPTree chromDataTree, RPChromosomeRegion selectionRegion, boolean contained)
public BigWigIterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<WigItem>
public WigItem next()
next
in interface java.util.Iterator<WigItem>
public void remove()
remove
in interface java.util.Iterator<WigItem>
public RPChromosomeRegion getSelectionRegion()
public int setSelectionRegion(RPChromosomeRegion selectionRegion, boolean contained)
public boolean isContained()
public net.sf.samtools.util.SeekableStream getBBFis()
public BPTree getChromosomeIDTree()
public RPTree getChromosomeDataTree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |