[Rdkit-discuss] Fwd: What is correct treatment of bond stereochemistry defined by hydrogen

2018-04-05 Thread Dan Nealschneider
Current thread 0x7faa949d8740 (most recent call first): File "", line 1 in Segmentation fault *At core, I have 2 questions:* Is RDKit able to represent stereochemistry about this bond if the hydrogen is implicit? It's fine if not, I just want to know. If RDKit can represent stereoc

Re: [Rdkit-discuss] Fwd: What is correct treatment of bond stereochemistry defined by hydrogen

2018-04-06 Thread Dan Nealschneider
Thanks, Greg- > >> What is the correct treatment of bond stereochemistry at centers for >> which a hydrogen is required in order to specify the bond stereochemistry? >> For example, an imine with a hydrogen substituent (trivial example, >> F/C=N/[H]). >> > > In these cases the H cannot be

Re: [Rdkit-discuss] 2018_03_2 md5 checksum problems

2018-06-28 Thread Dan Nealschneider
the md5sum for these packages for now (this is what is done for other fast moving packages) or to get the correct tagged version of these libraries. - dan nealschneider (né wandschneider) Senior Developer Schr*ö*dinger, Inc Portland, OR On Mon, Jun 25, 2018 at 2:19 PM Kaushik Lakkaraju wrote: >

Re: [Rdkit-discuss] 2018_03_2 md5 checksum problems

2018-06-28 Thread Dan Nealschneider
library is stored in /data/kaushik/src/rdkit-Release_2018_03_2/External/CoordGen/master.tar.gz (Is it actually maeparser, or is it coordgen?). - dan nealschneider (né wandschneider) Senior Developer Schr*ö*dinger, Inc Portland, OR On Thu, Jun 28, 2018 at 1:13 PM Kaushik Lakkaraju wrote

Re: [Rdkit-discuss] implicit conversion of smart pointer with version 2018_03_4

2018-12-11 Thread Dan Nealschneider
with a shared_ptr and then allow the shared_ptr to clean it up you're asking for trouble. Maybe you were trying to copy the atom, and control ownership with the shared_ptr? - dan nealschneider (né wandschneider) Senior Developer Schr*ö*dinger, Inc Portland, OR On Tue, Dec 11, 2018 at 3:36 PM

Re: [Rdkit-discuss] Double Bond Stereochemistry in the RDKit

2018-12-04 Thread Dan Nealschneider
: bond = mol.GetBondBetweenAtoms(begin, end) if bond.GetBeginAtomIdx() != begin: assert bond.GetBeginAtomIdx() == end stereoatom1, stereoatom2 = stereoatom2, stereoatom1 bond.SetStereoAtoms(stereoatom1, stereoatom2) bond.SetStereo(stereo) - dan nealschneider (né wandschneider) Senior

[Rdkit-discuss] Get SMARTS of subset of atoms?

2019-07-31 Thread Dan Nealschneider
ndices or a Python list of atoms or atom indices. The way that I get a list of atoms is that a user lassos them in a GUI. - dan nealschneider (né wandschneider) Senior Developer Schr*ö*dinger, Inc Portland, OR ___ Rdkit-discuss mailing list Rdkit-d

Re: [Rdkit-discuss] GetAngleDeg alternative for the case of no conformation

2019-09-20 Thread Dan Nealschneider
Navid- If there aren't any conformers, then atoms don't have coordinates. In that case, I'm not sure that it makes sense to measure an angle between the atoms. Maybe you want to generate the 3d coordinates using embedmol, or a 2d depiction using rddepict. *dan nealschneider* | senior developer

Re: [Rdkit-discuss] AssignStereochemistry confusion

2019-09-27 Thread Dan Nealschneider
*dan nealschneider* | senior developer [image: Schrodinger Logo] <https://www.schrodinger.com/> On Wed, Sep 25, 2019 at 2:35 PM Zoltan Takacs wrote: > Dear RDkitters, > > I am playing around with the assignstereochemistry function and I am > getting confused. If I change the numb

Re: [Rdkit-discuss] Issue with Chirality

2019-09-27 Thread Dan Nealschneider
Guillaume- You may want to add hydrogens before embedding. Not sure *specifically* why it's required in this case - maybe the stereo center needs a hydrogen in order to pop it into 3d? *dan nealschneider* | senior developer [image: Schrodinger Logo] <https://www.schrodinger.com/> On Wed,

Re: [Rdkit-discuss] Incorrect Aromaticity?

2019-10-30 Thread Dan Nealschneider
You've specified that the ring is aromatic in your smiles input. Did you mean "C1CCC2C(C1)OC(N2)=O"? *dan nealschneider* | senior developer [image: Schrodinger Logo] <https://www.schrodinger.com/> On Wed, Oct 30, 2019 at 12:00 PM Hao wrote: > Hello, > > It seem

Re: [Rdkit-discuss] Problem with getting hybridization from mol object

2019-10-22 Thread Dan Nealschneider
Navid- You probably need to "sanitize" the mol: rdkit.Chem.rdmolops.SanitizeMol(mol) *dan nealschneider* | senior developer [image: Schrodinger Logo] <https://www.schrodinger.com/> On Tue, Oct 22, 2019 at 6:31 PM Navid Shervani-Tabar wrote: > Hello, > > I am tryin

Re: [Rdkit-discuss] compiling C++examples from "Release_2019_09_2"

2020-01-02 Thread Dan Nealschneider
Looks like you're missing libRDKitmaeparser.so.1, libRDKitcoordgen.so.1, libRDKitRingDecomposerLib.so.1, and libRDKitDataStructs.so.1. Are they in a directory pointed to by your LD_LIBRARY_PATH? *dan nealschneider* | senior developer [image: Schrodinger Logo] <https://www.schrodinger.

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

2020-03-17 Thread Dan Nealschneider
/stable/reference/algorithms/generated/networkx.algorithms.shortest_paths.unweighted.single_target_shortest_path.html#networkx.algorithms.shortest_paths.unweighted.single_target_shortest_path ) *dan nealschneider* | lead developer [image: Schrodinger Logo] <https://www.schrodinger.com/> On Tu

Re: [Rdkit-discuss] c++ atomic lifetime

2020-08-27 Thread Dan Nealschneider
TR mol1(RDKit::SmilesToMol("")); // this is a boost::shared_ptr, requires #include std::unique_ptr mol2(RDKit::SmilesToMol("")); // requires #include *dan nealschneider* | lead developer [image: Schrodinger Logo] <https://www.schrodinger.com/> On Thu, Aug 27, 20

Re: [Rdkit-discuss] sd file format question

2020-10-02 Thread Dan Nealschneider
In addition to Andrew's suggestions, I'd also recommend that you submit a bug report to the maker of your other tool! They probably want to know about this issue - I know I would if it's one of ours... *dan nealschneider* | lead developer [image: Schrodinger Logo] <https://www.schrodinger.

Re: [Rdkit-discuss] Partial substructure match?

2020-11-19 Thread Dan Nealschneider
Gustavo - That sounds like the "maximum common substructure" problem. Here's the relevant section in RDKit's "Getting started in Python" https://www.rdkit.org/docs/GettingStartedInPython.html#maximum-common-substructure *dan nealschneider* | lead developer [image: Schr

Re: [Rdkit-discuss] issue with V3000 SD files containing enhanced stereochemistry information

2022-04-04 Thread Dan Nealschneider
other reports was that this is something fishy with whitespace characters. Thanks! dan nealschneider | senior staff developer *he/him/his* [image: Schrödinger, Inc.] <https://schrodinger.com/> On Mon, Apr 4, 2022 at 11:02 AM Giovanni Tricarico < giovanni.tricar...@glpg.com> wro

Re: [Rdkit-discuss] mol properties in SDWriter

2023-09-29 Thread Dan Nealschneider
I'd also be curious how the index is causing you problems. All SD reading code that I know about ignores those suffixes. If you're not using RDKit to read the SD file, maybe it would be best to update whatever it is you *are *using to parse the file. dan nealschneider | senior staff developer

Re: [Rdkit-discuss] SGroup information in SD files

2022-05-24 Thread Dan Nealschneider
ful. dan nealschneider | senior staff developer *he/him/his* [image: Schrödinger, Inc.] <https://schrodinger.com/> On Tue, May 24, 2022 at 1:42 PM wrote: > Hi, > > > > how would I get the SGroups information into a ROMol so that this is > output when I write the ROMol t

Re: [Rdkit-discuss] What is the recommended 3D-sensitive file format to use with RDKit?

2022-06-16 Thread Dan Nealschneider
do .cif and .mae. I'm not speaking for Schrödinger, but this *is* what I tell our internal developers. dan nealschneider | senior staff developer *he/him/his* [image: Schrödinger, Inc.] <https://schrodinger.com/> On Thu, Jun 16, 2022 at 7:42 AM Greg Landrum wrote: > Hi Francois, &

Re: [Rdkit-discuss] SMARTS: "NOT Hydrogen" wildcard?

2023-01-30 Thread Dan Nealschneider
, including terminal methyls, and also =C and ≡C. If you also want the neighbor: [!#0][#6d1] If you want terminal methyls only: [!#0][#6H3] Good luck! dan nealschneider | senior staff developer *he/him/his* [image: Schrödinger, Inc.] <https://schrodinger.com/> On Mon, Jan 30, 2023 at 8