Collection<PhyloTree> matches = null;
PhyloTreeService phyloTreeService = getSearchService().getPhyloTreeService();
try {
matches = phyloTreeService.findTreesByNCBINodes(searchTerm);
}
catch ( NumberFormatException e ) {
addMessage(request, "Malformed NCBI identifier '" + searchTerm );
LOGGER.error("Couldn't parse NCBI identifier: "+e.getMessage());
}