String protein = r.getString("Protein");
if (protein.matches("(.*)" + sequence + "(.*)")) {
ProteinBean foundsequence = new ProteinBean(protein, r.getMap("Predictions", String.class, String.class));
+ foundsequence.setJobid(r.getString("JobID"));
query.add(foundsequence);
}
}