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

Norbert Haider
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

Popular answers (1)

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)

Mohammad Tarek
Armed Forces College of Medicine
Ruhshan Ahmed Abir
Shahjalal University of Science and Technology
Thanks a lot. 
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
Ruhshan Ahmed Abir
Shahjalal University of Science and Technology
Thanks, how can I find SMARTS format of various functional groups? 
The Daylight SMARTS documentation has lots of examples in alphabetical order:
3 Recommendations
Simon Müller
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:
Norbert Haider
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 calculate the Oxygen Balance?
Question
4 answers
  • Andrea MauriAndrea Mauri
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?
How can I download natural compounds from ZINC15/ZINC20 database?
Question
9 answers
  • Alvea TasneemAlvea Tasneem
Hello,
I want to download all the natural compounds from ZINC15 or ZINC20 database (either smi, sdf, or mol2 files).
However, directly downloading the files from the website has failed multiple times (since the files are more than 6 million).
Therefore, can anyone guide me on how to download it either via any Linux commands or any other way?
Also, if anyone has the natural compounds files already available, I would be grateful if you provide me with the same here.
Thank you for your kind consideration.

Related Publications

Article
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...
Article
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...
Got a technical question?
Get high-quality answers from experts.