コード例 #1
0
 @Override
 public void run(String token, SearchDomainsParams inputData, String jobId, String outRef)
     throws Exception {
   DomainSearchTask dst = new DomainSearchTask(tempDir, storage);
   DomainAnnotation res = dst.runDomainSearch(token, inputData.getDmsRef(), inputData.getGenome());
   saveResult(inputData.getOutWorkspace(), inputData.getOutResultId(), token, res, inputData);
 }
コード例 #2
0
 private void saveResult(
     String ws, String id, String token, DomainAnnotation annRes, SearchDomainsParams inputData)
     throws Exception {
   saveAnnotation(
       storage, token, ws, id, annRes, inputData.getGenome(), inputData, "search_domains");
 }