Dear all,

Having a molecule (let's say ethylpyridine CCc1cccnc1) and its scaffold
(pyridine c1ccncc1), I would like to create a generic scaffold (smarts) for
substructure searches: considered atoms become "any" atom (*), and bonds
becomes "any" bond (~).
I.e., the smarts should be  CC*~1~*~*~*~*~*~1 (parts not belonging to the
scaffold don't change).

Is there a way in Pybel to mutate atom / bond into "*~" apart from string
replacement in the smiles? I anticipate problems with brackets doing so.
Any other idea welcome :)

Many thanks,
Pascal
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to