add flag to write out bootstrap msa from main run #125
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.
It would be extremely useful if raxml-ng could write out bootstrap multiple sequence alignments from tree building runs (e.g.
--all
). Although the--bsmsa
mode allows a user to write out bootstrap alignments, doing subsequent tree building on these alignments loses the fast parallelization native to raxml-ng/libpll. I'd like to run--all
and be able to get a stack of bootstrap trees and alignments I can then use for downstream analyses.I implemented a new flag (
--bs-write-msa
) that causes raxml-ng to call the code block under control ofCommand::bsmsa
, thus writing out the bootstrap replicate alignments after tree creation. The new flag sets a newwrite_bs_msa
boolean I added to the main opts data structure. I added a doc string to the command line argument and an error check to make sure the flag is only invoked if bootstrap replicates are being generated.Not sure if there I should merge into dev or master. (It looked like dev was stale). Let me know if I should change PR branches.
Thanks for great package and for considering PR.