Package net.sf.picard.util

Examples of net.sf.picard.util.IntervalList


        String chr_id = "chr1";
        int start = 1;
        int end = 20;
//        int end = 247199724;
        Interval interval = new Interval(chr_id, start, end);
        IntervalList il = new IntervalList(samReader.getFileHeader());
        il.add(interval);
       
        SamLocusIterator sli = new SamLocusIterator(samReader, il, true);

        FileWriter fw = new FileWriter("/data/kimjh/WGS/simulation_test_chr1/seperate_10p/gatk/depth_diff.txt");
        BufferedWriter bw = new BufferedWriter(fw);
View Full Code Here


        this.avgSeqQWindow = avgSeqQWindow;
    }

    public void setDeletionInfo(SAMFileReader samReader, ArrayList overlappedAreaList) {
        Interval interval = new Interval(getChr(), getWindowStart(), getWindowEnd());
        IntervalList il = new IntervalList(samReader.getFileHeader());
        il.add(interval);

        ArrayList locusList = new ArrayList();

        SamLocusIterator sli = new SamLocusIterator(samReader, il, true);
        for (Iterator<SamLocusIterator.LocusInfo> iter = sli.iterator(); iter.hasNext();) {
View Full Code Here

TOP

Related Classes of net.sf.picard.util.IntervalList

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.