org.utgenome.format.sam
Class SAMReadIterator
java.lang.Object
org.utgenome.format.sam.SAMReadIterator
- All Implemented Interfaces:
- Iterator<SAMRead>
public class SAMReadIterator
- extends Object
- implements Iterator<SAMRead>
Iterator for SAM entries
- Author:
- leo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAMReadIterator
public SAMReadIterator(File bamFile,
String chr)
SAMReadIterator
public SAMReadIterator(File bamFile,
String chr,
int start,
int end)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<SAMRead>
next
public SAMRead next()
- Specified by:
next
in interface Iterator<SAMRead>
remove
public void remove()
- Specified by:
remove
in interface Iterator<SAMRead>
getIteratorOnChr
public static Iterator<SAMRead> getIteratorOnChr(File bamFile,
String chr)
getOverlappingIterator
public static Iterator<SAMRead> getOverlappingIterator(File bamFile,
ChrLoc loc)
Copyright © 2007-2012 utgenome.org. All Rights Reserved.