Package fork.lib.bio.anno.genomic.region

Examples of fork.lib.bio.anno.genomic.region.GenomicRegionsBuilder.containsChromosome()


        if(r[2].equalsIgnoreCase(std)){
            String id= r[0];
            double loc= Double.parseDouble(r[3]);
            String chr= r[1].substring(0,r[1].length()-12).toLowerCase();
            if(ind!=0){
                if(gba.containsChromosome(pc)){
                    if(pc.equals(chr)){
                        GenomicRegion gr= new GenomicRegion(pc, (int)pp, (int)loc-1);
                        ptr.put(pid, gr);
                    }else{
                        double cl= gba.getRegionsForChromosome(pc).get(0).high;
View Full Code Here


                        ptr.put(pid, gr);
                    }
                }
            }
            if(i==arr.length-1){
                if(gba.containsChromosome(chr)){
                    double cl= gba.getRegionsForChromosome(chr).get(0).high;
                    GenomicRegion gr= new GenomicRegion(chr, (int)loc, (int)cl-1);
                    ptr.put(id, gr);
                }
            }
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.