Skip to main content

This package provides a set of tools for modeling protein knots, lassos and other.

Project description

Requirements

  • cmake 3.8 or later**
  • make
  • CUDA toolkit - nvidia-toolkit (nvcc CUDA compiler)
  • gcc 4.8 or later
  • boost 1.50-1.65
  • Python 3 (3.4 or later)
  • Cython 0.26 or later - use "pip3 install Cython" to install
  • Xcode 9.4 or OLDER (on Mac OS X - Nvidia does not support newer Xcode)

** You can download binary distributions of cmake from: https://cmake.org/download/ Just unzip and add the cmake-XXX/bin to the PATH, for example:

export PATH=~/cmake-3.13.0-Linux-x86_64/bin:$PATH

Build and test C++ code

  1. Setup the build directory:

mkdir build && cd build && cmake .. 2. Build the binaries: make 3. Run the tests* make test

  • The build may be done on a computer without a CUDA supported GPU provided that the nvidia-toolkit is installed. The knotnet tests, however, will require a CUDA supported GPU to pass.

  • if tests fail you can look into build/Testing/Temporary for details.

Generate distribution

After building in the build directory run:

make package

This will produce 3 distribution packages:

  • ZIP package
  • DEB package for Debian and Ubuntu
  • RPM package for RedHat, Scientific Linux and CentOS

Generate Python Package for PIP

  1. In the main folder run:

python3 setup.py bdist_wheel 2. The output should be a wheel (whl) package located in: dist 3. If you want to clean and rebuild the package delete the directory rm -rf _skbuild

Documentation:

See topoly\graph.py and topoly\doc_example.py

Generate API documentation as HTML:

  1. sudo apt install doxygen graphviz
  2. cd topoly
  3. doxygen topoly.doc.cfg or run doxygen.sh
  4. The API documentation will be generated to topoly-web\api

Readme for the end user is located in docs/README.md

Install C++ support (plugin) for Apache Netbeans 9.0:

Tools->Plugins->Settings->Add

http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz

Based on:

https://stackoverflow.com/questions/51493882/netbeans-9-c-support


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

topoly-0.1.0-cp37-cp37m-manylinux2010_x86_64.whl (3.3 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

topoly-0.1.0-cp36-cp36m-manylinux2010_x86_64.whl (3.3 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

topoly-0.1.0-cp36-cp36m-macosx_10_13_intel.whl (1.7 MB view hashes)

Uploaded CPython 3.6m macOS 10.13+ intel

topoly-0.1.0-cp36-cp36m-macosx_10_9_intel.whl (2.0 MB view hashes)

Uploaded CPython 3.6m macOS 10.9+ intel

topoly-0.1.0-cp35-cp35m-manylinux2010_x86_64.whl (3.3 MB view hashes)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

topoly-0.1.0-cp34-cp34m-manylinux2010_x86_64.whl (3.2 MB view hashes)

Uploaded CPython 3.4m manylinux: glibc 2.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page