Giter VIP home page Giter VIP logo

reduce's Introduction

reduce

Reduce - tool for adding and correcting hydrogens in PDB files

Deprecation notice

This version of reduce is being replaced by reduce2, which is integrated into the CCTBX project as described at https://github.com/cctbx/cctbx_project/tree/master/mmtbx/reduce with additional development being done there. The reduce2 program handle native CIF file input and is being maintained with ongoing file-format and other changes. Reduce2 is slower than reduce and there are a few corner-case files where it does not work, but it produces more accurate results in most cases.

Building

Makefile

The original Makefile-based build can be used on Unix-like operating systems. To use it, you run make in the root directory. It will build libraries in the libtbx, toolclasses, and reduce_src directories and place the reduce executable in the reduce_src subdirectory.

Once the code has been installed, run sudo make install to install it in /usr/local/bin and the required files in /usr/local.

CMake

A CMakeLists.txt file has been created to support cross-platform building use CMake. This supports building on Windows in addition to Unix-like platforms.

This approach supports out-of-source builds, where the build is done in a directory other than the source directory, so that build artifacts do not clutter the source tree (and in particular, to avoid clobbering the original Makefile files).

If the source has been checked out in ~/src/reduce then the following is one approach to doing a CMake-based build:

mkdir -p ~/build/reduce
cd ~/build/reduce
cmake ~/src/reduce
make
sudo make install

This will install the executable by default in /usr/local/bin and the required files in /usr/local. As with other CMake projects, the you can set the CMAKE_INSTALL_PREFIX variable and it will put the executable there under the bin/ directory and the HET dictionary in the prefix directory, telling the program where to find it.

Running

Once installed, if /usr/local/bin is on your PATH, reduce can be run using reduce. Use reduce -help for more information about the arguments and behavior of the program.

Installation using package manager

Ueno, M. (github ID eunos-1128) has graciously made reduce available through standard installation channels as described below.

Conda

You can install reduce using conda package manager.

conda install reduce -c bioconda

Homebrew/Linuxbrew

You can also install reduce using homebrew (or linuxbrew).

brew tap brewsci/bio
brew install reduce

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.