GithubHelp home page GithubHelp logo

pameyer / chap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from channotation/chap

0.0 1.0 0.0 25.21 MB

CHAP is a tool for the functional annotation of ion channel structures:

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

License: Other

CMake 2.88% C++ 86.96% R 4.00% Python 4.23% Tcl 1.93%

chap's Introduction

CHAP - The Channel Annotation Package

CHAP is a tool for the functional annotation of ion channel structures written in C++. See the website under www.channotation.org for a full documentation including installation instructions and usage examples. If you have any questions please use the GitHub Issue Tracker.

Prerequisites

Prior to installing CHAP, make sure that you have the following libraries and tools installed:

  1. The CMake tool in version 3.2 or higher. This will typically be available through your system's package manager. For example, on Ubuntu you can install CMake by typing sudo apt-get install cmake. CMake is used to check the availability of libraries and compilers on your system and will ensure that CHAP is installed properly.
  2. A C++ compiler that supports the C++11 standard. A popular choice is the GNU Compiler Collection, which on Ubuntu can be obtained by typing sudo apt-get install gcc.
  3. The Boost C++ libraries, which on Ubuntu can be installed using sudo apt-get install libboost-all-dev. Boost algorithms are used in CHAP to solve some root finding and optimisation problems.
  4. The CBLAS and LAPACKE linear algebra libraries. On Ubuntu, the easiest way to obtain these is by typing sudo apt-get install libblas-dev libatlas-base-dev libopenblas-dev liblapacke-dev. The linear algebra libraries are used in CHAP's spline interpolation.
  5. The libgromacs library of the Gromacs molecular dynamics engine in version 2016 or higher. Comprehensive installation instructions for Gromacs can be found here. Please note that for using Gromacs as a library, the underlying FFTW libray may not be installed automatically, i.e. you need to set -DGMX_BUILD_OWN_FFTW=OFF when running CMake during the Gromacs installation.

CHAP also depends on RapidJSON, but this is included as a header-only library, and on GTest, but this is downloaded and installed automatically by CMake, so you don't need to do anything about either of these (you will however need Internet access when installing CHAP).

Installation

For a minimal install of CHAP create a build directory parallel to the source tree and from there run cmake, make, make check, and make install.

cd chap
mkdir build
cd build
cmake ..
make
make check
sudo make install

CMake will automatically find all dependencies (and inform you of missing ones), make will compile the code (you can use the make -j flag to speed this up on multicore machines), make check runs a suite of unit tests, and make install will place the binary in /usr/local/chap (so you will need sudo rights for this last step). To check if CHAP has been installed properly, you can type

chap -h

which should bring up an online help for using CHAP.

chap's People

Contributors

channotation avatar inniag avatar shanlin-rao avatar

Watchers

 avatar

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.