.getStructureSummaryFields();
Collection<PDBResponseSummary> filteredResponse = new HashSet<PDBResponseSummary>();
HashSet<String> errors = new HashSet<String>();
+ // try
+ // {
+ // PDBDocField fiterField = PDBRestClient
+ // .getPDBDocFieldByCode(fieldToFilterBy);
+ // if (!wantedFields.contains(fiterField))
+ // {
+ // wantedFields.add(fiterField);
+ // }
+ // } catch (Exception e)
+ // {
+ // e.printStackTrace();
+ // }
+
for (SequenceI seq : selectedSequences)
{
PDBRestRequest pdbRequest = new PDBRestRequest();
{
cmb_filterOption.addItem(new FilterOption("Best Quality",
PDBDocField.OVERALL_QUALITY.getCode(), VIEWS_FILTER));
- cmb_filterOption.addItem(new FilterOption("Best UniProt Coverage",
+ cmb_filterOption.addItem(new FilterOption("Most UniProt Coverage",
PDBDocField.UNIPROT_COVERAGE.getCode(), VIEWS_FILTER));
- cmb_filterOption.addItem(new FilterOption("Highest Resolution",
+ cmb_filterOption.addItem(new FilterOption("Best Resolution",
PDBDocField.RESOLUTION.getCode(), VIEWS_FILTER));
- cmb_filterOption.addItem(new FilterOption("Highest Protein Chain",
+ cmb_filterOption.addItem(new FilterOption("Most Protein Chain",
PDBDocField.PROTEIN_CHAIN_COUNT.getCode(), VIEWS_FILTER));
- cmb_filterOption.addItem(new FilterOption("Highest Bound Molecules",
+ cmb_filterOption.addItem(new FilterOption("Most Bound Molecules",
PDBDocField.BOUND_MOLECULE_COUNT.getCode(), VIEWS_FILTER));
- cmb_filterOption.addItem(new FilterOption("Highest Polymer Residues",
+ cmb_filterOption.addItem(new FilterOption("Most Polymer Residues",
PDBDocField.POLYMER_RESIDUE_COUNT.getCode(), VIEWS_FILTER));
}
cmb_filterOption.addItem(new FilterOption("Enter PDB Id", "-",