コード例 #1
0
 @RequestMapping(value = "variants", method = RequestMethod.POST)
 @ResponseBody
 public List<Variant> getVariants(@RequestBody BrowseRequest request) throws IOException {
   return vcfManager.readVcf(request);
 }
コード例 #2
0
 @RequestMapping(value = "reference", method = RequestMethod.GET)
 @ResponseBody
 public String getReference() throws IOException {
   return vcfManager.readReference();
 }