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
- 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
- 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:
sudo apt install doxygen graphviz
cd topoly
doxygen topoly.doc.cfg
or rundoxygen.sh
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for topoly-0.1.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8fb6d1e8e3f620841c9413e6964e9be6665cc17be13bf9b9680af6aac41e76b |
|
MD5 | 0789f72827d7587295778c32600ee0b6 |
|
BLAKE2b-256 | dc2ab96b77547a991920b675ca0932341279ec1db37fdc625a6b3573d7bbc7d9 |
Hashes for topoly-0.1.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f545b6f2d131369e1b049552aa0a144e9c4ac69520c38706c778a86c486c8e8f |
|
MD5 | 278187f8b6dddaf7e6e03cb646591a18 |
|
BLAKE2b-256 | 43042456b3b32eab47d7af4606531ffa8031e663bd78d2666161b7a35e23881c |
Hashes for topoly-0.1.0-cp36-cp36m-macosx_10_13_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d05e151e6f2ec1191bebed01938c59c5da91d9324541d0211050e0f15a4988 |
|
MD5 | a1cdc568d20e00746dcb826c42a8b0f6 |
|
BLAKE2b-256 | 9bb84f422f82a4ed6f11b0f946295092d27003e3ce8d37d9524af11978307815 |
Hashes for topoly-0.1.0-cp36-cp36m-macosx_10_9_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8e69d5609af0ce6caeac3c139f9e6ee2f283cce75452c90e1d77eeabdbfb4fe |
|
MD5 | b2e6543435e402afef1dfd475e39fb0b |
|
BLAKE2b-256 | 62efd8383c4da6064836e5e9d09a13efb8e1d89b27d553f250b47cbbac8358bc |
Hashes for topoly-0.1.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f42893b3e86640aa0ac6d6ff4a73c1bf090dfa75e10ef96f1bf1464a7d07453c |
|
MD5 | a5e13a62fda8ca3c46de197b931446aa |
|
BLAKE2b-256 | c60849351c772d227b0886ed491e23ef4a0068152db97f0e06a021f6ca985394 |
Hashes for topoly-0.1.0-cp34-cp34m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a320e36826c5222564b09134f78043eca045dc9ab0048fb9737771cee126ad2 |
|
MD5 | 565b95a478078655d49f94f435bfc1bb |
|
BLAKE2b-256 | 68a09cb0511b6f0e1f0cbeb45c7d0cb5ed5b6d8376cda7d8b822cdf2f2a0c127 |