All Projects → veg → Hyphy

veg / Hyphy

Licence: other
HyPhy: Hypothesis testing using Phylogenies

Labels

Projects that are alternatives of or similar to Hyphy

Covid19 scenarios
Models of COVID-19 outbreak trajectories and hospital demand
Stars: ✭ 1,355 (+1010.66%)
Mutual labels:  science
Jortsort
the official website for jortSorting
Stars: ✭ 112 (-8.2%)
Mutual labels:  science
Freud
Powerful, efficient particle trajectory analysis in scientific Python.
Stars: ✭ 118 (-3.28%)
Mutual labels:  science
Ember Osf Web
Ember front-end for the Open Science Framework
Stars: ✭ 102 (-16.39%)
Mutual labels:  science
Science Based Games List
Science-based games - a collaborative list
Stars: ✭ 1,461 (+1097.54%)
Mutual labels:  science
Ugene
UGENE is free open-source cross-platform bioinformatics software
Stars: ✭ 112 (-8.2%)
Mutual labels:  science
Django Publications
A Django app for managing scientific publications.
Stars: ✭ 95 (-22.13%)
Mutual labels:  science
Citizen Science
🔬 A repository of resources related to citizen, community-based and/or non-institutional science
Stars: ✭ 121 (-0.82%)
Mutual labels:  science
Symengine.py
Python wrappers for SymEngine
Stars: ✭ 110 (-9.84%)
Mutual labels:  science
Periodic Table
Periodic elements data
Stars: ✭ 119 (-2.46%)
Mutual labels:  science
Openmotor
An open-source internal ballistics simulator for rocket motor experimenters
Stars: ✭ 107 (-12.3%)
Mutual labels:  science
Sage
Mirror of the Sage source tree -- please do not submit PRs here -- everything must be submitted via https://trac.sagemath.org/
Stars: ✭ 1,656 (+1257.38%)
Mutual labels:  science
Ngless
NGLess: NGS with less work
Stars: ✭ 115 (-5.74%)
Mutual labels:  science
Genomics
A collection of scripts and notes related to genomics and bioinformatics
Stars: ✭ 101 (-17.21%)
Mutual labels:  science
Scihub2pdf
Downloads pdfs via a DOI number, article title or a bibtex file, using the database of libgen(sci-hub) , arxiv
Stars: ✭ 120 (-1.64%)
Mutual labels:  science
Pint
Operate and manipulate physical quantities in Python
Stars: ✭ 1,332 (+991.8%)
Mutual labels:  science
Tardis
TARDIS - Temperature And Radiative Diffusion In Supernovae
Stars: ✭ 112 (-8.2%)
Mutual labels:  science
Reading
A list of computer-science readings I recommend
Stars: ✭ 1,919 (+1472.95%)
Mutual labels:  science
Phd
A list of resources on how/why to do a PhD
Stars: ✭ 120 (-1.64%)
Mutual labels:  science
Py6s
A Python interface to the 6S Radiative Transfer Model
Stars: ✭ 117 (-4.1%)
Mutual labels:  science

Build Status

HyPhy - Hypothesis testing using Phylogenies

HyPhy is an open-source software package for the analysis of genetic sequences using techniques in phylogenetics, molecular evolution, and machine learning. It features a complete graphical user interface (GUI) and a rich scripting language for limitless customization of analyses. Additionally, HyPhy features support for parallel computing environments (via message passing interface (MPI)) and it can be compiled as a shared library and called from other programming environments such as Python and R. HyPhy is the computational backbone powering datamonkey.org. Additional information is available at hyphy.org.

Quick Start

Install

conda install hyphy

Run with Command Line Arguments

hyphy <method_name> --alignment <path_to_alignment_file> <additional_method_specific_arguments>

  • <method_name> is the name of the analysis you wish to run (can be: absrel, bgm, busted, fade, fel, fubar, gard, meme, relax or slac)
  • <path_to_alignment_file> is the relative or absolute path to a fasta, nexus or phylib file containing an alignment and tree
  • A list of the available <additional_method_specific_arguments> can be seen by running hyphy <method_name> --help

or

Run in Interactive Mode

hyphy -i

Building from Source

Requirements

  • cmake >= 3.12
  • gcc >= 4.9
  • libcurl
  • libpthread
  • openmp (can be installed on mac via brew install libomp)

Download

You can download a specific release here or clone this repo with

git clone https://github.com/veg/hyphy.git

Change your directory to the downloaded/cloned directory

cd hyphy

Build

cmake .

make install

Additional Options for Building from Source

Build Systems

If you prefer to use other build systems, such as Xcode, configure using the -G switch

cmake -G Xcode .

CMake supports a number of build system generators, feel free to peruse these and use them if you wish.

If you are on an OS X platform, you can specify which OS X SDK to use

cmake -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.9.sdk/ .

If building on a heterogeneous cluster with some nodes that do not support auto-vectorization

cmake -DNOAVX=ON ..

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

  • MP or hyphy - build a HyPhy executable (This used to be "HYPHYMP" but is now just "hyphy") using pthreads to do multiprocessing
  • MPI - build a HyPhy executable (HYPHYMPI) using MPI to do multiprocessing
  • HYPHYMPI - build a HyPhy executable (HYPHYMPI) using openMPI
  • LIB - build a HyPhy library (libhyphy_mp) using pthreads to do multiprocessing
  • GTEST - build HyPhy's gtest testing executable (HYPHYGTEST)

Example (MPI build of hyphy using openMPI)

Ensure that you have openmpi installed and available on your path. You can check if this is the case after running cmake . you should see something similar to this in your output

-- Found MPI_C: /opt/scyld/openmpi/1.6.3/gnu/lib/libmpi.so;/usr/lib64/libibverbs.so;/usr/lib64/libdat.so;/usr/lib64/librt.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libtorque.so;/usr/lib64/libm.so;/usr/lib64/libnuma.so;/usr/lib64/librt.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so

-- Found MPI_CXX: /opt/scyld/openmpi/1.6.3/gnu/lib/libmpi_cxx.so;/opt/scyld/openmpi/1.6.3/gnu/lib/libmpi.so;/usr/lib64/libibverbs.so;/usr/lib64/libdat.so;/usr/lib64/librt.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so;/usr/lib64/libtorque.so;/usr/lib64/libm.so;/usr/lib64/libnuma.so;/usr/lib64/librt.so;/usr/lib64/libnsl.so;/usr/lib64/libutil.so;/usr/lib64/libm.so

Then run

make HYPHYMPI

And then run make install to install the software

make install

  • hyphy will be installed at /location/of/choice/bin
  • libhyphy_mp.(so/dylib/dll) will be installed at /location/of/choice/lib
  • HyPhy's standard library of batchfiles will go into /location/of/choice/lib/hyphy

Testing

Use make test after running cmake ..

Benchmarks for CMake Tests

Benchmarks, using Github Actions, can be found at http://hyphy.org/bench

Executable Location

By default, HyPhy installs into /usr/local but it can be installed on any location of your system by providing an installation prefix

cmake -DCMAKE_INSTALL_PREFIX:PATH=/location/of/choice

For example, this configuration will install hyphy at /opt/hyphy

mkdir -p /opt/hyphy

cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/hyphy .

Building Documentation

make docs
cd docs
python3 -m http.server
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].