def load_data(self, data_folder):
    content = glob.glob(os.path.join(data_folder, 'ExAC.r*.vcf'))
    if (len(content) != 1):
        raise uploader.ResourceError(('Expecting one single vcf file, got: %s' % repr(content)))
    input_file = content.pop()
    self.logger.info(("Load data from file '%s'" % input_file))
    return load_data(self.__class__.name, input_file)
def load_data(self, data_folder):
    content = glob.glob(os.path.join(data_folder, 'ExAC.r*.vcf'))
    if (len(content) != 1):
        raise uploader.ResourceError(('Expecting one single vcf file, got: %s' % repr(content)))
    input_file = content.pop()
    self.logger.info(("Load data from file '%s'" % input_file))
    return load_data(self.__class__.name, input_file)