Package picard.illumina.parser.readers

Examples of picard.illumina.parser.readers.FilterFileReader


    /** Wrap a filterFile reader in a closeable iterator and return it*/
    @Override
    protected CloseableIterator<PfData> makeTileIterator(final File iterator) {
        return new CloseableIterator<PfData>() {
            private FilterFileReader reader = new FilterFileReader(iterator);

            public void close() {
                reader = null;
            }

            public boolean hasNext() {
                return reader.hasNext();
            }

            public PfData next() {
                final boolean nextValue = reader.next();
                return new PfData() {
                    public boolean isPf() {
                        return nextValue;
                    }
                };
View Full Code Here


public class MultiTileFilterParser extends MultiTileParser<PfData> {
    private final FilterFileReader reader;

    public MultiTileFilterParser(final TileIndex tileIndex, final List<Integer> requestedTiles, final File filterFile) {
        super(tileIndex, requestedTiles, Collections.singleton(IlluminaDataType.PF));
        reader = new FilterFileReader(filterFile);
    }
View Full Code Here

TOP

Related Classes of picard.illumina.parser.readers.FilterFileReader

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.