rlabduke / reduce

Reduce - tool for adding and correcting hydrogens in PDB files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reduce

Reduce - tool for adding and correcting hydrogens in PDB files

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.

About

Reduce - tool for adding and correcting hydrogens in PDB files

License:Other


Languages

Language:C++ 86.0%Language:Python 6.8%Language:Perl 2.3%Language:Assembly 1.5%Language:Makefile 0.9%Language:Roff 0.8%Language:C 0.8%Language:CMake 0.7%Language:Shell 0.2%