shendurelab / LACHESIS

The LACHESIS software, as described in Nature Biotechnology (http://dx.doi.org/10.1038/nbt.2727)
Other
76 stars 33 forks source link

Segmentation fault while running lachesis on sample data #13

Open ghuryejay opened 8 years ago

ghuryejay commented 8 years ago

I built Lachesis with boost 1.54 and samtools 0.1.19 and the build was successful. After that, I ran Lachesis on the test data using test_case.ini. It is giving me an error. It is as follows:

Wed Jun 8 13:59:48 2016: prim_minimum_spanning_tree (iteration #0, previous trunk_size = 0) terminate called after throwing an instance of 'boost::exception_detail::clone_implboost::exception_detail::error_info_injector<boost::negative_edge what(): The graph may not contain an edge with negative weight. Aborted (core dumped)

Any help about resolving this is appreciated. Thanks!

raj76 commented 7 years ago

I had the same problem. The source tree contains .o files in the include/gtools and include/markov subdirs under src. I deleted them before running make and that helped.