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);
}
}
- }
- if (searchtype.equals("partial")) {
for (ProteinBean entry : query) {
entry.setSubProt(CreateSubprotein(entry.getSequence(), sequence));
}