Package fork.lib.bio.anno.genomic

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


            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

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

        }
        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

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.