def upload_to_s3(fname):
    upload_script = os.path.join(os.path.dirname(__file__), "s3_multipart_upload.py")
    subprocess.check_call([sys.executable, upload_script, fname, "biodata",
                           "variants/%s" % os.path.basename(fname), "--public"])
dataset/ETHPy150Open chapmanb/cloudbiolinux/utils/prepare_cosmic.py/upload_to_s3/original