University of Vienna
Question
Asked 3rd May, 2017
Is there any tool for determining functional groups in a given compound?
I'm looking for a tool that can give how many methyl groups, hydroxyl groups etc. are in a compound from it's SMILES, SDF or MOL2 format.
Most recent answer
The methyl group is not a functional group, but just a substructure. If you are interested in the functional groups of a molecule (in MDL molfile format), you might try checkmol: https://homepage.univie.ac.at/norbert.haider/cheminf/cmmm.html
Use the -ep option, e.g. checkmol -ep caffeine.mol
1 Recommendation
Popular answers (1)
Healx
If you are familiar with Python, you might want to try SMILES/SMARTS pattern matching in RDKit:
[in]>>from rdkit import Chem
[in]>>mol = Chem.MolFromSmiles('COC(=O)CNC(=O)CCCO')
[in]>>functional_group = Chem.MolFromSmarts('C=O')
[in]>>matches = mol.GetSubstructMatches(functional_group)
[in]>>len(matches)
[out]>>2
4 Recommendations
All Answers (7)
Healx
If you are familiar with Python, you might want to try SMILES/SMARTS pattern matching in RDKit:
[in]>>from rdkit import Chem
[in]>>mol = Chem.MolFromSmiles('COC(=O)CNC(=O)CCCO')
[in]>>functional_group = Chem.MolFromSmarts('C=O')
[in]>>matches = mol.GetSubstructMatches(functional_group)
[in]>>len(matches)
[out]>>2
4 Recommendations
Shahjalal University of Science and Technology
Thanks, how can I find SMARTS format of various functional groups?
Technische Universität Hamburg
I know this question is ancient and you probably implemented something yourself. But I wrote a paper on automatically fragmenting molecules. And applied it as an example on to UNIFAC:
University of Vienna
The methyl group is not a functional group, but just a substructure. If you are interested in the functional groups of a molecule (in MDL molfile format), you might try checkmol: https://homepage.univie.ac.at/norbert.haider/cheminf/cmmm.html
Use the -ep option, e.g. checkmol -ep caffeine.mol
1 Recommendation
Similar questions and discussions
How to convert SMILES into SDF or PDB format?
- Md. Kamrul Hasan
In openbabel, I have to upload a SMILES file (with extension. smi). I don't know how to save SMILES string (e.g.: C12C3C4C1C5C4C3C25) into SMILES file in my computer. I have tried in cactus (https://cactus.nci.nih.gov/translate/) but many of the times it ended up showing "Invalid SMILES". Can anyone suggest how I can fix it?
How to calculate the Oxygen Balance?
- Andrea Mauri
I am checking the Oxygen Balance calculation as reported in Wikipedia (https://en.wikipedia.org/wiki/Oxygen_balance).
Some calculated values corresponds to those reported in that page (e.g. nitromethane (-39%) and trinitrotoluene (−74%), ammonium nitrate (+20%)).
While some of the values reported in the wiki page do not fit with the formula (e.g. ammonium perchlorate (wiki +34%, calculated 27%), potassium chlorate (wiki +39.2%, calculated 26%, sodium chlorate (wiki +45%, calculated 30%)).
Oxygen Balance is used to evaluate explosivity of a substance and it is also cited by ECHA in ECHA Guidance on the Application of the CLP Criteria Version 6.0 – Jan 2024, page 93.
Am I doing something wrong or am I missing something?
Related Publications
Computational and/or computer chemistry is an important branch of chemistry, and has played an important role in theoretical chemistry, molecular simulation, chemical data mining and practical analysis of complex samples. Recent advances are reviewed in this paper, including the development of method, software and databases, and the applications in...
The subject of the study is discrete mathematical chemistry as a new field of knowledge in theoretical chemistry. Particular attention is paid to such aspects of research as: the characteristics of the stages of its development in connection with scientific and social problems, their connection with the formation of the subject and the features of...