code: def getVariantAnnotationSets(self, datasetId):
          
          # TODO this should be displayed per-variant set, not per dataset.
          variantAnnotationSets = []
          dataset = app.backend.getDataRepository().getDataset(datasetId)
          for variantSet in dataset.getVariantSets():
              variantAnnotationSets.extend(
                  variantSet.getVariantAnnotationSets())
          return variantAnnotationSets
docs: Returns the list of ReferenceSets for this server.