No description
Find a file
Dries VR 36e494f2a0 Fix add_edge error
Add_edge throws errors when n1 and n2 are not explicitly coded as ints.
2018-11-29 14:21:27 +01:00
decaf Fix add_edge error 2018-11-29 14:21:27 +01:00
demo small changes in demos 2015-10-29 10:36:39 +01:00
docs small changes in documentation 2015-07-13 13:54:00 +02:00
tests cosmetic changes 2016-11-03 09:01:48 +01:00
toolkits_tests lost init for toolkit tests 2017-05-05 10:04:04 +02:00
.gitignore DCAF module 2015-05-07 16:30:56 +02:00
.gitlab-ci.yml install packages with -q 2017-09-05 11:48:32 +00:00
bitbucket-pipelines.yml fixed indentation 2017-05-05 09:45:10 +00:00
LICENSE license 2016-03-11 08:18:27 +01:00
README.md citation info 2017-08-23 09:20:16 +02:00
requirements.txt updated requirements 2017-05-05 11:48:31 +02:00
setup.py updated requirements 2017-05-05 11:48:31 +02:00

README

DeCAF - Discrimination, Comparison, Alignment tool for small molecules

DeCAF is a method for describing molecules' pharmacophoric properties and a fast and efective tool for comparing and combining ligands.

DeCAF is written as a Python module and can be easily combined with OpenBabel, RDKit and other chemoinformatic tools.

Examples

Basic example:

#!python

#use RDKit
from rdkit.Chem import MolFromSmiles
from decaf.toolkits import rd
from decaf.utils import similarity, combine_pharmacophores, draw

#create models
mol1 = MolFromSmiles("c1cc(cc(c1)N)c1cc(cc(c1O)c1[nH]c2ccc(cc2n1)C(=N)N)Cl")
phar1 = rd.phar_from_mol(mol1)
mol2 = MolFromSmiles("c1cc(cc(c1)N(=O)=O)c1cc(cc(c1O)c1cc2cc(ccc2[nH]1)C(=N)N)CC(=O)O")
phar2 = rd.phar_from_mol(mol2)

#compare and combine models
print similarity(phar1, phar2)
phar = combine_pharmacophores(phar1, phar2)

#draw pharmacophore
draw(phar)

Demos

There are also three demo scripts, showing prossible applications of DeCAF:

  • compare_demo.py - compare two sets of ligands to refrence set
  • filter_demo.py - screen database for molecules similar to given pharmacophore model
  • model_demo.py - create pharmacophore models from set of molecules

Requirements

  • numpy (for basic functionalities)
  • Pybel (OpenBabel) and/or RDKit (for creating models from molecules)
  • matplotlib (for pharmacophore drawing)
  • scipy (for spring layout)

Documentation

Automatic documentation for DeCAF can be build with Sphinx (http://sphinx-doc.org/)

cd docs
make html
make latexpdf

Installation

After installing OpenBabel or RDKit, you can install DeCAF with setuptools:

python setup.py install

...or use pip:

pip install decaf

You can also install DeCAF and all its dependencies with conda:

#add conda channels for DeCAF, OpenBabel and RDKit
conda config --add channels marta-sd
conda config --add channels mwojcikowski
conda config --add rdkit

#install DeCAF with all dependencies
conda install decaf

Contact

Please contact us with comments, suggestions, questions or bug reports:

  • Marta M. Stepniewska-Dziubinska ( martasd[at]ibb.waw.pl )

Citing DeCAF

If you use DeCAF in your research, please cite:

Stepniewska-Dziubinska, M. M., Zielenkiewicz, P., & Siedlecki, P. (2017). DeCAF—Discrimination, Comparison, Alignment Tool for 2D PHarmacophores. Molecules, 22(7), 1128; doi:10.3390/molecules22071128