ilia-kats / NRPSDesigner

design non-ribosomal peptide synthases from scratch
3 stars 3 forks source link

Overview

This is the NRPSDesigner software, developed by the iGEM Team Heidelberg during iGEM 2013. It is capable of designing a non-ribosomal peptide synthetase from scratch given a desired peptide which needs to be produced.

Directory structure

Django stuff

Because we all LOVE packages (AND LOTS OF THEM), here is the list of stuff you will need to run everything. The Python packages can be installed with pip by running pip install package If you are on Mac OS X or Linux, you need to run this as root: sudo pip install package

Main packages

Django packages

Other stuff that is loaded by some of our python functions:

C++ stuff

Compilation

*ix

For an out-of-tree build, create a directory named 'build'. Chdir into the build directory and run cmake path_to_NRPSDesigner_source This will locate all required libraries and create a Makefile. Run make to compile, make install to install.

MacOSX

On MacOSX, both GCC 4.2 and Clang are available. Although GCC 4.2 is ancient and does not support C++11, Clang by default still links against the GCC C++ standard library. To successfully compile NRPSDesigner, Clang needs to be told to link against its own C++ standard library. This can be achieved by adding -DCMAKE_CXX_FLAGS=-stdlib=libc++ to the CMake command-line or, if using the CMake GUI, adding -stdlib=libc++to CMAKE_CXX_FLAGS. Note that all C++ libraries the NRPSDesigner depends on, i.e. Boost.program_options and the MySQL C++ connector, need to also link against libc++.

Windows

Launch the CMake graphical user interface, select the source and build directories (create a build directory for an out-of-tree build) and click Configure. CMake will now locate all required libraries. If it is unable to find some libraries, you will need to input the paths manually. Run Generate to generate a makefile in the format of your choice (we recommend using MinGW64 from http://sourceforge.net/projects/mingwbuilds/ inside an MSYS environment and use the MSYS Makefile generator). Note that no attempts to compile NRPSDesigner on Windows were made, so you might run into trouble.