diff --git a/PRO-seq/PRO-seq.snakefile b/PRO-seq/PRO-seq.snakefile index a83e7a1adc6027bebe67aa2efcacc18e940e5553..4d8b565a27cd3f381a4ea90cbb9cb4f1d698741e 100644 --- a/PRO-seq/PRO-seq.snakefile +++ b/PRO-seq/PRO-seq.snakefile @@ -670,7 +670,7 @@ def plot_scatterplot(outfile, data, data_groups, group2colour): plt.scatter( data[data_groups==i, 0], data[data_groups==i, 1], - color=colour, lw=2, label=group) + color=colour, lw=2, label=texscape(group)) plt.xlabel("PC1") plt.ylabel("PC2") plt.legend(loc="best", shadow=False, scatterpoints=1) @@ -1262,11 +1262,10 @@ rule make_MA_plot: group2colour=group2colour, lfc_range = params.lfc_range, fold_type = "log2FoldChange", - title=texscape( - "MA-plot for %s, %s_%s" % ( - wildcards.contrast, - wildcards.orientation, - wildcards.biotype))) + title="MA-plot for %s, %s_%s" % ( + wildcards.contrast, + wildcards.orientation, + wildcards.biotype)) ##################