Hi there,

I need a program that can calculate phylogenetic networks. This program must be executable from the command line as I want to implement it into pipelines via python scripting.

Looking at the SplitsTrees documentation, it seems to be the best fit to my requirements. However, I can't for the life of me get the command line functionality to work properly.

Executing the 'SplitsTree' bash file and providing the '-g' flag works fine. Providing a '-c' flag, and with a path to a file containing:

begin SplitsTree;

IMPORT FILE=/path/to/nex_file/some_nexfile.nex;

end;

Works great at reading in a nexus file.

Alternatively, 'EXECUTE FILE' will allow me to run SplitsTrees default methods pipeline on the .nex file.

However, I cannot for the life of me work out how to get any other method to be run on the .nex data (e.g. 'GapDist', and then to close out of the SplitsTree instance, saving the new data.

Does anyone have any experience on what format would get this job done?

Google (and their documentation) seem to be woefully lacking in any examples.

Kind regards,

Ben

More Benjamin Hume's questions See All
Similar questions and discussions