* @return how to get an iterator of the underlying data. This is all a track has to support,
* but other more advanced tracks support the query interface
*/
public CloseableIterator<GATKFeature> getIterator() {
try {
return new FeatureToGATKFeatureIterator(genomeLocParser,reader.iterator(),this.getName());
} catch (IOException e) {
throw new UserException.CouldNotReadInputFile(getFile(), "Unable to read from file", e);
}
}