raxml-ng icon indicating copy to clipboard operation
raxml-ng copied to clipboard

--nofiles option only prints params but not tree/s to terminal

Open eaton-lab opened this issue 2 years ago • 1 comments

Hi Team,

The raxml-ng docs describes the --nofiles action as do not create any output files, print results to the terminal only

However, the results printed to the terminal seem to be only the model parameters, as usual, but not any additional information that is normally written to files, such as the trees. Would it be possible to have this option also print the contents of .bestTree to the terminal? Or to have some option to do this?

In terms of a use case for this, I suspect that when I'm parallelizing hundreds of small raxml runs at the same time it is likely being slowed by I/O limits from writing so many tiny tmp files simultaneously. This could be alleviated somewhat by capturing the trees from STDOUT.

Thanks

eaton-lab avatar Apr 28 '22 18:04 eaton-lab

Hello,

I guess what you need is --nofiles interim option:

NOTE: You can suppress generation of all intermediate files (excl. checkpoints) with the --nofiles interim switch. Typically, the overhead of writing the intermediate files in negligible, but under certain conditions (lots of small trees, many coarse-parallel searches) disabling it can accelerate inference by a few percent.

amkozlov avatar Apr 28 '22 22:04 amkozlov