示例#1
0
    def __init__(self, dataset):
        self.dataset = dataset

        folder_path = PathResolver.output_path_for(self.MAPPINGS_FOLDER)
        PathResolver.assure_path_exists(folder_path)

        db_path = PathResolver.output_path_for(self.MAPPINGS_FOLDER,
                                               self.DB_FOLDER)
        PathResolver.assure_path_exists(db_path)
示例#2
0
    def perform(self):
        PathResolver.assure_path_exists(self._db_folder_path())

        all_vs_all_path = PathResolver.output_path_for(
            PathResolver.ALL_VS_ALL_FOLDER)
        PathResolver.assure_path_exists(all_vs_all_path)

        one_vs_all_path = PathResolver.output_path_for(
            PathResolver.ONE_VS_ALL_FOLDER)
        PathResolver.assure_path_exists(one_vs_all_path)

        self._make_databases()
        self._perform_blasts()
        self._make_one_vs_all_files()