Package org.moltools.lib.struct

Examples of org.moltools.lib.struct.DefaultNASecStructure


   * the specified sequence.
   * Throws exception if allowPolys is true.*/
  public NASecStructure calculateStructure(NucleotideSequence seq, boolean doTemp) {
    Alignment la = doStrongestIntramolecularLocalAlignment(seq.seqString(), seq.getType());
    if (la == null) return null;
    NASecStructure s = new DefaultNASecStructure(la,seq.length());
    return s;
  }
View Full Code Here


    Alignment la = doStrongestIntramolecularLocalAlignment(seq.seqString(), seq.getType());
    NASecStructure s = null;
    double maxScore = 0;
    for (int i = 0;i<25;i++) {
      if (la == null) return s;
      NASecStructure temp = new DefaultNASecStructure(la, seq.length());
      double score = 0;
      if (temp.getFirstString() != null && temp.getSecondString() != null) {
        score = ssc.getStabilityScore(seq, temp);
      }
      if (i == 0) {
        s = temp;
      }
View Full Code Here

TOP

Related Classes of org.moltools.lib.struct.DefaultNASecStructure

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.