code: public static SymbolList toDnaSymbolList(final Sequence sequence) throws IllegalSymbolException {
          checkNotNull(sequence);
          return DNATools.createDNA(sequence.getValue().replaceAll("\\s+", ""));
      }
docs: Convert the specified HML Sequence element into a DNA symbol list.
  
  @param sequence HML Sequence element, must not be null
  @return the specified HML Sequence element converted into a DNA symbol list
  @throws IllegalSymbolException if an illegal symbol is found