Package org.moltools.apps.probemaker.seq.impl

Examples of org.moltools.apps.probemaker.seq.impl.AbstractComplexTarget


      try {
        //If target supports Polymorphism objects,
        //go through each polymorphism in the target
        Target t = (Target) targets.getSequenceAt(i);       
        if (t instanceof AbstractComplexTarget) {
          AbstractComplexTarget at = (AbstractComplexTarget) t;
          Variant[] vars = at.getVariants();
          Polymorphism[] polys = at.getPolys();
          for (int p = 0, var = 0;p<polys.length;p++) {
            int varSize = polys[p].getVariants().length;
            if (varSize < 4) {
              at.setVariant(vars[var]);
              break;
            }
            var+=vars[var].getVariantGroup().length;
          }
        }
View Full Code Here

TOP

Related Classes of org.moltools.apps.probemaker.seq.impl.AbstractComplexTarget

Copyright © 2018 www.massapicom. 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.