def bin_contigs_concoct(self): if not __CONCOCT_IS_AVAILABLE__: self.run.warning( 'The CONCOCT module is not available. Skipping the unsupervised binning\ with CONCOCT.') return class Args: pass args = Args() args.profile_db = self.profile_db_path args.contigs_db = self.contigs_db_path args.debug = self.debug c = concoct.CONCOCT(args) c.cluster() c.store_clusters_in_db()
def bin_contigs_concoct(self): self.run.info_single("Automatic binning with CONCOCT...", nl_before=1, nl_after=1, mc="blue") if not __CONCOCT_IS_AVAILABLE__: self.run.warning('The CONCOCT module is not available. Skipping the unsupervised binning\ with CONCOCT.') return class Args: pass args = Args() args.profile_db = self.merged_profile_db_path args.contigs_db = self.contigs_db_path args.debug = self.debug c = concoct.CONCOCT(args) c.cluster() c.store_clusters_in_db()