Examples of RnaAlphabet


Examples of bgu.bio.util.alphabet.RnaAlphabet

            sb.append(str1.charAt(i));
          }
          str1 = sb.toString();
        }

        RnaAlphabet alphabet = RnaAlphabet.getInstance();
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < str1.length(); i++) {
          sb.append(alphabet.complement(str1.charAt(i)));
        }

        result.put("command", "OK");
        result.put("result", sb.toString());
View Full Code Here

Examples of bgu.bio.util.alphabet.RnaAlphabet

    if (reverse) {
      string = rev(string);
    }

    RnaAlphabet alphabet = RnaAlphabet.getInstance();
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < string.length(); i++) {
      sb.append(alphabet.complement(string.charAt(i)));
    }

    response.setResponse(sb.toString());

    return response;
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.