-
Notifications
You must be signed in to change notification settings - Fork 128
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
tree: RAxML bootstrapping #1127
Conversation
…tree builder The default parameters actually used are in DEFAULT_ARGS and the parameters actually used may be overridden by tree_builder_args. More confusing than helpful to include these.
…provided by the user Don't warn when the default --substitution-model is left unchanged. Related-to: <https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000002953001>
Instead of using variants like IQTREE or IQtree. IQ-TREE is the form used by the project itself.
Otherwise it's swallowed whole, never to be seen again. This doesn't print the exception's stack trace in order to keep error messaging more readable for users, but we could consider printing that too when under "debug mode" (e.g. AUGUR_DEBUG=1) or something. Related-to: <https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000002953001>
Use the output file which includes bootstrap support values when RAxML's bootstrapping is enabled by user-provided --tree-builder-args. This also avoids errors caused when trying to clean up RAxML output files that aren't present when bootstrapping is enabled, such as "RAxML_parsimonyTree" and "RAxML_result". Related-to: <https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000002953001>
Codecov ReportBase: 67.98% // Head: 67.94% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1127 +/- ##
==========================================
- Coverage 67.98% 67.94% -0.05%
==========================================
Files 57 57
Lines 6656 6663 +7
Branches 1637 1640 +3
==========================================
+ Hits 4525 4527 +2
- Misses 1825 1830 +5
Partials 306 306
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't test, but looks good (with a changelog entry).
Description of proposed changes
Resolves several inter-related issues in
augur tree --method raxml
when a user-provided--tree-builder-args
enables bootstrapping.Related issue(s)
https://support.nextstrain.org/agent/nextstrain/nextstrain/tickets/details/668036000002953001
Testing
Manually tested various invocations of
augur tree
exercising the changes. (The existingaugur tree
tests seem focused on basic functionality.)I also modified zika-tutorial with this patch to reproduce the problem reported via support:
and tested it completes successfully now with these changes by running:
It does.
Checklist