Package org.broadinstitute.gatk.engine.refdata.utils

Examples of org.broadinstitute.gatk.engine.refdata.utils.FeatureToGATKFeatureIterator


     * @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);
        }
    }
View Full Code Here


        }
    }

    public CloseableIterator<GATKFeature> query(GenomeLoc interval) throws IOException {
        CloseableTribbleIterator<Feature> iter = reader.query(interval.getContig(),interval.getStart(),interval.getStop());
        return new FeatureToGATKFeatureIterator(genomeLocParser, iter, this.getName());
    }
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.refdata.utils.FeatureToGATKFeatureIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.