an advanced molecular search program using SMARTS
Print all the molecules with a methylamine group:
Print all the molecules without a methylamine group:
Print the number of molecules without a methylamine group:
Print methylamine (if it exists in the file):
Print methylamine and/or methanol (if they exist):
Print all molecules with aromatic carbon in all SMILES files in the directory (i.e., *.smi)
The web pages for Open Babel can be found at: <http://openbabel.org/>
A guide for constructing SMARTS patterns can be found at: <http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html>
Open Babel is developed by a cast of many, including currrent maintainers Geoff Hutchison, Chris Morley, Michael Banck, and innumerable others who have contributed fixes and additions. For more contributors to Open Babel, see <http://openbabel.org/wiki/THANKS>
Some portions Copyright (C) 2001-2007 by Geoffrey R. Hutchison and other contributors.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.