Dear all,
I'm getting the following error, when trying to run SNaQ on my server:
'Warning: ERROR found on SNaQ for run 1 seed 1234: ErrorException("cycle with only 2 nodes: parallel edges")'
I'm parallelizing my runs through the Distributed application, and this is happening with all runs, after some time of analysis. Decreasing the number of runs (from 10 to 5) did not solved my problem.
This is my script:
nruns = 5
using Distributed
addprocs(5)
@everywhere using PhyloNetworks
astralfile = joinpath("/home/dzoo/julia-phylonet-tropidurus/bestnet_h1.tre");
net1 = readTopology(astralfile)
using DataFrames, CSV
tropidurusCF = readTableCF("/home/dzoo/julia-phylonet-tropidurus/tableCF_genetrees_internaltrim_30daset_tropidurus.csv")
net2 = snaq!(net1, tropidurusCF, hmax=2, filename="net2_trops", seed=1234, runs=nruns)
Thanks a lot!
Best regards,
Matheus.