code: private static String getPDBString(boolean web, char c1, char c2, boolean similar, String m, String sm, String dm,
  			String qg) {
  		if (c1 == c2)
  			return web ? "<span class=\"m\">" + m + "</span>" : m;
  		else if (similar)
  			return web ? "<span class=\"sm\">" + sm + "</span>" : sm;
  		else if (c1 == '-' || c2 == '-')
  			return web ? "<span class=\"dm\">" + dm + "</span>" : dm;
  		else
  			return web ? "<span class=\"qg\">" + qg + "</span>" : qg;
  	}
docs: helper method for getPDBCharacter and getPDBConservation