diff --git a/find_exons.py b/find_exons.py index 265ca3b..44dc5ee 100644 --- a/find_exons.py +++ b/find_exons.py @@ -347,7 +347,7 @@ def plot_and_output(all_genes, output_directory, gene_groups): #now write an output file containing names of genes, their length, the sum length of exons and the prozent of exons in the gene length as score output_file = open(os.path.join(output_directory, "genes_exons_correlation.txt"), 'w') - header = ["gene_name", "exons_len_percentage", "gene_length", "exons_sum_length"] + header = ["#gene_name", "exons_len_percentage", "gene_length", "exons_sum_length"] output_file.write('\t'.join(header) + '\n') #write the header for i in range(len(gene_names)): @@ -355,8 +355,8 @@ def plot_and_output(all_genes, output_directory, gene_groups): output_file.close() - logger.info("making a plot") - make_plot(gene_lengths, exons_lengths, gene_names, output_directory, "genes_exons_correlation.png", 'gold') + #logger.info("making a plot") + #make_plot(gene_lengths, exons_lengths, gene_names, output_directory, "genes_exons_correlation.png", 'gold') def main():