code: public static Set<Alphabet<?>> possibleAlphabets(String string) {
          HashSet<Alphabet<?>> alphabets = new HashSet<>();
          for (Alphabet alphabet : Alphabets.getAll()) {
              if (belongsToAlphabet(alphabet, string))
                  alphabets.add(alphabet);
          }
          return alphabets;
      }
docs: Returns a set of possible alphabets for a given string.
  
  <p>Looks for alphabets registered in {@link com.milaboratory.core.sequence.Alphabets}.</p>
  
  @param string target string (sequence)
  @return set of possible alphabets for a given string