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

Examples of fork.lib.bio.anno.genomic.region.SplicedRegionsLocator


    File out= new File(d+"/locate_"+FileName.getBaseName(anno)+".bed");
   
    GenomicRegionsBuilder peaks= new BedReader(f).getGenomicRegionsBuilder();
    SplicedBedReader sr= new SplicedBedReader(anno);
   
    SplicedRegionsLocator ll= new SplicedRegionsLocator(peaks, sr);
    ll.writeToFile(out);
   
   
}
View Full Code Here


        if(FileName.getExt(f).equals("bed")){
            GenomicRegionsBuilder peaks= new BedReader(f).getGenomicRegionsBuilder();
            SplicedBedReader sr= new SplicedBedReader(anno);

            File od= new File(d+"/locate/"+ FileName.getBaseName(anno)+"/"+FileName.getBaseName(f));
            SplicedRegionsLocator ll= new SplicedRegionsLocator(peaks, sr);
            ll.writeToDir(od, "locate");
           
            File out= new File(od+".bed");
            ll.writeToFile(out);
        }
    }
   
   
   
View Full Code Here

    File out= new File(d+"/locate_"+FileName.getBaseName(anno)+".bed");
   
    GenomicRegionsBuilder peaks= new BedReader(f).getGenomicRegionsBuilder();
    SplicedBedReader sr= new SplicedBedReader(anno);
   
    SplicedRegionsLocator ll= new SplicedRegionsLocator(peaks, sr);
    ll.writeToFile(out);
   
   
}
View Full Code Here

            GenomicRegionsBuilder peaks= new BedReader(f).getGenomicRegionsBuilder();
            SplicedBedReader sr= new SplicedBedReader(anno);

            File od= new File(d+"/locate/"+ FileName.getBaseName(anno));
            File odt= new File(od+"/"+FileName.getBaseName(f));
            SplicedRegionsLocator ll= new SplicedRegionsLocator(peaks, sr);
            ll.writeToDir(odt, "locate");
            ll.writeToFile(new File(od+"/locate_"+f.getName()));
           
        }
    }
   
   
View Full Code Here

        gr.setValue(Double.parseDouble(r.get(3)));
        gb.add(gr);
    }
    gb.sortAll();
   
    SplicedRegionsLocator sl= new SplicedRegionsLocator(gb, new SplicedBedReader(anno));
   
    File od= new File(d+"/locate");
    File out= new File(d+"/"+FileName.getBaseName(f)+"_locate.bed");
    sl.writeToFile(out);
    sl.writeToDir(od, FileName.getBaseName(f));
   
   
   
   
   
View Full Code Here

TOP

Related Classes of fork.lib.bio.anno.genomic.region.SplicedRegionsLocator

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.