Package org.moltools.lib.seq.alphabet

Examples of org.moltools.lib.seq.alphabet.Nucleotide


      TagLibrary spacerLib = new SpacerLibrary(0, NucleotideSequence.DNA);

      //parse the spacer string and check that its valid
      spacerSequence = ""; //$NON-NLS-1$
      for (int i = 0; i < spacerString.length(); i++) {
        Nucleotide nt = NucleotideSequenceHandler.getNucleotide(spacerString.
            charAt(i),
            NucleotideSequence.DNA);
        if (nt == null) {
          throw new UnsupportedOperationException("Invalid spacer sequence"); //$NON-NLS-1$
        }
        spacerSequence += nt.getChar();
      }

      //Increase the length of the libs by one to make room for spacer library
      taglibraries = new TagLibrary[libs.length + 1];     
      tagorder = new int[libs.length + 1];
View Full Code Here

TOP

Related Classes of org.moltools.lib.seq.alphabet.Nucleotide

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.