Update build script for changes to NCBI ranks #69
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.
This PR updates the
build_database.shscript with support for the newdomainandrealmNCBI ranks. NCBI also changed the rank of the Viruses node tono_rank. Internally, we are mapping this back todomainto make sure that our LCA computations further downstream keep working.In order to make sure that the desktop app still works, I have also updated the static database construction action. This one now generates two static databases: 1) a copy of the current database (which still contains the superkingdom rank and is compatible with the desktop app) and 2) an up-to-date database which is labeled as v2.