Examples of writeToFile()


Examples of fork.lib.bio.anno.genomic.region.SplicedRegionsLocator.writeToFile()

            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

Examples of fork.lib.bio.anno.genomic.region.SplicedRegionsLocator.writeToFile()

   
    GenomicRegionsBuilder peaks= new BedReader(f).getGenomicRegionsBuilder();
    SplicedBedReader sr= new SplicedBedReader(anno);
   
    SplicedRegionsLocator ll= new SplicedRegionsLocator(peaks, sr);
    ll.writeToFile(out);
   
   
}
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.region.SplicedRegionsLocator.writeToFile()

            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

Examples of fork.lib.bio.anno.genomic.region.SplicedRegionsLocator.writeToFile()

   
    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

Examples of fork.lib.bio.data.microarray.ArrayProbeMapping.writeToFile()


            File od= new File(d+"/idmap");
            od.mkdirs();
            File out= new File(od+"/id_"+FileName.getBaseName(f)+".txt");
            ap.writeToFile(out);
        }
    }
}
   
}
View Full Code Here

Examples of fork.lib.bio.data.microarraychip.ChipArrayParser.writeToFile()

    for( int i=0; i<afs.length; i++ ){
        File af= afs[i];
        ChipArrayParser cp = new ChipArrayParser(af, pf, 0, 2);

        File out= new File(od+"/"+FileName.getBaseName(af)+".wig");
        cp.writeToFile(out, FileName.getBaseName(af));
    }
}
   
}
View Full Code Here

Examples of fork.lib.bio.data.microarraychip.ChipArrayParser.writeToFile()


            ChipArrayParser cp = new ChipArrayParser(idreg, idval);

            File out= new File(od+"/"+FileName.getBaseName(af)+".wig");
            cp.writeToFile(out, FileName.getBaseName(af));
        }
    }
}
   
   
View Full Code Here

Examples of fork.lib.bio.data.microarraychip.ChipArrayParser.writeToFile()

    ChipArrayParser cp = new ChipArrayParser(af, pf);
   
   
    File out= new File(d+"/"+FileName.getBaseName(af)+".wig");
   
    cp.writeToFile(out, FileName.getBaseName(af));
   
}


View Full Code Here

Examples of fork.lib.bio.seq.align.MotifToLandscape.writeToFile()

        FastaReader fr= new FastaReader(new File(dir+"/anno/genomes/sacCer1/sacCer1.fa"));
        MotifToLandscape ml= new MotifToLandscape(fr, mot);
       
        System.out.println(nm+"  ");
        File of= new File(od+"/"+nm+".wig");
        ml.writeToFile(of, nm);
        fr.close();
       
           
        /*
        String s= "AGATTATTTAATAATGGGAC";
View Full Code Here

Examples of net.sf.joafip.heapfile.record.entity.HeapRecord.writeToFile()

    // byte[] data = heapRecord.getDataAssociated();
    final byte[] data = new byte[10];
    heapRecord.setDataAssociated(data);
    System.arraycopy("0123456789".getBytes(), 0, data, 0, 10);
    heapRecord.setValueIsChangedValueToSave();
    heapRecord.writeToFile();
    readAndCheck(heapRecord, data);

    /*
     * free record
     */
 
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.