blab / nextflu

Real-time tracking of influenza evolution
http://nextflu.org
GNU Affero General Public License v3.0
88 stars 19 forks source link

switch absolute/HA1 numbering #79

Closed rneher closed 7 years ago

rneher commented 9 years ago

this would really be quite easy: 1) run pipe-line with --ATG 2) write branch mutations as (pos, ancestral, derived) tuples rather than string 3) include signal peptide length in as variable in H3N2.js etc 4) define an offset variable that is either -1 or signal_peptide-1 depending on checkbox 5) subtract this from the mutation position here: https://github.com/blab/nextflu/blob/master/auspice/js/auspice.js#L340 6) add it here https://github.com/blab/nextflu/blob/master/auspice/js/auspice.js#L1115 https://github.com/blab/nextflu/blob/master/auspice/js/auspice.js#L1273

legends would still need fixing.

trvrb commented 7 years ago

Closing in favor of position logic in nextstrain/augur.