Examples of ReadView


Examples of org.broadinstitute.gatk.engine.datasources.providers.ReadView

     * @return the result type T, the product of all the reduce calls
     */
    public T traverse(DuplicateWalker<M, T> walker,
                      ReadShardDataProvider dataProvider,
                      T sum) {
        PushbackIterator<SAMRecord> iter = new PushbackIterator<SAMRecord>(new ReadView(dataProvider).iterator());

        /**
         * while we still have more reads:
         * ok, here's the idea.  We get all the reads that start at the same position in the genome
         * We then split the list of reads into sublists of reads:
View Full Code Here

Examples of org.broadinstitute.gatk.engine.datasources.providers.ReadView

        logger.debug(String.format("TraverseReadsPairs.traverse Covered dataset is %s", dataProvider));

        if( !dataProvider.hasReads() )
            throw new IllegalArgumentException("Unable to traverse reads; no read data is available.");

        ReadView reads = new ReadView(dataProvider);
        List<SAMRecord> pairs = new ArrayList<SAMRecord>();

        boolean done = walker.isDone();
        for(SAMRecord read: reads) {
            if ( done ) break;
View Full Code Here

Examples of org.broadinstitute.gatk.engine.datasources.providers.ReadView

    }


    private Iterator<MapData> makeDataIterator(final ReadShardDataProvider dataProvider) {
        return new Iterator<MapData> ()  {
            final ReadView reads = new ReadView(dataProvider);
            final ReadReferenceView reference = new ReadReferenceView(dataProvider);
            final ReadBasedReferenceOrderedView rodView = new ReadBasedReferenceOrderedView(dataProvider);
            final Iterator<SAMRecord> readIterator = reads.iterator();

            @Override public boolean hasNext() { return ! engine.exceedsRuntimeLimit() && readIterator.hasNext(); }

            @Override
            public MapData next() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.