def gen_gene_consistency_plots(self): """ generate and save the gene consistency plots for each gene.""" if not self.gene_coverage_consistency_dict_initiated: self.init_gene_coverage_consistency_information() gene_ids = self.gene_level_coverage_stats_dict_of_dataframes['mean_coverage'].index num_genes, counter = len(gene_ids), 1 progress.new('Plotting gene consistency information') progress.update('...') for gene_id in gene_ids: if num_genes > 100 and counter % 100 == 0: self.progress.update('%d of %d genes...' % (counter, num_genes)) p = MCGPlots(self, gene_id, run=run, progress=progress) p.plot() progress.end()