pinky - molecular fingerprint library
Project description
pinky - molecular fingerprint library
pinky is library for generating molecular fingerprints from SMILES strings.
pinky includes a fork of the SMILES parser and mol builder from frowns http://frowns.sourceforge.net/ originally written by Brian Kelley with contributions from Andrew Dalke.
This should be considered alpha software. The goal is to add more molecular fingerprint algorithms (currently only ECFP is supported). Also, would like to battle test the SMILES parser to provide a robust pure python SMILES parsing library.
Usage
from pinky.smiles import smilin
from pinky.fingerprints import ecfp
mol = smilin('CCCC(=O)N')
for atom in mol.atoms:
print atom, atom.sumBondOrders()
for bond in mol.bonds:
print bond.symbol, bond.bondorder, bond.bondtype, bond.fixed
# Compute ECFP_4 fingerprint
fp = ecfp(mol, radius=2)
License
See LICENSE file.
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 Distribution
pinky-0.0.3.tar.gz
(35.3 kB
view hashes)
Built Distribution
pinky-0.0.3-py3-none-any.whl
(52.3 kB
view hashes)