nextstrain / auspice.us

http://auspice.us
13 stars 8 forks source link

Direct link to auspice.us with JSON or Newick URL? #5

Closed AngieHinrichs closed 3 years ago

AngieHinrichs commented 4 years ago

Context
I would like to link to auspice.us with a URL of a Newick or JSON file, so that I can share a visualization of a tree without others having to download my tree file and drag it into auspice.us.

Description
auspice.us could define a format for links, e.g.

https://auspice.us/?dataUrl=_url_

where the user can provide a JSON or Newick URL as url

I don't care if it looks anything like "?dataUrl=", any magical incantation will do. :)

Examples

https://auspice.us/?dataUrl=https://hgwdev.gi.ucsc.edu/~angie/example.nwk

Sorry if I've missed an obvious way to do this! Thanks so much for providing augur, auspice and Nextstrain, they are incredibly useful.

trvrb commented 4 years ago

This is a fantastic suggestion @AngieHinrichs. We're looking into how to implement this now.

AngieHinrichs commented 4 years ago

Thanks, looking forward to it!

AngieHinrichs commented 3 years ago

Sounds like this has moved to nextstrain.org PR 216, feel free to close this one. Thanks!

jameshadfield commented 3 years ago

Yup! Closing this as the functionality is now in nextstrain.org -- docs here