Package org.moltools.lib.alignment

Examples of org.moltools.lib.alignment.SimpleAlignment


      return null;
    }

    //Adjust the alignment values if seq2 upstream of seq1
    if (la.getFirstStart() > la.getSecondStart()) {
      la = new SimpleAlignment(la.getSecondStart(),la.getSecondEnd(),la.getSecondString(),la.getFirstStart(),la.getFirstEnd(),la.getFirstString());
    }

    boolean overlap = isOverlap(la,seq.length());
    while (overlap) {
      la = getNextIntramolecularAlignment(length);
View Full Code Here


        return null;
      }

      //Adjust the alignment values if seq2 upstream of seq1
      if (la.getFirstStart() > la.getSecondStart()) {
        la = new SimpleAlignment(la.getSecondStart(),la.getSecondEnd(),la.getSecondString(),la.getFirstStart(),la.getFirstEnd(),la.getFirstString());
      }

      //Now check for overlap
      overlap = isOverlap(la, length);
    }
View Full Code Here

    Alignment la = lac.getNextAlignment();
    int length = seq.length();
    if (la == null) {
      return null;
    }
    la = new SimpleAlignment(la.getFirstStart(),la.getFirstEnd(),la.getFirstString(),length-la.getSecondEnd()+1,length-la.getSecondStart()+1,la.getSecondString());
    //Adjust the alignment values if seq2 upstream of seq1
    if (la.getFirstStart() > la.getSecondStart()) {
      la = new SimpleAlignment(la.getSecondStart(),la.getSecondEnd(),la.getSecondString(),la.getFirstStart(),la.getFirstEnd(),la.getFirstString());
    }

    boolean overlap = isOverlap(la,seq.length());
    while (overlap) {
      la = getNextIntramolecularAlignment(length);
View Full Code Here

        return null;
      }
      //la = new SimpleLocalAlignment(la.getFirstStart(),la.getFirstEnd(),la.getFirstString(),length-la.getSecondEnd()+1,length-la.getSecondStart()+1,la.getSecondString());
      //Adjust the alignment values if seq2 upstream of seq1
      if (la.getFirstStart() > la.getSecondStart()) {
        la = new SimpleAlignment(la.getSecondStart(),la.getSecondEnd(),la.getSecondString(),la.getFirstStart(),la.getFirstEnd(),la.getFirstString());
      }

      //Now check for overlap
      overlap = isOverlap(la, length);
    }
View Full Code Here

TOP

Related Classes of org.moltools.lib.alignment.SimpleAlignment

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.