test_vcf2tile.py 文件源码

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

项目:GenomicsSampleAPIs 作者: Intel-HLS 项目源码 文件源码
def setUpClass(self):
        self.DBURI = "postgresql+psycopg2://@:5432/vcfimport"

        if database_exists(self.DBURI):
            drop_database(self.DBURI)

        create_database(self.DBURI)

        engine = create_engine(self.DBURI)
        models.bind_engine(engine)

        self.assembly = "testAssembly"

        # test files
        with open("test/data/header.vcf", "r") as f:
            self.header = f.read()

        # create the base config
        self.config_path = os.path.abspath(
            "utils/example_configs/vcf_import.config")
        with open(self.config_path, 'r') as readFP:
            self.config = json.load(readFP)
            self.config["dburi"] = self.DBURI
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号