Re: [Open Babel] Copy molecule (Python)

2014-04-29 Thread Stefano Forli
I resolved to write a small object to be sure that the essential set of data I was mostly interested in (i.e., atom and bond indices) is preserved when copying the molecule. It's far from elegant (just starting fiddling with OB), but it does the job for me. There's a placeholder for copying also

[Open Babel] Invert tetrahedral chirality in Python

2014-06-17 Thread Stefano Forli
iate any input on the matter. Thanks! Stefano [1] http://blueobelisk.shapado.com/questions/which-openbabel-dev-version-methods-should-be-used-for-altering-stereochemistry [2] http://www.filewatcher.com/p/openbabel-2.3.0.tar.gz.14321281/openbabel-2.3.0/doc/guide/_sources/UseTheLibrary/PythonExa

Re: [Open Babel] Invert tetrahedral chirality in Python

2014-06-23 Thread Stefano Forli
he > following code: > config.winding = 2 if config.winding == 1 else 1 > ts.SetConfig(config) > So replacing config.Invert() with these two lines will make your example work > at least… > > Kind regards, > Fredrik > 18 jun 2014 kl. 03:45 skrev Stefano Forli : > >

[Open Babel] chirality and SMARTS pattern matching

2014-07-08 Thread Stefano Forli
the opposite in the molecule and p1, p2, the script finds matches. Am I missing something, maybe? Advices will be much appreciated. Thanks S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The

Re: [Open Babel] chirality and SMARTS pattern matching

2014-07-09 Thread Stefano Forli
ime myself right now). I'm pretty > sure I > implemented this. A quick test is: > > obabel -:"'F[C@H](Br)Cl" -s "'F[C@@H](Br)Cl" -osmi > > ...should be "0 molecules converted" > > - Noel > > > On 9 July 2014 00:

Re: [Open Babel] Get Atom name information from OBMol class using python bindings

2014-07-17 Thread Stefano Forli
nvolving OBPairData, but there is no "_atom_site_label" > found for my > molecule. > > Just trying to find out where that information is stored. > Any help would be appreciated. > > Cheers, > --Jim > -- Stefano Forli, PhD Staff Scientist Molecular Gra

Re: [Open Babel] chirality and SMARTS pattern matching

2014-07-28 Thread Stefano Forli
C@@H](Br)Cl" -osmi > > ...should be "0 molecules converted" > > - Noel > > > On 9 July 2014 00:16, Craig James <mailto:cja...@emolecules.com>> > wrote: > > On Tue, Jul 8, 2014 at 2:05 PM, Stefano Forli <mailto:fo...@scripps.edu>> wr

[Open Babel] Using RXN with OBReaction and OBChemTsfm (Python)

2014-07-28 Thread Stefano Forli
orm the actual transformation. Unfortunately, I had not much luck in finding documentation on the matter, so any suggestions will be more than welcome. Thanks, S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology

Re: [Open Babel] Using RXN with OBReaction and OBChemTsfm (Python)

2014-07-29 Thread Stefano Forli
hon object to apply a RXN transformation to a > series of > molecules. > In particular, I'm peeking at the RXN format source (rxnformat.cpp) to > populate an > OBReaction() object but then I don't know how to tie it to the OBChemTsfm > class to perfo

[Open Babel] PDB alternate locations

2014-08-27 Thread Stefano Forli
C ... As far as I can tell, there isn't much in the documentation (but I'll be happy to be proved wrong!) Any help will be appreciated. Not sure if it makes a difference, but I'm using Python. Stefano [1] http://deposit.rcsb.org/adit/docs/pdb_atom_format.html#ATOM

Re: [Open Babel] Applying reactions in obabel

2014-08-30 Thread Stefano Forli
ums.openbabel.org/Using-RXN-with-OBReaction-and-OBChemTsfm-Python-td4657628.html [2] http://www.rdkit.org/docs/GettingStartedInPython.html#chemical-reactions -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-

[Open Babel] Unexpected behavior with GetResidue()

2014-10-02 Thread Stefano Forli
, then one is created (and named "LIG"). It seems like a bug to me, but I want to be sure I'm not missing anything before reporting it... Thanks, S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computation

Re: [Open Babel] Unexpected behavior with GetResidue()

2014-10-03 Thread Stefano Forli
ators shouldn't have side-effects. To > directly perceive, uses OBChainsParser. > > - Noel > > On 3 October 2014 02:15, Stefano Forli wrote: >> Hi, >> I'm a little bit puzzled by the behavior of the following code: >> >> import

[Open Babel] Identify if explicit chirality is defined (Python)

2014-11-20 Thread Stefano Forli
), print facade.GetTetrahedralStereo(idx-1).IsSpecified() === Basically, for both molecules, the two methods return always False and True (atom's and facade's methods, respectively). Any help would be very much appreciated. S -- Stefano Forli, PhD Staff Scientist Molecu

Re: [Open Babel] Identify if explicit chirality is defined (Python)

2014-11-21 Thread Stefano Forli
s, but this > was never done. > > - Noel > > On 20 November 2014 20:37, Stefano Forli wrote: >> Hi, >> >> I'm trying to find a robust method to identify if chirality is specified or >> not in a >> molecule, i.e.: >> >>OC[C@H]1O

[Open Babel] Maximum common substructure (MCS) with OpenBabel

2014-12-08 Thread Stefano Forli
[1] http://baoilleach.blogspot.com/2012/12/intro-to-open-babel.html -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Institute 10550 North Torrey Pines Road La Jolla, CA 92037-1000, USA.

Re: [Open Babel] Maximum common substructure (MCS) with OpenBabel

2014-12-09 Thread Stefano Forli
r/c%2B%2B/mcs-cliquer > > Cheers, > -Geoff > -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Institute 10550 North Torrey Pines Road La Jolla, CA 92037-1000, USA.

[Open Babel] Ring conformations

2015-01-20 Thread Stefano Forli
full conformational search? Thanks, S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Institute 10550 North Torrey Pines Road La Jolla, CA 92037-1000, USA. tel: +1

[Open Babel] Gasteiger charges and hydrogens issue

2015-01-28 Thread Stefano Forli
ained in this way. Is there any word from developers on the matter? Stefano [1] http://sourceforge.net/p/openbabel/bugs/710/ -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Inst

[Open Babel] Chirality and winding

2015-02-16 Thread Stefano Forli
that chirality is not perceived (uncomment the last line to test it). Is this expected, or there is a way to perceive it properly? Thanks, S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The S

Re: [Open Babel] Chirality and winding

2015-02-17 Thread Stefano Forli
at the winding. The refs are > in a different order in each case. > > Regards, > - Noel > > > On 17 February 2015 at 00:53, Stefano Forli wrote: >> Hi, >> >> I can't understand the way in which chiral winding is handled by OpenBabel. >> I

Re: [Open Babel] Chirality and winding

2015-02-18 Thread Stefano Forli
et the opposite chirality.) The docs are at http://openbabel.org/api/2.3/structOpenBabel_1_1OBTetrahedralStereo_1_1Config.shtml - Noel On 17 February 2015 at 19:13, Stefano Forli wrote: Noel, thanks for the clarification. It makes sense now, but it means that I'm using the wrong tool for what I want to

Re: [Open Babel] Chirality and winding

2015-02-20 Thread Stefano Forli
__ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > <mailto:OpenBabel-discuss@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > > > > -- > --Nathan Pimental, > --Peppertree Labs

Re: [Open Babel] Determining the number of aromatic rings when smiles string is given

2015-02-20 Thread Stefano Forli
Buffalo > The State University of New York > Department of Chemical and Biological Engineering > 205 Furnas Hall > Buffalo, NY 14260 > Ph no- 716-262-5115 -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology

Re: [Open Babel] Notation for fusion in SMARTS and identify the sequence of substructure in target molecule

2015-03-10 Thread Stefano Forli
gt; > > -- > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub > for all > th

[Open Babel] error with obabel filter by SMARTS

2015-03-21 Thread Stefano Forli
,' which is invalid in SMILES == *** Open Babel Error in ObtainTarget Cannot read the SMILES string 0 molecules converted -- (note: I've escaped some characters in the pattern to avoid shell errors). Thanks, S -- Stefano Forli, PhD

Re: [Open Babel] error with obabel filter by SMARTS

2015-03-23 Thread Stefano Forli
ES > which is then refined using SMARTS: > > obabel index.fs -omol2 -sSMILES -an | > obabel -imol2 -O first.smi -sSMARTS > > Chris > > On 21/03/2015 21:52, Stefano Forli wrote: >> I think there's an error either in the documentation or in the >>

[Open Babel] Obtautomer and Python

2015-04-06 Thread Stefano Forli
Hi all, Is there any way to access the functionalities in obtautomer using Python? Thanks, S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Institute 10550 North Torrey

[Open Babel] Creating a molecule from scratch (Python)

2015-04-10 Thread Stefano Forli
same coordinates and elements (but no bonds). Is there any other step to do other than BeginModify()/EndModify() to be applied to the molecule to achieve the same results I would get by reading a file? Thanks! S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dep

Re: [Open Babel] Compressed pybel.Outputfile output

2015-04-24 Thread Stefano Forli
re compatible > with > pybel.Outputfile? > > Thanks in advance! > Matthew -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Institute 10550 North Torrey Pines Road

[Open Babel] SegFault while adding hydrogens (Python)

2015-04-28 Thread Stefano Forli
m not sure what would be the way to prevent it. Is this a bug or something that nobody should ever do (and it should be added to the documentation)? Thanks! S -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, M

Re: [Open Babel] SegFault while adding hydrogens (Python)

2015-04-28 Thread Stefano Forli
On 04/28/2015 04:50 PM, Stefano Forli wrote: > >> Now, I understand that a segFault shouldn't happen, but I'm not sure >> what would be the way to prevent it. Is this a bug or something that >> nobody should ever do (and it should be added to the documentation)? > >

Re: [Open Babel] generating SMARTS from mol2 files

2015-06-11 Thread Stefano Forli
ect > the training > as soon as possible. -- Stefano Forli, PhD Staff Scientist Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F The Scripps Research Institute 10550 North Torrey Pines Road La Jolla, CA 92037-1000, USA. t

[Open Babel] Pybel descriptors

2015-09-28 Thread Stefano Forli
what I can tell, all textual descriptors [1] are missing. Also, I was interested in understanding what 'smarts' and 's' descriptors actually mean, but I can't find any documentation on the matter other than this [1]. Advice is welcome. Thanks, S [1] http://open-babel.

Re: [Open Babel] Problem in converting a PDB file to MOL2

2015-11-20 Thread Stefano Forli
reate IDs only when the compound is seen > often as you said. > > Thanks. > > > > > -- > View this message in context: > http://forums.openbabel.org/Problem-in-converting-a-PDB-file-to-MOL2-tp4659035p4659061.html > Sent from the General discussion mailing list archive at Nabble.com. > >

Re: [Open Babel] Problem in converting a PDB file to MOL2

2015-11-23 Thread Stefano Forli
___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > -- Stefano Forli, PhD Assistant Professor of Integrative Structural and Computational Biology, Molec

Re: [Open Babel] azoxy

2016-01-05 Thread Stefano Forli
been some discussion in the mailing list about similar problems using PDB files as well. My advice is to manually correct the issues, hoping you don't have too many files to process. Best, S -- Stefano Forli, PhD Assistant Professor of Integrative Structural and Computational Biology,

[Open Babel] Azide and protonation: disappearing nitrogen

2016-03-07 Thread Stefano Forli
rogen is still there, somewhere. Is this a bug or am I doing something wrong? Thanks, S -- Stefano Forli, PhD Assistant Professor of Integrative Structural and Computational Biology, Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112F

Re: [Open Babel] 1-substituted adamantane InChIKeys

2016-03-09 Thread Stefano Forli
Mark Driver >> >> PhD student >> >> University of Cambridge >> >> ------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel D

Re: [Open Babel] Is there a way to prevent (re)protonation during conformer generation?

2016-03-09 Thread Stefano Forli
5111&iu=/4140 > ___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > -- Stefano Forli, PhD Assistant Professor of Integrative Stru

Re: [Open Babel] PAINS filtering

2016-03-15 Thread Stefano Forli
_ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > -- Stefano Forli, PhD Assistant Professor of Integrative Structural and Computational Biology, Mo

[Open Babel] OBChemTsfm and OBReaction

2016-03-24 Thread Stefano Forli
that OBChemTsfm is indeed the one to use to perform chemical transformations, while OBReaction holds only the information about it. I suspect I'm doing something wrong, but I can't figure out what it is. Any advice on the matter? Thanks! S [1] http://www.daylight.com/meetin

Re: [Open Babel] OBChemTsfm and OBReaction

2016-04-01 Thread Stefano Forli
-td4657949.html On 03/25/2016 05:57 AM, Noel O'Boyle wrote: > We don't support smirks. See > http://baoilleach.blogspot.co.uk/2012/08/transforming-molecules-intowellother.html?m=1 > > On 24 Mar 2016 9:33 p.m., "Stefano Forli" <mailto:fo...@scripps.edu>>

Re: [Open Babel] OBChemTsfm and OBReaction

2016-04-04 Thread Stefano Forli
I think both are feasible and I think we can supply some pointers. The > problem has been one of "too many things and not enough cooks" rather than > anything else. > > As you say, both have been requested many times. :-) > > Cheers, > -Geoff > -- Stefano Forli, Ph

[Open Babel] Chirality and tetrahedral stereo configuration

2016-04-26 Thread Stefano Forli
well most of the times. Problems arise with molecules like "CC1[NH+]1C", in which nitrogen has as a tetrahedral configuration defined, but the carbon (C1) doesn't. Is there a better way to deal with chirality and avoid this issue? Thanks, S -- Stefano Forli, PhD

Re: [Open Babel] Chirality and tetrahedral stereo configuration

2016-04-27 Thread Stefano Forli
list of all problematic molecules you > come across (well, one example of each type) so that a future > developer can fix this. > > Regards, > - Noel > > On 27 April 2016 at 01:29, Stefano Forli wrote: >> Hi all, >> >> I'm trying to enumerate all ena

Re: [Open Babel] SMART notation to select diamine molecule

2016-05-12 Thread Stefano Forli
31938128;j > ___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > -- Stefano Forli, PhD Assistant Professor of Integrative Structural

Re: [Open Babel] Unity3D + OpenBabel Crashing

2016-06-14 Thread Stefano Forli
Brian, not sure if related, but I had a similar issue a while ago, take a look here: https://sourceforge.net/p/openbabel/mailman/message/32893219/ Maybe it helps, S -- Stefano Forli, PhD Assistant Professor of Integrative Structural and Computational Biology, Molecular Graphics

Re: [Open Babel] Atomic charge changed during conversion from pdb to mol2

2016-08-06 Thread Stefano Forli
nvert directly the MOPAC output (which is supported) into Mol2, and see if the proper charges are kept. S -- Stefano Forli, PhD Assistant Professor of Integrative Structural and Computational Biology, Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB

Re: [Open Babel] Converting PDB to SMILES and matching atom orders

2016-08-31 Thread Stefano Forli
wrong, please correct > the training > as soon as possible. > > > -- > > > > ___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.

Re: [Open Babel] How to enumerate all possible stereoisomers of a molecule with a not defined stereocenter?

2016-09-08 Thread Stefano Forli
e.com. -- ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Assistant Professor of ISCB Mole

Re: [Open Babel] add hydrogens appropriate for pH

2016-11-18 Thread Stefano Forli
__ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > -- Stefano Forli, PhD Assistant Professor of ISCB Molecular Graphics Laboratory Dept. of Integrative Structural and Compu

Re: [Open Babel] add hydrogens appropriate for pH

2016-11-20 Thread Stefano Forli
forge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > -- Stefano Forli, PhD Assistant Professor of ISCB Molecular Graphics Laboratory Dept. of Integrative Structural and Computational Biology, MB-112A The Scripps Research Institute 10550 North Tor

Re: [Open Babel] determine in code the pdb atom name of an OBAtom

2017-02-24 Thread Stefano Forli
k out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net

Re: [Open Babel] determine in code the pdb atom name of an OBAtom

2017-02-24 Thread Stefano Forli
k out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > ___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net

Re: [Open Babel] Pybel: smi is not a recognised Open Babel format

2017-07-24 Thread Stefano Forli
forge.net/lists/listinfo/openbabel-discuss -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______

Re: [Open Babel] Pybel: smi is not a recognised Open Babel format

2017-07-24 Thread Stefano Forli
(apologies: this was a reply to the discussion Re: [Open Babel] Put atoms of target molecule in same order as reference clicked on the wrong email). On 07/24/2017 09:59 AM, Stefano Forli wrote: We've been using this method [1] from an old post in Noel's blog, and it was quite

Re: [Open Babel] Pybel calcdesc

2017-08-15 Thread Stefano Forli
- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/lis

Re: [Open Babel] Pdbqt output missing protein side chains

2017-08-16 Thread Stefano Forli
- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openb

[Open Babel] Segfault adding hydrogens in Python

2017-08-17 Thread Stefano Forli
ogens with this code bit me several times already, so if anybody has advice on how to prevent the crash or improve the code, it would be appreciated. Thanks S -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology, MB-112A The Scripps Research

Re: [Open Babel] Openbabel error in ReadFile

2017-08-23 Thread Stefano Forli
priotein.gpf -l 3upo_priotein.glg autodock4 -p ligcovalent_3upo_protein.dpf -l ligcovalent_3upo_protein.dlg The output generated at each step of the process is available in the directory '3upo_test/output'. pr

[Open Babel] Guanine tautomer

2017-09-26 Thread Stefano Forli
ol2 guanine.mol2 -p 9 -omol2 -O guanine_after.mol2 Any advice would be welcome. Thanks, S -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology, MB-112A The Scripps Research Institute 10550 North Torrey Pines Road La Jolla, CA 92037-100

Re: [Open Babel] Migrating from MediaWiki

2017-10-25 Thread Stefano Forli
the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Assi

Re: [Open Babel] using Open Babel for virtual library generation

2018-01-30 Thread Stefano Forli
ashdot.org! http://sdm.link/slashdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Struc

Re: [Open Babel] using Open Babel for virtual library generation

2018-01-31 Thread Stefano Forli
-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.so

Re: [Open Babel] using Open Babel for virtual library generation

2018-02-01 Thread Stefano Forli
ve up (and use other toolkits, alas). S p.s. apologies for the repeated emails on the subject, but our spam filter was making a mess and I couldn't see my own posts to the list Regards, - Noel On 1 February 2018 at 00:16, Stefano Forli mailto:fo...@scripps.edu>> wrote:

Re: [Open Babel] using Open Babel for virtual library generation

2018-02-06 Thread Stefano Forli
g out calls for Google Summer of Code at the moment; maybe this is a possible project for a student. On 1 February 2018 at 18:27, Stefano Forli mailto:fo...@scripps.edu>> wrote: Thanks for the clarification. On 02/01/2018 12:43 AM, Noel O'Boyle wrote: Actually, I

Re: [Open Babel] Reading large coordinate files in C++ using Babel

2018-02-13 Thread Stefano Forli
d back the data I need to the C part.   save_babel_molecule_details (atoms, lot, coords);   free (lot);   free (coords);   mol.Clear();   return 0;     }     else     {   // Error reading file   return 1;     }   }   else   {     // Error with this form

Re: [Open Babel] Fail to reproduce obabel --gen3d in pybel

2018-02-27 Thread Stefano Forli
hdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology,

Re: [Open Babel] Open Babel Gasteiger partial charges and the -p option

2018-06-19 Thread Stefano Forli
hdot.org! http://sdm.link/slashdot ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology, MB-112A The Scripps Resea

Re: [Open Babel] Ring Perception Using Pybel

2018-09-13 Thread Stefano Forli
gs: >>> *list(ssr[0])*# print for the first ring for example [6, 5 , 2, 1, 3, 0] >>> *len(ssr)*# or print the number of rings 3 ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.source

[Open Babel] Aromaticity perception/parsing

2018-11-15 Thread Stefano Forli
C1=O)2 ZINC00119428 1 molecule converted I don't think in this form the 4-pyridone is aromatic, but I still think there's something wrong with the way the valence information is lost when parsing the structures. Any clues? Thanks, S -- Stefano Forli, PhD Assistant Professor

Re: [Open Babel] Aromaticity perception/parsing

2018-11-26 Thread Stefano Forli
ic, but I still think > there's something wrong with the way the valence information is lost when > parsing the structures. > > Any clues? > > Thanks, > > S > -- > >   Stefano Forli, PhD > >   Assistant Professor >  

Re: [Open Babel] protonation using Python

2019-04-18 Thread Stefano Forli
n documented anywhere? >> >> >> >> >> >> _______ >> OpenBabel-discuss mailing list >> OpenBabel-discuss@lists.sourceforge.net >> <mailto:OpenBabel-discuss@lists.sourceforge.net> >> http

Re: [Open Babel] calculate chemical descriptors from published paper

2019-05-14 Thread Stefano Forli
> > Spencer > ___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > <mailto:OpenBabel-discuss@lists.sourceforge.net> > https://lists.sour

Re: [Open Babel] PDB files with multiple bonds via CONECT

2019-07-29 Thread Stefano Forli
___ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology, MB-112A The Scripps

Re: [Open Babel] [OpenBabel-Devel] Default force field option for --gen3d

2019-09-22 Thread Stefano Forli
; OpenBabel-Devel mailing list > openbabel-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-devel > -- Stefano Forli, PhD Assistant Professor Center for Computational Structural Biology Dept. of Integrative Structural and Computational Biology, MB-112A

Re: [Open Babel] [OpenBabel-Devel] If someone had time on their hands (now) …

2020-03-26 Thread Stefano Forli
__ OpenBabel-Devel mailing list openbabel-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel -- Stefano Forli, PhD Assistant Professor Center for Computational Structural Biology Dept. of Integrative Structural and Computational Biology, MB-112A

[Open Babel] Chirality perception

2020-07-16 Thread Stefano Forli
ogspot.com/2020/02/ [2] https://open-babel.readthedocs.io/en/latest/Stereochemistry/stereo.html -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology, MB-112A Scripps Research 10550 North Torrey Pines Road La Jolla, CA 92037-1000, USA.

Re: [Open Babel] How to determine a compound is a flavonoid?

2020-07-30 Thread Stefano Forli
s the best way to do so with babel? Thanks. -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and Computational Biology, MB-112A Scripps Research 10550 North Torrey Pines Road La Jolla, CA 92037-1000, USA. tel: +1 (858)784-2055 email: fo...@scripps.ed

[Open Babel] Identification of diastereotopic centers

2020-07-30 Thread Stefano Forli
I'm curious if anyone ever attempted to detect topicity using OpenBabel (or other tools, for that matter).I feel it might be one of those non-trivial problems, maybe worth writing a separate algorithm altogether. Thanks, S -- Stefano Forli, PhD Assistant Professor Dept. of Integr

[Open Babel] Chirality perception

2020-10-10 Thread Stefano Forli
)F") try: # not available anymore in OB3 print(mol.IsChiral(), "IsChiral()") except: pass facade = ob.OBStereoFacade(mol, True) for a in ob.OBMolAtomIter(mol): idx = a.GetId() print(idx, a.IsChiral(), "IsChiral()") print(idx, facade.HasTetrahedralSter

Re: [Open Babel] Chirality perception

2020-10-12 Thread Stefano Forli
s can make sense, in the perspective of forcing to keep the information in the input. An interesting behavior worth reporting in the docs. Thanks, S On 10/10/20 11:27 PM, Stefano Forli wrote: Hi all, we've been looking at migrating our OB2 code to OB3 and we have found differences in ho

Re: [Open Babel] Chirality perception

2020-10-12 Thread Stefano Forli
, This is documented in the "0D structures" section: "if you wish to identify additional stereocenters whose stereo configuration is unspecified, ...then you may wish to trigger perception." The reason we don't do this by default is simply for speed. Regards, Noel On

[Open Babel] Prevent warning messages (Python, OB 3.1.0)

2020-12-18 Thread Stefano Forli
OBMol::PerceiveBondOrders ... I have tried the following code to suppress the messages with no success (I've stopped the logging after trying changing the output level): ob_log = ob.OBMessageHandler() ob_log.SetOutputLevel(0) ob_log.StopLogging() Suggestions are welcome. S -- Stefano

Re: [Open Babel] Prevent warning messages (Python, OB 3.1.0)

2020-12-26 Thread Stefano Forli
Hi Noel, that worked! For the record, this is the code: - from openbabel import openbabel as ob ob.obErrorLog.SetOutputLevel(0) - Thank you much for the help! Happy holidays, Best, S -- Stefano Forli, PhD Assistant Professor Dept. of Integrative Structural and

Re: [Open Babel] Converting SDF to PDBQT using OpenBabel

2021-04-19 Thread Stefano Forli
eforge.net/lists/listinfo/openbabel-discuss ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Associate Professor Dept. of Integrative

[Open Babel] Formal charge perception and protonation

2021-05-04 Thread Stefano Forli
rogen with 5 connections. Interestingly, when parsing the OB atom type of the nitrogen is set to "N3+", so at some point in the chemical perception, this is detected correctly. Yet, if there's an easy way to fix this I couldn't find it. This seems like a bug to me. Any advice? Th

[Open Babel] Alternative to UsetPartialChargesPerceived() in 3.x

2021-09-15 Thread Stefano Forli
hod OBMol::UnsetPartialChargesPerceived() The method is still listed in the comments in molchrg.cpp, but it's not in the OBMol anymore. I've tried looking for alternatives, possibly using the OBMol::UnsetFlag() method, but no luck. Any suggestions? Thank you! S -- Stefano Forli, PhD

Re: [Open Babel] Alternative to UsetPartialChargesPerceived() in 3.x

2021-09-16 Thread Stefano Forli
ssibly using the OBMol::UnsetFlag() method, but no luck. Any suggestions? Thank you! S --   Stefano Forli, PhD   Associate Professor   Dept. of Integrative Structural   and Computational Biology, MB-112A   Scripps Research   10550  North Torrey Pine

[Open Babel] Residue information lost

2021-10-12 Thread Stefano Forli via OpenBabel-discuss
riggered by the bindings or it's a different problem. Also, a while back [1] I reported a behavior that might be related to this bug. Thanks, S [1] https://sourceforge.net/p/openbabel/mailman/message/32894918/ -- Stefano Forli, PhD Associate Professor Dept. of Integrative Structura

Re: [Open Babel] Residue information lost

2021-10-12 Thread Stefano Forli via OpenBabel-discuss
tChainsPerceived(false) in advance on the original OBMol to avoid copying the residues (and then reset it afterwards), or else call it on the new OBMol so that residue information will be reperceived (when requested). Hope that helps, -Geoff -- Stefano Forli, PhD Associate Professor De

Re: [Open Babel] Garbled 3D structures from Python

2021-10-26 Thread Stefano Forli via OpenBabel-discuss
OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss -- Stefano Forli, PhD Associate Professor Dept. of Integrative Structural and Computational Biology, MB-112A Scripps Rese

Re: [Open Babel] count chiral centers

2022-01-25 Thread Stefano Forli via OpenBabel-discuss
enBabel-discuss@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss <https://lists.sourceforge.net/lists/listinfo/openbabel-discuss> ___ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net