Package picard.sam.markduplicates.util

Examples of picard.sam.markduplicates.util.ReadEndsForMarkDuplicatesCodec


    private void buildSortedReadEndLists() {
        final int maxInMemory = (int) ((Runtime.getRuntime().maxMemory() * SORTING_COLLECTION_SIZE_RATIO) / ReadEndsForMarkDuplicates.SIZE_OF);
        log.info("Will retain up to " + maxInMemory + " data points before spilling to disk.");

        this.pairSort = SortingCollection.newInstance(ReadEndsForMarkDuplicates.class,
                new ReadEndsForMarkDuplicatesCodec(),
                new ReadEndsMDComparator(),
                maxInMemory,
                TMP_DIR);

        this.fragSort = SortingCollection.newInstance(ReadEndsForMarkDuplicates.class,
                new ReadEndsForMarkDuplicatesCodec(),
                new ReadEndsMDComparator(),
                maxInMemory,
                TMP_DIR);

        final SamHeaderAndIterator headerAndIterator = openInputs();
View Full Code Here

TOP

Related Classes of picard.sam.markduplicates.util.ReadEndsForMarkDuplicatesCodec

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.