Re: [Rdkit-discuss] Count rings in bicyclic compounds

2020-03-17 Thread Dan Nealschneider
erable' error. > > > Any help appreciated. Thanks. > > > Vin > > > -- > *From:* Ivan Tubert-Brohman > *Sent:* Wednesday, December 5, 2018 9:06 AM > *To:* baptiste.cana...@gmail.com > *Cc:* RDKit Discuss > *Subject:* Re: [Rdkit-dis

Re: [Rdkit-discuss] Count rings in bicyclic compounds

2020-03-17 Thread Scalfani, Vincent
From: Ivan Tubert-Brohman Sent: Wednesday, December 5, 2018 9:06 AM To: baptiste.cana...@gmail.com Cc: RDKit Discuss Subject: Re: [Rdkit-discuss] Count rings in bicyclic compounds Hi Baptiste, RDKit focuses on "simple rings". As far as I know, it has no builtin function to

Re: [Rdkit-discuss] Count rings in bicyclic compounds

2018-12-05 Thread Ivan Tubert-Brohman
Hi Baptiste, RDKit focuses on "simple rings". As far as I know, it has no builtin function to return all possible cycles in a molecule. For a molecule with a "basis set" of N rings, there can be up to 2^N-1 ring systems, which can be obtained by taking all possible subsets (aka the powerset) of

[Rdkit-discuss] Count rings in bicyclic compounds

2018-12-05 Thread Baptiste CANAULT
Hi RDKiters, I would like to identify all cycles present in a molecular structure. However, when the molecules correspond to bicyclic compounds, the ring count does not correspond to the number actually observed in the structure. Simple example: >>> m = Chem.MolFromSmiles('C1CC2CCC1O2') >>> r =