Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running MARK02 - Rerun Post-Log-Prob Fix #158

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions workflows/mark02.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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

#####################
#####################
Expand Down Expand Up @@ -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")



Expand Down
5 changes: 2 additions & 3 deletions workflows/tree_inference.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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"

###############################################

Expand Down
Loading