fraenkel-lab / OmicsIntegrator

This repository is the working directory for the Garnet-Forest bundle of python scripts for analyzing diverse forms of 'omic' data in a network context.
http://fraenkel.mit.edu/omicsintegrator
BSD 2-Clause "Simplified" License
31 stars 21 forks source link

Forest reproducibility with seed #8

Closed agitter closed 8 years ago

agitter commented 8 years ago

Running Forest can unexpectedly produce different results on different hardware, even when a seed for the pseudo-random number generator is specified and msgsteiner is run with a single thread. At this time, the root cause seems to be:

@jpgulliver has a branch with a potential fix (c92f721fc7bdabcd124c5d15b79114d2bc15d22c) but we need to test it further before creating a pull request. The change simply sorts the msgsteiner input file so that the order is deterministic and has Forest sort the output when writing files for Cytoscape.

agitter commented 8 years ago

The tests pass on additional hardware so we will prepare a pull request soon. This will also partially address issue #1 by introducing a test framework for Forest.

agitter commented 8 years ago

Pull request #9 fixes this issue