public String toStringHtml(int width, int maxHeight) {
		StringBuffer sb = new StringBuffer();
		sb.append("<table border=0>\n\t</tr>\n");
		for (int pos = 0; pos < pwm.size(); pos++) {
			// Sequence conservation
			double seqConserv = seqConserv(pos);

			// Calculate all base sizes and sort by size
			ArrayList<BaseSize> bases = new ArrayList<BaseSize>();
			for (char base : Pwm.BASES) {
				double p = baseFrecuency(base, pos);
				double size = seqConserv * p;

				BaseSize baseSize = new BaseSize(base, size);
				bases.add(baseSize);
			}

			// Sort by size (biggest first)
			Collections.sort(bases, Collections.reverseOrder());

			// Show
			sb.append("\t\t<td valign=bottom>\n\t\t\t<center>\n");
			for (BaseSize baseSize : bases) {
				int height = (int) (maxHeight * baseSize.size);
				sb.append("\t\t\t<img border=0 src=\"" + baseSize.base + ".png\" width=" + width + " height=" + height + "\"><br>\n");
			}
			sb.append("\t\t\t" + pos + "<br>\n\t\t\t</center>\n");
			sb.append("\t\t</td>\n");
		}
		sb.append("\t</tr>\n</table>\n");
		return sb.toString();
	}