All Projects → duartegroup → molfunc

duartegroup / molfunc

Licence: MIT License
fast functionalisation of molecules

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
TeX
3793 projects
cython
566 projects
CMake
9771 projects
shell
77523 projects

Projects that are alternatives of or similar to molfunc

pylj
Teaching Utility for Classical Atomistic Simulation.
Stars: ✭ 23 (+4.55%)
Mutual labels:  computational-chemistry
pnictogen
⚛️ A Python library and a command-line tool that creates input files for computational chemistry packages
Stars: ✭ 18 (-18.18%)
Mutual labels:  computational-chemistry
protwis
Protwis is the backbone of the GPCRdb. The GPCRdb contains reference data, interactive visualisation and experiment design tools for G protein-coupled receptors (GPCRs).
Stars: ✭ 20 (-9.09%)
Mutual labels:  open-science
linkedresearch.org
🌐 linkedresearch.org
Stars: ✭ 32 (+45.45%)
Mutual labels:  open-science
Transform-to-Open-Science
Transformation to Open Science
Stars: ✭ 268 (+1118.18%)
Mutual labels:  open-science
adcc
adcc: Seamlessly connect your program to ADC
Stars: ✭ 26 (+18.18%)
Mutual labels:  computational-chemistry
fossos
seminar series on data science, reproducible science and open source by @maxheld83
Stars: ✭ 13 (-40.91%)
Mutual labels:  open-science
PVGeo
🌍 Python package of VTK-based algorithms to analyze geoscientific data and models
Stars: ✭ 156 (+609.09%)
Mutual labels:  open-science
awesome-utrecht-university
A curated list of awesome open source projects from Utrecht University.
Stars: ✭ 31 (+40.91%)
Mutual labels:  open-science
CatKit
General purpose tools for high-throughput catalysis
Stars: ✭ 48 (+118.18%)
Mutual labels:  computational-chemistry
screenlamp
screenlamp is a Python toolkit for hypothesis-driven virtual screening
Stars: ✭ 20 (-9.09%)
Mutual labels:  computational-chemistry
xtb-python
Python API for the extended tight binding program package
Stars: ✭ 61 (+177.27%)
Mutual labels:  computational-chemistry
qp2
Quantum Package : a programming environment for wave function methods
Stars: ✭ 37 (+68.18%)
Mutual labels:  computational-chemistry
serratus
Ultra-deep search for novel viruses
Stars: ✭ 196 (+790.91%)
Mutual labels:  open-science
paper-moho-inversion-tesseroids
Source code, data, and model results for "Fast non-linear gravity inversion in spherical coordinates with application to the South American Moho". Published in the Geophysical Journal International.
Stars: ✭ 27 (+22.73%)
Mutual labels:  open-science
graphchem
Graph-based machine learning for chemical property prediction
Stars: ✭ 21 (-4.55%)
Mutual labels:  computational-chemistry
DeepChem-Workshop
DeepChem 2017: Deep Learning & NLP for Computational Chemistry, Biology & Nano-materials
Stars: ✭ 22 (+0%)
Mutual labels:  computational-chemistry
matador
⚗️ matador is an aggregator, manipulator and runner of first-principles calculations, written with a bent towards battery 🔋 electrode materials.
Stars: ✭ 23 (+4.55%)
Mutual labels:  computational-chemistry
QCFractal
A distributed compute and database platform for quantum chemistry.
Stars: ✭ 107 (+386.36%)
Mutual labels:  computational-chemistry
covidregionaldata
An interface to subnational and national level COVID-19 data. For all countries supported, this includes a daily time-series of cases. Wherever available we also provide data on deaths, hospitalisations, and tests. National level data is also supported using a range of data sources as well as linelist data and links to intervention data sets.
Stars: ✭ 35 (+59.09%)
Mutual labels:  open-science

pytest catch2 codecov PyPI version License: MIT

alt text

molfunc

About

molfunc is a Python tool for functionalisation of 3D molecules. Given a .xyz file molecular functionalisation is performed by specifying monovalent atoms in the structure to swap for a set of fragments given as their corresponding SMILES strings. The energy of the combined molecule is minimised with purely rigid body rotations, as such, generated structures may require further (constrained) optimisation. Possible use cases include catalyst functionalisation, ligand modification and combinatorial molecule generation.

Installation

pip install molfunc==2.0.0b0

The old Python/Cython version is still available with pip install molfunc=1.0.0. Alternatively, to install from source:

git clone https://github.com/duartegroup/molfunc.git
cd molfunc/
pip install Cython
python setup.py install

NOTE: Requires a modern C++ compiler.

Usage

molfunc provides a minimal Python API and core CLI. To convert PH3 to PMe3 in Python:

from molfunc import print_combined_molecule

print_combined_molecule(core_xyz_filename='examples/PH3.xyz', 
                        atoms_to_del=[2, 3, 4],
                        frag_names=['Me'],
                        name='PMe3')

or from the command line:

molfunc examples/PH3.xyz -a 2 3 4 -f Me

where in both cases all hydrogen atoms (atom indexes 2, 3, 4) are swapped for methyls. See examples/ for more examples. Functionalising with all combinations of fragments is also possible with

molfunc examples/PH3.xyz -a 2 --all

Citation

If molfunc us used in a publication please consider citing the autodE paper where it's outlined:

T. A. Young, J. J. Silcock, A. J. Sterling, F. Duarte, Angew. Chem. Int. Ed., 2021, 60, 4266.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].