[Rdkit-discuss] Filtering Out Highly Strained Ring Systems

2017-04-15 Thread James Johnson
Dear All, I'm generating analogs from a parent compound. An unfortunate side effect is the generation of various highly strained rings among other compounds. I'm developing filters to deal with any unwanted generated compounds, but I'm having difficulty with strained ring systems. Attached are

Re: [Rdkit-discuss] Generating all stereochem possibilities from smile

2016-12-11 Thread James Johnson
Thank you all again for the great responses! :) There seems to be a consensus between Andrew and Pavel that the solution is with SetBondDir(). I've tried Pavel's functions get_unspec_double_bonds() and set_double_bond_stereo() in python 2 (couldn't figure out how to get RDkit set up in python 3,

Re: [Rdkit-discuss] Generating all stereochem possibilities from smile

2016-12-09 Thread James Johnson
g.c...@gmail.com> wrote: > On Thu, 8 Dec 2016 23:21:24 -0800 > James Johnson <totalboron...@gmail.com> wrote: > > > Hello all, I am trying to generate R and S from: CCC(C)(Cl)Br > > > > Below is the code for making the smi to mol file. Can someone give me > s

[Rdkit-discuss] Generating all stereochem possibilities from smile

2016-12-08 Thread James Johnson
Hello all, I am trying to generate R and S from: CCC(C)(Cl)Br Below is the code for making the smi to mol file. Can someone give me some guidance to generate all sterochem possibilities? The code would also need to work for 2 stereocenters such as: RR, RS, SR, SS or RE, RZ, SE, SZ etc. Thanks!

Re: [Rdkit-discuss] Writing a Tripos MOL2 file with charges

2016-11-10 Thread James Johnson
r > property. > Cheers, > p. > > > On 31/10/2016 17:11, James Johnson wrote: > > Is there any supported format that outputs partial charges? > > The speed of RDKit is phenomenal (0.02 seconds) vs obabel's 2 seconds, but > if I cannot output partial charges I'll be

Re: [Rdkit-discuss] Writing a Tripos MOL2 file with charges

2016-10-31 Thread James Johnson
and...@gmail.com> wrote: > Hi James, > > Due to problems with the general ambiguity of the format the RDKIt does > not have a mol2 writer. > > -greg > > > > > > On Mon, Oct 31, 2016 at 12:22 AM +0100, "James Johnson" < > totalboron...@gmail.com>

[Rdkit-discuss] Writing a Tripos MOL2 file with charges

2016-10-30 Thread James Johnson
Hello all, I've been trying to output my 3D mol object that has Gasteiger charges to mol2 file format. How would I go about that? I've only found it for mol and pdb. Here is the code I'be been using if that helps: ~~~ from rdkit