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)
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)