Hi
   Thanks a lot for your reply. I then use smiles for SMARTS. 

Vinay

--- On Tue, 11/10/09, Geoffrey Hutchison <ge...@geoffhutchison.net> wrote:

From: Geoffrey Hutchison <ge...@geoffhutchison.net>
Subject: Re: [Open Babel]  SMARTS to SMILES
To: "Vinay M" <vi...@ymail.com>
Cc: "babel" <openbabel-discuss@lists.sourceforge.net>
Received: Tuesday, November 10, 2009, 8:55 PM

>               Thanks for your reply, i was using smiles to view the 
>structure, so few are in smarts. I just wanted to convert smiles to smarts and 
>smarts to smiles. 

SMILES is a subset of SMARTS, so any SMILES string can be used as a SMARTS. The 
reverse is not true. I can design many SMARTS, which are not valid SMILES. For 
example [*] matches any atom.

So no, as Craig said, you cannot interconvert them.
-Geoff


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to