public void setLines(List<String> data) {
    lines.clear();
    sequence = "";
    boolean seqReading = false;
    for (String dataPart: data) {
      String[] linesRead = dataPart.split("\\r?\\n");
      for (String l : linesRead){
        if (seqReading && !l.startsWith("//")) {
          String seqPart = l.trim();
          String s2 = seqPart.replaceAll(" ", "");
          sequence = sequence + s2;
        }
        lines.add(dataPart);
        if (l.startsWith("SQ")) {
          seqReading = true;
        }
        if (l.startsWith("AC")) {
          String id = dataPart.split("   ")[1];
          acNum = id.split(";")[0];
        }
      }
    }
    readDomains();
  }