Skip to content

Trouble with options --max_reticulations and --brlen #86

@max-hill

Description

@max-hill

Thank you for writing and sharing such a great program!

I am using NetRAX to analyze some viral datasets (~10 taxa, ~150kbp), but I have had some difficulty getting the program to run with certain values of the options --max_reticulations and --brlen. Hopefully the errors I'm having are just user error, but I've gotten stuck so I thought I would reach out and ask.

When I run NetRAX with the following command, the program runs correctly, and returns a network with 6 reticulations:

mpiexec ./netrax --msa ../../../analysis/netrax/experiment-max1/dataset.fasta --model ../../../analysis/netrax/experiment-max1/partition.txt --output ../../../analysis/netrax/experiment-max1/netrax-output-linked-max10-reticulations.txt --average_displayed_tree_variant --start_network ../../../analysis/netrax/experiment-max1/experiment-max1.treefile --max_reticulations 10 --seed 42 --brlen linked

But when I reduce the number of reticulations to a number less than 6, the software runs for a little while and then terminates with a runtime error while searching for an arc removal move. For example, the following command, in which I have reduced the number of reticulations from 10 to 1, produces such an error (see log1.txt):

mpiexec ./netrax --msa ../../../analysis/netrax/experiment-max1/dataset.fasta --model ../../../analysis/netrax/experiment-max1/partition.txt --output ../../../analysis/netrax/experiment-max1/netrax-output-linked-max1-reticulation.txt --average_displayed_tree_variant --start_network ../../../analysis/netrax/experiment-max1/experiment-max1.treefile --max_reticulations 1 --seed 42 --brlen linked

Similarly, when I try running the original command using the unlinked branch lengths option, the program experience a seg fault. For example:

~/virus-project/scripts/NetRAX/bin$ mpiexec ./netrax --msa ../../../analysis/netrax/experiment-max1/dataset.fasta --model ../../../analysis/netrax/experiment-max1/partition.txt --output ../../../analysis/netrax/experiment-max1/netrax-output-unlinked-max10-reticulations.txt --average_displayed_tree_variant --start_network ../../../analysis/netrax/experiment-max1/experiment-max1.treefile --max_reticulations 10 --seed 42 --brlen unlinked
optimizing model, reticulation probs, and branch lengths (normal mode)...
BIC score after model optimization: 522531.061
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpiexec noticed that process rank 0 with PID 0 on node mutalisk exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------

Do you have any insight about what might be going on here?

Thanks again,
Max

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions