Skip to content

WAFI-CNR/ddna-toolbox

Repository files navigation

SAGE Publishing logo

This project has been possible thanks to SAGE Ocean Concept Grants 2018.

This project was build upon the scikit-learn template in order to be compatible with the scikit-learn pipelines and (hyper)parameter search, while facilitating testing (including some API compliance), documentation, open source development, packaging, and continuous integration.

Installation

This module in order to work needs:

  • Python v3.6.x or greater
  • numpy package
  • glcr python module - available here

You can download and install digitaldna as follow:

git clone https://github.com/WAFI-CNR/ddna-toolbox
cd ddna-toolbox
git clone https://github.com/WAFI-CNR/glcr

pip install numpy 
pip install glcr/.
pip install .

Getting started

If the installation is successful, and digitaldna is correctly installed, you should be able to execute the following in Python:

from digitaldna.lcs import LongestCommonSubsequence
X = ['banana', 'ananan', 'anana', 'hanoi', 'banas']
estimator = LongestCommonSubsequence()
estimator.fit_predict(X)

Some usage examples can be found in the documentation website.

You can find other examples in this page

Credits and Aknowledgement

This library has been made possible thanks to the collaboration and contribution of:

Want to contribute?

If you want to contribute you can refer to the scikit-learn template documentation:

Useful links