-
Notifications
You must be signed in to change notification settings - Fork 129
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
Mugration weights #443
Mugration weights #443
Conversation
…f the parallel implementation that existed in augur traits.
…ous with the latter being default (as it was for vcf, now also for fasta input).
…do in the v2-schema
… missing info by mapping them to 'N'
The thing you changed in the last commit wasn't a typo. I had the weights file formated differently: we generally have to sort out how we deal with csv/tsv parsing. I think having a name in the first column is more natural. but I realize that we have it flipped in the colors file. |
Ah! This makes more sense. I think I'd prefer to have this mirroring of colors.tsv and lat_longs.tsv with weights.tsv. Are you okay with this structure? |
Include an option to set equilibrium frequencies to mugration analysis in
augur traits
. This passes in a--weights
option that specifies a tsv or csv file in the following format:where the first column refers to the metadata field name, the second to the trait and the third to its value. This mirrors the format we use for
colors.tsv
andlat_longs.tsv
.This can be tested with this branch of nCoV: https://github.com/nextstrain/ncov/tree/phylogeo
This needs to wait on merge of #431.