Examples of distanceAcrossContigs()


Examples of org.broadinstitute.gatk.utils.GenomeLoc.distanceAcrossContigs()

            final GenomeLoc previousInterval = intervalList.peekFirst()// peekFirst returns null if interval list is empty (WGS).
            distance = currentLocus.distanceAcrossContigs(previousLocus, getToolkit().getSAMFileHeader()) - 1;
            if (previousInterval != null && !previousInterval.containsP(currentLocus)) {
                intervalList.removeFirst(); // we're done with the previous interval
                final GenomeLoc currentInterval = intervalList.peekFirst();
                distance -= currentInterval.distanceAcrossContigs(previousInterval, getToolkit().getSAMFileHeader()) - 1;
            }
        }

        uncoveredBases += distance;
    }
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.