Hello!
I am successfully using Nextstrain to analyze Sars-Cov-2.
However, when I loaded the genome obtained from a division whose coordinates were not previously specified, specifying the coordinates in the defaults/lat_longs.tsv and this division in the color_ordering.tsv, I received the following error:
Traceback (most recent call last):
File “./scripts/modify-tree-according-to-exposure.py”, line 149, in
update_latlongs (input_json [“meta”] [“geo_resolutions”], sampling_values, latlongs)
File “./scripts/modify-tree-according-to-exposure.py”, line 94, in update_latlongs
trait = [x for x in geo_resolutions if x [“key”] == SAMPLING_TRAIT] [0]
IndexError: list index out of range
The following warnings were also indicated for all division (even those that were already in the file), an example for division ‘Omsk Region’:
WARNING: division-> Omsk Region did not have an associated lat / long value (matching performed in lower case). Auspice won’t be able to display this location.
The analysis was performed, but I could not find the display of divisions on the map. Nevertheless, the new division was highlighted in a separate color on the phylogenetic tree. I am using for visualization https://auspice.us./
Please help me solve this problem.
Thanks!