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

Plot French Guiana samples by geography #22

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

kimandrews
Copy link
Contributor

@kimandrews kimandrews commented Jan 10, 2025

Description of proposed changes

This PR makes samples that were collected in French Guiana plot on the map within French Guiana, rather than Europe, through the following:

  • Adding new geolocation rules for French Guiana:
    • region = South America
    • country = French Guiana (France)
    • division = French Guiana (France)
  • Adding latitude and longitude coordinates for French Guiana, and using these when exporting the Auspice JSON

Note that changing the country name to French Guiana rather than French Guiana (France) would cause a CyclicGeolocationRulesError as described here.

Closes #21

Related issue(s)

#21
nextstrain/augur#1648

Checklist

  • Checks pass

This adds new geolocation rules so that samples will plot in French Guiana (rather than France, Europe) on the map. To maintain consistency in country names, this also changes samples that originally had `South America/French Guiana/*/*` to be `South America/French Guiana (France)/*/*`.
Lat/longs for French Guiana were not present in the defaults in `augur/data/lat_longs.tsv`, and so they are added here and exported to the Auspice JSON.
Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested out the code but (as per slack) I approve of the direction

@kimandrews kimandrews merged commit 7c12cef into main Jan 13, 2025
5 checks passed
@kimandrews kimandrews deleted the french-guiana-latlong branch January 13, 2025 22:05
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.

French Guiana samples plotting in Europe on the map
4 participants