if (assemblyIDs.size() < 1) { System.out.println("Got no assemblies!"); assemblyMatch.append("''"); }
  private String getAssemblyMatch(ArrayList assemblyIDs) {    StringBuffer assemblyMatch = new StringBuffer();    assemblyMatch.append("in (");    Iterator iter = assemblyIDs.iterator();    boolean first = true;    while (iter.hasNext()) {      String val = (String)iter.next();      if (first) {        first = false;      } else {        assemblyMatch.append(", ");      }      assemblyMatch.append("'");      assemblyMatch.append(val);      assemblyMatch.append("'");    }    assemblyMatch.append(")");    return assemblyMatch.toString();  }