Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.27 KB

File metadata and controls

44 lines (26 loc) · 1.27 KB

🧬 Network Tensor Pattern

A python package implementation to the C codebase of the paper A Local Tensor Clustering Algorithm to Annotate Uncharacterized Genes with Many Biological Networks with the addition of a second method of Global Tensor Clustering.


🔔 Requirements

⚙️ OS Supported:

Windows 🟢
Linux 🟢
MacOS 🟢

⚠️ Requires Python ≤ 3.11 due to setuptools being deprecated after 3.12

  • Consider installing a python environment manager i.e. Anaconda/Miniconda to install Python ≤ 3.11

⚠️ GCC is required in order to compile the C source files and headers into a C Python Extension.

💻 Windows Only:


🏃 Package Compilation

To compile the C headers and source code:

python setup.py pnt --compile

This should generate a file with our C Python Extensions called Tensor_Python.so under ./src/patnetstensor

To install the python package:

pip3 install .