Coder Social home page Coder Social logo

nicholas-nvs / hyphy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from veg/hyphy

0.0 2.0 0.0 52.51 MB

HyPhy: Hypothesis testing using Phylogenies

Home Page: http://www.hyphy.org

License: Other

CMake 0.09% C 21.50% C++ 46.23% Shell 1.52% Makefile 0.02% Python 0.80% HyPhy 29.63% NSIS 0.02% Objective-C 0.01% Rebol 0.01% R 0.17%

hyphy's Introduction

HyPhy - Hypothesis testing using Phylogenies

Installation

HyPhy now uses CMake for its build system. To install, make sure you have CMake installed, then configure the project from the source directory using cmake . By default, CMake produces Makefiles (I think), so if you prefer other build systems, such as Xcode, configure using the -G switch, e.g. cmake -G Xcode . CMake has a number of build system generators, feel free to peruse these and use them if you wish.

One should also be aware, HyPhy requires development libraries for libcurl, its requirements, and libpthread. Additionally, libcurl requires development libraries for crypto++ and openssl (or gnutls, if your packages are so configured). On Ubuntu, these are libcurl-dev, libcrypto++-dev, and libssl-dev.

By default, HyPhy installs into /usr/local, but can be made to install anywhere by passing -DINSTALL_PREFIX=/wherever/you/want to cmake during the configuration, e.g. cmake -DINSTALL_PREFIX=/opt/hyphy ..

Occasionally, you may have to specify which OSX SDK you are using. e.g. cmake -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.9.sdk/ ..

If you're on a UNIX-compatible system, and you're comfortable with GNU make, then just make away with one of the following targets:

  • MAC - build a Mac Carbon application
  • HYPHYGTK - HYPHY with GTK
  • SP - build a HyPhy executable (HYPHYSP) without multiprocessing
  • MP2 - build a HyPhy executable (HYPHYMP) using pthreads to do multiprocessing
  • MPI - build a HyPhy executable (HYPHYMPI) using MPI to do multiprocessing
  • LIB - build a HyPhy library (libhyphy_mp) using pthreads to do multiprocessing
  • GTEST - build HyPhy's gtest testing executable (HYPHYGTEST)

A subsequent make install should put everything where they belong:

  • HYPHYMP(I) goes into /installation/prefix/bin
  • libhyphy_mp.(so/dylib/dll) goes into /installation/prefix/lib
  • HyPhy's standard library of batchfiles goes into /installation/prefix/lib/hyphy

HYPHYGTEST isn't installed normally, as it serves no utility outside of testing. To test HyPhy, build the GTEST target and run ./HYPHYGTEST from the source directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.