phylogenetic: Use inline root sequence #25
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
Explicitly state that the root-sequence.json file is an expected output of the core phylogenetic workflow.This also ensures that the Nextstrain automation ruledeploy_all
will include the root-sequence.json in the upload.Based on feedback from @jameshadfield in
nextstrain/zika#56 (comment)
Looking at the existing dataset files on S3,
the 8 KiB root-sequence.json is pretty negligible when the main
Auspice JSON is only 163 KiB. Nextstrain datasets are limited by the
500MB memory cap in Chrome,¹ so we'd be fine adding the
root sequence inline.
This ensures that our uploads will include the root sequence so that
they don't get out-of-sync with the main Auspice JSON.
¹ nextstrain/auspice#1622
Related issue(s)
Follow up to #21
Similar to nextstrain/zika#56
Checklist