Installation - mjsull/HapFlow GitHub Wiki

Binaries

Windows, OSX and GNU/Linux executables are available from the HapFlow website. If these do not work on your computer please let us know. HapFlow can also be run as a python application.

Windows

pysam does not currently work on Windows, the Windows version of HapFlow can be used for visualisation only. We recommend using OSX or Linux to build the flow file. A command-line option is provided to allow flow files to be created remotely.

OSX

If you are using OSX Mountain Lion or later you will need to change your security settings to be able to run HapFlow. To do this go to System Preferences > Security and privacy > "General" Tab and then select Allow applications downloaded from anywhere. Once you run HapFlow this may be reverted to your preferred setting. HapFlow will also need to be changed to an executable file to run. To do this open terminal and then type "chmod +x " - then drag the downloaded HapFlow executable into the window (ensure there is a space after +x) or type the path to the HapFlow binary and press enter. You shoud now be able to run HapFlow by double-clicking on the exectuable.

Linux

HapFlow may needed to changed to an executable file to run. To do this in Ubuntu right-click on the downloaded file and then click "Properties". Select "Allow executing file as program." HapFlow should now run by double-clicking on the exectuable. Alternatively go to the console and type "sudo chmod +x " and then type the full path to the HapFlow binary.

Running from source

Ensure pysam version 0.8.1 and Tkinter are installed. If you wish to create SVG images of HapFlow canvassvg must also be installed. Both pysam and canvassvg are pip install-able. Then download HapFlow.py and run as a python application.