diff --git a/workflows/mark02.smk b/workflows/mark02.smk index a5c9f02a..970e2f42 100644 --- a/workflows/mark02.smk +++ b/workflows/mark02.smk @@ -61,7 +61,7 @@ CS_seed = 42 # <-- configure cell simulation seed here ##################### # True Tree Parameters tree_types = ["r"] # <-- configure tree type here ["r","s","d"] -tree_seeds = [42]#, 34] # <-- configure tree seed here +tree_seeds = [42, 34] # <-- configure tree seed here ##################### ##################### @@ -242,17 +242,17 @@ rule combined_chain_histogram: sublist = [float(x) for x in sublist] # Create histogram for the sublist with the color and label - ax.hist(sublist,bins='auto', range = (0,1),alpha=0.5,color=colors[color_index],label=labels[i]) + ax.hist(sublist, bins='auto', range = (0,1),alpha=0.5,color=colors[color_index],label=labels[i]) # Set labels and title ax.set_xlabel(f"Similarity: {wildcards.metric}") ax.set_ylabel('Frequency') # Add a legend - ax.legend() + ax.legend(bbox_to_anchor = (1.04, 0.5), loc = "center left", borderaxespad = 0) # save the histogram - fig.savefig(Path(output.combined_chain_histogram)) + fig.savefig(Path(output.combined_chain_histogram), bbox_inches="tight") diff --git a/workflows/tree_inference.smk b/workflows/tree_inference.smk index 918ee7f7..92ff1943 100644 --- a/workflows/tree_inference.smk +++ b/workflows/tree_inference.smk @@ -19,9 +19,8 @@ from pyggdrasil.tree_inference import ( ############################################### ## Relative path from DATADIR to the repo root -#REPODIR = "/cluster/work/bewi/members/gkoehn/repos/PYggdrasil" -REPODIR = ".." -#DATADIR = "/cluster/work/bewi/members/gkoehn/data" +REPODIR = "/cluster/work/bewi/members/gkoehn/repos/PYggdrasil" +DATADIR = "/cluster/work/bewi/members/gkoehn/data" ###############################################