Package fork.lib.base.file.io.txt

Examples of fork.lib.base.file.io.txt.MarkReader.nextEntry()


   
   
    MarkReader mr= new MarkReader(f, "variableStep");
    MarkEntry en;
    LandscapeBuilder lb= new LandscapeBuilder();
    while((en=mr.nextEntry())!=null){
        String chr= en.tit.split("chrom=")[1].split("\t")[0];
       
        if(!chr.equals("chrM")){
            ArrayList<String> rs= en.chunk;
            int ps= 1;
View Full Code Here


   
   
protected void init() throws Exception{
    MarkReader mr= new MarkReader(file,">");
    MarkEntry en;
    while((en=mr.nextEntry())!=null){
        sets.add( new GeneSet(en.getChunk(), en.getTitle()) );
    }
    mr.close();
}
   
View Full Code Here

   
   
    MarkReader ff= new MarkReader(f,">");
    MarkEntry en;
   
    while( (en=ff.nextEntry())!=null ){
        String nm= en.getTitle().split("_TRH1")[0];
        NamedTable<Character,Integer,Double> tab= new NamedTable<>();
        ArrayList<String> ch= en.getChunk();
        for(int i=1; i<ch.size() ; i++){
            String[] ss= ch.get(i).split("\t");
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.