private EnrichmentEngineResponseDto computeEnrichment(EnrichmentEngineRequestDto request) throws ApplicationException, NoRelatedGenesInfoException { if (request == null) { return null; } if (request.getNodes().size() == 0) { throw new NoRelatedGenesInfoException(); } return mania.computeEnrichment(request); }