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

Examples of fork.lib.bio.anno.genomic.region.DirectionalGenomicRegion.attribute()


    GenomicRegionsBuilder gbout= new GenomicRegionsBuilder();
   
    Iterator<GenomicRegion> it= gb.iterator();
    while(it.hasNext()){
        DirectionalGenomicRegion gr= (DirectionalGenomicRegion)it.next();
        String[] ss= ((BedAttribute)gr.attribute()).getOtherFields().get(0).split("/");
        if(ss.length>0){
            boolean ifas= false;
            for( int i=0; i<ss.length; i++ ){
                String s= ss[i];
                if(gr.isOnForwardStrand()){
View Full Code Here


                        break;
                    }
                }
            }
           
            ((BedAttribute)gr.attribute()).setFieldOther(null);
            if(ifas){
                gr.setValue(-1);
                gbout.add(gr);
            }else{
                gr.setValue(0);
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.