示例#1
0
 def sendCallSetsSearch(self):
     response = self.sendVariantSetsSearch()
     variantSets = protocol.SearchVariantSetsResponse().fromJsonString(
         response.data).variantSets
     request = protocol.SearchCallSetsRequest()
     request.variantSetId = variantSets[0].id
     return self.sendPostRequest('/callsets/search', request)
示例#2
0
 def sendVariantsSearch(self):
     response = self.sendVariantSetsSearch()
     variantSets = protocol.SearchVariantSetsResponse().fromJsonString(
         response.data).variantSets
     request = protocol.SearchVariantsRequest()
     request.variantSetId = variantSets[0].id
     request.referenceName = "1"
     request.start = 0
     request.end = 1
     return self.sendPostRequest('/variants/search', request)