You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've noticed a strange behaviour of mashtree when running with replicates and I don't know if it's actually intended or a bug.
When running mashtree_bootstrap.pl with --reps, and the --outtree option for mashtree, the saved tree does not have bootstrap values in it. The whole process will still print the final tree with bootstrap to standard output, so it does produce it, but to save it to a specific file it requires redirection.
As you can see from the commands below, the file produced with --outtree output/mashtree_NJ.nwk has no bootstrap values, while the one extracted from standard output does:
Is this an intentional feature or an unreported bug?
Considering that --outtree is an option of mashtree but not of mashtree_bootstrap.pl:
Does each mashtree iteration save the output tree as the file passed to --outtree (which should lead to overwrite of the previous one)?
Does mashtree_bootstrap.pl have no built-in option to redirect just the final output tree to a file?
This behaviour does not compromise by any means the functionality of the tool, but it may lead to waste of execution time for data loss, on automated processes.
Thanks for the help!
The text was updated successfully, but these errors were encountered:
Hello, I've noticed a strange behaviour of
mashtree
when running with replicates and I don't know if it's actually intended or a bug.When running
mashtree_bootstrap.pl
with--reps
, and the--outtree
option formashtree
, the saved tree does not have bootstrap values in it. The whole process will still print the final tree with bootstrap to standard output, so it does produce it, but to save it to a specific file it requires redirection.Here's my command:
$ mashtree_bootstrap.pl --numcpus 50 --reps 1000 --file-of-files lists/input_list_fq.txt --outmatrix output/mashtree_distance.tsv --tempdir tmp -- --mindepth 0 --outtree output/mashtree_NJ.nwk > output/mashtree_execution.err
To get the final tree with bootstrap, I retrieved it from the standard output that I saved to a file:
$ tail -n 1 output/mashtree_execution.err > output/mashtree_NJ_with_bootstrap.nwk
As you can see from the commands below, the file produced with
--outtree output/mashtree_NJ.nwk
has no bootstrap values, while the one extracted from standard output does:Is this an intentional feature or an unreported bug?
Considering that
--outtree
is an option ofmashtree
but not ofmashtree_bootstrap.pl
:mashtree
iteration save the output tree as the file passed to--outtree
(which should lead to overwrite of the previous one)?mashtree_bootstrap.pl
have no built-in option to redirect just the final output tree to a file?This behaviour does not compromise by any means the functionality of the tool, but it may lead to waste of execution time for data loss, on automated processes.
Thanks for the help!
The text was updated successfully, but these errors were encountered: