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

Compare genetic distance to geographic distance #20

Closed
trvrb opened this issue Jul 14, 2019 · 0 comments · Fixed by #26
Closed

Compare genetic distance to geographic distance #20

trvrb opened this issue Jul 14, 2019 · 0 comments · Fixed by #26
Assignees

Comments

@trvrb
Copy link
Member

trvrb commented Jul 14, 2019

@cassiawag ---

I'd like to measure whether we see a signal of genetically similar viruses being geographically adjacent. A good way to do this would be to take all the viruses with region = Seattle and do pairwise measurements to compare geographic distance between location (census tract) and genetic distance. You can get location from data/metadata_h3n2_ha.tsv. To measure geographic distance you can get lat/longs for each location from config/lat_longs.tsv. To measure genetic distance you can use aligned_h3n2_genome_2y.fasta.

Please write this as a separate Python script in a new folder analyses/. It should take as inputs --metadata, --alignment and --lat-longs and produce a PNG output via Matplotlib.

This can start as a Jupyter nodebook that is turned into a script once it's working.

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 a pull request may close this issue.

2 participants