test.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:gatk-cwl-generator 作者: wtsi-hgi 项目源码 文件源码
def example_data():
    if not os.path.isfile("cwl-example-data/chr22_cwl_test.cram"):
        from six.moves.urllib.request import urlopen
        import tarfile
        print("Downloading and extracting cwl-example-data")
        tgz = urlopen("https://cwl-example-data.cog.sanger.ac.uk/chr22_cwl_test.tgz")
        tar = tarfile.open(fileobj=tgz, mode="r|gz")
        tar.extractall(path="cwl-example-data")
        tar.close()
        tgz.close()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号