Examples of writeToFile()


Examples of data.human.test.trsc.ScoreMergeAgainstRNA.writeToFile()

       
        ScoreMergeAgainstRNA ss= new ScoreMergeAgainstRNA(gb, lbf, lbr);
        ss.writeToFile(outf);
       
        ss= new ScoreMergeAgainstRNA(gb, lbr, lbf);
        ss.writeToFile(outr);
       
    }
   
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedExporter.writeToFile()

        }
        protected String column4(GenomicRegion gr){
            return ((Object[])gr.attr)[1].toString();
        }
    };
    be.writeToFile(out);
}
   
   

View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedExporter.writeToFile()

            Object[] os= (Object[])gr.attr;
            return (Double)os[1]+"\t"+ (Double)os[2];
        }
    };
    be.param().ifExpanded= true;
    be.writeToFile(out);
}



public static void main(String[] args) throws Exception {
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedExporter.writeToFile()

        }
    }
    BedExporterParam bep= new BedExporterParam();
    bep.ifExpanded=true;
    BedExporter be= new BedExporter(gbout, bep);
    be.writeToFile(out);
}
   
   
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedExporter.writeToFile()

        }
        protected double f(double v){
            return (double)Math.round(v*1000)/1000;
        }
    };
    be.writeToFile(out);
}


protected double score(ArrayList<Region> bufs, GenomicRegion gr) throws RegionException{
    return Landscape2DBuffer.getArea(bufs, gr) / (gr.getRange()+1) ;
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.writeToFile()

    }
   
   
    BedGraphExporter be =new BedGraphExporter(lb);
    be.param().tit= FileName.getBaseName(out);
    be.writeToFile(out);
}
   
   
}
View Full Code Here

Examples of fork.lib.bio.anno.genomic.BedGraphExporter.writeToFile()

    Distribution dnz= lb.getDistributionNonZero();
    double nf= dnz.sum()/ 100000000;
    new LandscapeTransformer(lb).divideBy(nf);
    BedGraphExporter be= new BedGraphExporter(lb);
    be.param().tit= tit;
    be.writeToFile(f);
}
   
   
   
   
View Full Code Here

Examples of fork.lib.bio.anno.genomic.LandscapeComparatorBuffer.writeToFile()

            public double newValue(double v, double refv) {
                return new Double( (double)Math.round( (v- refv) * 1000)/1000  );
            }
        };
    String tag= FileName.getBaseName(f);
    lc.writeToFile(out, "diff"+tag);
}


public static void main(String[] args) throws Exception { //debug
    File dir= Dirs.getFile("dir");
View Full Code Here

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

        GenomicRegionsLocator gl= new GenomicRegionsLocator(
                new BedReader(f).getGenomicRegionsBuilder(),
                new BedReader(rf).getGenomicRegionsBuilder()
            );
        File out= new File(od+"/location_"+tt+".bed");
        gl.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
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.