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

Add code to produce the cophylogeny plot #1

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

hyanwong
Copy link
Collaborator

@hyanwong hyanwong commented Mar 4, 2023

Requires jeromekelleher/sc2ts#112. Here's the current PDF it produces:

cophylogeny.pdf

Note that the SVG is somewhat more interactive, as it allows samples labels to be revealed on hover

@hyanwong
Copy link
Collaborator Author

hyanwong commented Mar 4, 2023

The "long" plot (for supplementary) needs a bit of minor y-position adjusting, but is not too bad otherwise:

supp_cophylogeny_long.pdf

@hyanwong
Copy link
Collaborator Author

hyanwong commented Mar 5, 2023

This also requires the files upgma-full-md-30-mm-3-2021-06-30-recinfo-il.ts.tsz, upgma-mds-1000-md-30-mm-3-2022-06-30-recinfo-il.ts.tsz and nextstrain_ncov_gisaid_global_all-time_timetree-2023-01-21.nex to be uploaded into the data dir. The nextstrain .nex file is 290K compressed. Is it worth adding that to the GH repo, as it may be difficult to get exactly the same file from the NextStrain website?

@jeromekelleher jeromekelleher merged commit 0f210cf into jeromekelleher:main Mar 6, 2023
@hyanwong hyanwong mentioned this pull request Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants