You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(21) |
Feb
(20) |
Mar
(40) |
Apr
(38) |
May
(23) |
Jun
(45) |
Jul
(50) |
Aug
(31) |
Sep
(43) |
Oct
(25) |
Nov
(6) |
Dec
(56) |
| 2003 |
Jan
(54) |
Feb
(23) |
Mar
(23) |
Apr
(24) |
May
(19) |
Jun
(49) |
Jul
(8) |
Aug
(22) |
Sep
(40) |
Oct
(43) |
Nov
(131) |
Dec
(17) |
| 2004 |
Jan
(79) |
Feb
(110) |
Mar
(52) |
Apr
(42) |
May
(42) |
Jun
(25) |
Jul
(25) |
Aug
(48) |
Sep
(17) |
Oct
(35) |
Nov
(24) |
Dec
(24) |
| 2005 |
Jan
(50) |
Feb
(37) |
Mar
(33) |
Apr
(17) |
May
(47) |
Jun
(50) |
Jul
(40) |
Aug
(72) |
Sep
(42) |
Oct
(36) |
Nov
(109) |
Dec
(41) |
| 2006 |
Jan
(33) |
Feb
(50) |
Mar
(65) |
Apr
(54) |
May
(31) |
Jun
(31) |
Jul
(19) |
Aug
(19) |
Sep
(4) |
Oct
(16) |
Nov
(61) |
Dec
(20) |
| 2007 |
Jan
(24) |
Feb
(40) |
Mar
(15) |
Apr
(25) |
May
(23) |
Jun
(26) |
Jul
(53) |
Aug
(53) |
Sep
(53) |
Oct
(20) |
Nov
(74) |
Dec
(39) |
| 2008 |
Jan
(67) |
Feb
(26) |
Mar
(28) |
Apr
(47) |
May
(96) |
Jun
(49) |
Jul
(73) |
Aug
(19) |
Sep
(52) |
Oct
(61) |
Nov
(41) |
Dec
(40) |
| 2009 |
Jan
(47) |
Feb
(53) |
Mar
(79) |
Apr
(64) |
May
(41) |
Jun
(133) |
Jul
(49) |
Aug
(39) |
Sep
(18) |
Oct
(55) |
Nov
(76) |
Dec
(27) |
| 2010 |
Jan
(48) |
Feb
(39) |
Mar
(66) |
Apr
(35) |
May
(28) |
Jun
(70) |
Jul
(54) |
Aug
(74) |
Sep
(60) |
Oct
(76) |
Nov
(116) |
Dec
(53) |
| 2011 |
Jan
(68) |
Feb
(67) |
Mar
(116) |
Apr
(63) |
May
(32) |
Jun
(78) |
Jul
(76) |
Aug
(56) |
Sep
(62) |
Oct
(59) |
Nov
(78) |
Dec
(104) |
| 2012 |
Jan
(53) |
Feb
(57) |
Mar
(79) |
Apr
(82) |
May
(91) |
Jun
(46) |
Jul
(89) |
Aug
(66) |
Sep
(38) |
Oct
(106) |
Nov
(50) |
Dec
(99) |
| 2013 |
Jan
(48) |
Feb
(64) |
Mar
(66) |
Apr
(85) |
May
(51) |
Jun
(94) |
Jul
(44) |
Aug
(55) |
Sep
(28) |
Oct
(108) |
Nov
(139) |
Dec
(100) |
| 2014 |
Jan
(54) |
Feb
(57) |
Mar
(37) |
Apr
(47) |
May
(86) |
Jun
(30) |
Jul
(67) |
Aug
(7) |
Sep
(19) |
Oct
(44) |
Nov
(38) |
Dec
(17) |
| 2015 |
Jan
(14) |
Feb
(29) |
Mar
(40) |
Apr
(42) |
May
(35) |
Jun
(34) |
Jul
(20) |
Aug
(12) |
Sep
(28) |
Oct
(30) |
Nov
(52) |
Dec
(7) |
| 2016 |
Jan
(16) |
Feb
(16) |
Mar
(46) |
Apr
(17) |
May
(23) |
Jun
(12) |
Jul
(45) |
Aug
(32) |
Sep
(36) |
Oct
(29) |
Nov
(64) |
Dec
(27) |
| 2017 |
Jan
(30) |
Feb
(43) |
Mar
(55) |
Apr
(21) |
May
(43) |
Jun
(51) |
Jul
(22) |
Aug
(34) |
Sep
(27) |
Oct
(48) |
Nov
(38) |
Dec
(12) |
| 2018 |
Jan
(42) |
Feb
(29) |
Mar
(21) |
Apr
(10) |
May
(13) |
Jun
(29) |
Jul
(32) |
Aug
(17) |
Sep
(9) |
Oct
(9) |
Nov
(39) |
Dec
(41) |
| 2019 |
Jan
(32) |
Feb
(12) |
Mar
(13) |
Apr
(41) |
May
(19) |
Jun
(10) |
Jul
(6) |
Aug
(30) |
Sep
(51) |
Oct
(27) |
Nov
(34) |
Dec
(16) |
| 2020 |
Jan
(9) |
Feb
(13) |
Mar
(65) |
Apr
(39) |
May
(14) |
Jun
(6) |
Jul
(10) |
Aug
(4) |
Sep
(1) |
Oct
(7) |
Nov
(1) |
Dec
(7) |
| 2021 |
Jan
(3) |
Feb
(6) |
Mar
(4) |
Apr
(11) |
May
(3) |
Jun
|
Jul
(6) |
Aug
(26) |
Sep
(4) |
Oct
(15) |
Nov
(4) |
Dec
(13) |
| 2022 |
Jan
(7) |
Feb
(8) |
Mar
(6) |
Apr
(3) |
May
(9) |
Jun
(19) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
(3) |
| 2023 |
Jan
(12) |
Feb
(13) |
Mar
(10) |
Apr
(5) |
May
(5) |
Jun
(8) |
Jul
(5) |
Aug
(10) |
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
(1) |
| 2024 |
Jan
(3) |
Feb
(2) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|
From: Andrew D. <da...@da...> - 2025-09-24 14:10:47
|
Hello Open Babel users,
I've released chemfp 5.0, my Python package for cheminformatics
fingerprint generation, search, and analysis. You can install it on
Linux-based OSes using:
python -m pip install chemfp -i https://chemfp.com/packages/
(Append "--upgrade" if you have already installed it.)
For a description of the changes since 4.2 see
https://chemfp.com/docs/whats_new_in_50.html .
The highlights are:
• Update the FPB format to handle over 1 billion fingerprints.
• New chemfp shardsearch command-line tool which does similarity
search across multiple target files and merges the result.
- Tested with the 977 million structures in GDB-13
• New chemfp simhistogram / chemfp simhist command-line tool and
corresponding chemfp.simhistogram() high-level API function
to create a histogram of similarity scores.
• Initial support for count fingerprints:
- new text-based FPC format based on the FPS format
- rdkit2fpc tool which uses RDKit's sparse fingerprint generators
- fpc2fps tool with various method to convert sparse count
fingerprints to binary fingerprints
• Fast implementations of the 4860-bit Klekota-Roth fingerprint
for the OpenEye and RDKit toolkits.
Chemfp supports all of the Open Babel fingerprints and input
file formats.
Cheers,
Andrew Dalke
da...@da...
--
Have useful but old in-house cheminformatics software in need of refurbishment?
No one left knows how it works or has the time? Perhaps I can help. Contact me.
|
|
From: Chris S. <sw...@ma...> - 2025-02-13 12:53:57
|
Thanks everyone, lots for me to explore Cheers Chris > On 13 Feb 2025, at 12:39, ope...@li... wrote: > > Send OpenBabel-discuss mailing list submissions to > ope...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > or, via email, send a message with subject or body 'help' to > ope...@li... > > You can reach the person managing the list at > ope...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of OpenBabel-discuss digest..." > > > Today's Topics: > > 1. Re: Errors in file conversion (Andrew Dalke) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 12 Feb 2025 22:34:50 +0100 > From: Andrew Dalke <da...@da...> > To: Chris Swain <sw...@ma...> > Cc: Open Babel <ope...@li...> > Subject: Re: [Open Babel] Errors in file conversion > Message-ID: <296...@da...> > Content-Type: text/plain; charset=us-ascii > > On Feb 11, 2025, at 10:06, Chris Swain via OpenBabel-discuss <ope...@li...> wrote: >> I want to convert some very large sdf files to SMILES. I know that some structures will fail to convert. >> >> Is it possible to do the conversion creating two files, one containing the valid SMILES and another file containing the records that failed to convert? Either as a sdf file or simply a text file containing the title of molecules. > > Since Geoff commented that it wasn't possible directly in Open Babel, I'll suggest an alternative. > > Chemfp supports multiple cheminformatics toolkits. To make things easier for me and for chemfp users, I've implemented a "toolkit" wrapper API for consistent molecule I/O across the supported toolkits. > > This includes a "text" toolkit which knows just enough about SMILES and SD files to read the records as text blocks, with no need for a chemistry toolkit. This was designed to get access to the original record in order to, for example, preserve the exact input atom order and aromaticity, or to add a note like "could not process file" to an SD data item. > > For chemfp's Open Babel SDF reader wrapper, I added an option to choose to use Open Babel to read the molecules (this is the default), or to use chemfp's text-based parser to identify the records, and then have Open Babel parse the record to get the molecule. > > Chemfp's wrapper API also has a way to pass in the error handler to use when Open Babel fails to parse a record, eg, to ignore the problem and keep processing, or to stop processing immediately. > > I'm pretty sure you can use the following, with some filename changes, to extract the records you mentioned. > > import sys > > from chemfp.io import ErrorHandler > from chemfp import openbabel_toolkit as T > > # Create a user-defined error handler which writes > # the failing record to the specified file object. > class SaveErrors(ErrorHandler): > def __init__(self, outfile): > self.outfile = outfile > > # Called whenever there is an error. > # The "location" object (always present for file I/O) > # when used with the "chemfp" implementation stores the > # current record in ".record", as a byte string. > def error(self, msg, location=None, extra=None): > assert location is not None > sys.stderr.write(f"ERROR: {msg}\n") > self.outfile.write(location.record) > > with open("errors.sdf", "wb") as err_file: > with T.read_molecules( > "chembl_33.sdf.gz", > # have the chemfp wrapper use chemfp to tokenize SDF > # records instead of letting Open Babel parse everything. > reader_args = {"implementation": "chemfp"}, > # Specify a user-defined error handler > errors = SaveErrors(err_file), > ) as reader: > with T.open_molecule_writer("dest.smi") as writer: > with reader.location.progress_bar() as progress_bar: > writer.write_molecules(progress_bar(reader)) > > This is a bit slower than using Open Babel's native reader, though I don't recall how much. > > If the input is gzip compressed, then you can get a bit extra performance by off-loading the decompression to gzip, rather than use chemfp's own gzip reader, by setting the environment variable CHEMFP_GZIP to "gzip", like this: > > env CHEMFP_GZIP=gzip python chemfp_converter.py > > If you do that, the progress bar will switch from the current read position / total input file size, to showing the number of records processed per second. > > Best regards, > > Andrew > da...@da... > > > > > > > ------------------------------ > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > > ------------------------------ > > End of OpenBabel-discuss Digest, Vol 217, Issue 4 > ************************************************* |
|
From: Andrew D. <da...@da...> - 2025-02-12 21:54:46
|
On Feb 11, 2025, at 10:06, Chris Swain via OpenBabel-discuss <ope...@li...> wrote: > I want to convert some very large sdf files to SMILES. I know that some structures will fail to convert. > > Is it possible to do the conversion creating two files, one containing the valid SMILES and another file containing the records that failed to convert? Either as a sdf file or simply a text file containing the title of molecules. Since Geoff commented that it wasn't possible directly in Open Babel, I'll suggest an alternative. Chemfp supports multiple cheminformatics toolkits. To make things easier for me and for chemfp users, I've implemented a "toolkit" wrapper API for consistent molecule I/O across the supported toolkits. This includes a "text" toolkit which knows just enough about SMILES and SD files to read the records as text blocks, with no need for a chemistry toolkit. This was designed to get access to the original record in order to, for example, preserve the exact input atom order and aromaticity, or to add a note like "could not process file" to an SD data item. For chemfp's Open Babel SDF reader wrapper, I added an option to choose to use Open Babel to read the molecules (this is the default), or to use chemfp's text-based parser to identify the records, and then have Open Babel parse the record to get the molecule. Chemfp's wrapper API also has a way to pass in the error handler to use when Open Babel fails to parse a record, eg, to ignore the problem and keep processing, or to stop processing immediately. I'm pretty sure you can use the following, with some filename changes, to extract the records you mentioned. import sys from chemfp.io import ErrorHandler from chemfp import openbabel_toolkit as T # Create a user-defined error handler which writes # the failing record to the specified file object. class SaveErrors(ErrorHandler): def __init__(self, outfile): self.outfile = outfile # Called whenever there is an error. # The "location" object (always present for file I/O) # when used with the "chemfp" implementation stores the # current record in ".record", as a byte string. def error(self, msg, location=None, extra=None): assert location is not None sys.stderr.write(f"ERROR: {msg}\n") self.outfile.write(location.record) with open("errors.sdf", "wb") as err_file: with T.read_molecules( "chembl_33.sdf.gz", # have the chemfp wrapper use chemfp to tokenize SDF # records instead of letting Open Babel parse everything. reader_args = {"implementation": "chemfp"}, # Specify a user-defined error handler errors = SaveErrors(err_file), ) as reader: with T.open_molecule_writer("dest.smi") as writer: with reader.location.progress_bar() as progress_bar: writer.write_molecules(progress_bar(reader)) This is a bit slower than using Open Babel's native reader, though I don't recall how much. If the input is gzip compressed, then you can get a bit extra performance by off-loading the decompression to gzip, rather than use chemfp's own gzip reader, by setting the environment variable CHEMFP_GZIP to "gzip", like this: env CHEMFP_GZIP=gzip python chemfp_converter.py If you do that, the progress bar will switch from the current read position / total input file size, to showing the number of records processed per second. Best regards, Andrew da...@da... |
|
From: Noel O'B. <bao...@gm...> - 2025-02-12 21:25:42
|
If you use the -e option, I think it will write out an empty SMILES with the title. Or was this something I didn't add in the end... On Wed 12 Feb 2025, 20:34 Chris Swain via OpenBabel-discuss, < ope...@li...> wrote: > Hi, > > Many thanks for the prompt response, > Cheers > Chris > > On 12 Feb 2025, at 20:19, Geoffrey Hutchison <geo...@gm...> > wrote: > > I don’t think at the moment, we have something that copies any entries > with errors. It’s a useful idea. > > -Geoff > > On Feb 11, 2025 at 4:06:09 AM, Chris Swain via OpenBabel-discuss < > ope...@li...> wrote: > >> Hi, >> >> I want to convert some very large sdf files to SMILES. I know that some >> structures will fail to convert. >> >> Is it possible to do the conversion creating two files, one containing >> the valid SMILES and another file containing the records that failed to >> convert? Either as a sdf file or simply a text file containing the title of >> molecules. >> >> Cheers >> >> Chris >> >> _______________________________________________ >> OpenBabel-discuss mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss >> > > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > |
|
From: Chris S. <sw...@ma...> - 2025-02-12 20:33:55
|
Hi, Many thanks for the prompt response, Cheers Chris > On 12 Feb 2025, at 20:19, Geoffrey Hutchison <geo...@gm...> wrote: > > I don’t think at the moment, we have something that copies any entries with errors. It’s a useful idea. > > -Geoff > > On Feb 11, 2025 at 4:06:09 AM, Chris Swain via OpenBabel-discuss <ope...@li... <mailto:ope...@li...>> wrote: >> Hi, >> >> I want to convert some very large sdf files to SMILES. I know that some structures will fail to convert. >> >> Is it possible to do the conversion creating two files, one containing the valid SMILES and another file containing the records that failed to convert? Either as a sdf file or simply a text file containing the title of molecules. >> >> Cheers >> >> Chris >> >> _______________________________________________ >> OpenBabel-discuss mailing list >> Ope...@li... <mailto:Ope...@li...> >> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss |
|
From: Geoffrey H. <geo...@gm...> - 2025-02-12 20:19:39
|
I don’t think at the moment, we have something that copies any entries with errors. It’s a useful idea. -Geoff On Feb 11, 2025 at 4:06:09 AM, Chris Swain via OpenBabel-discuss < ope...@li...> wrote: > Hi, > > I want to convert some very large sdf files to SMILES. I know that some > structures will fail to convert. > > Is it possible to do the conversion creating two files, one containing the > valid SMILES and another file containing the records that failed to > convert? Either as a sdf file or simply a text file containing the title of > molecules. > > Cheers > > Chris > > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > |
|
From: Chris S. <sw...@ma...> - 2025-02-11 09:06:19
|
Hi, I want to convert some very large sdf files to SMILES. I know that some structures will fail to convert. Is it possible to do the conversion creating two files, one containing the valid SMILES and another file containing the records that failed to convert? Either as a sdf file or simply a text file containing the title of molecules. Cheers Chris |
|
From: Jerome P. <j.p...@pa...> - 2025-02-01 16:04:42
|
Dears, After a break in development, I'm pleased to announce the release of the latest version of Mychem (v2.0.0). Mychem is an extension for MySQL adding new chemical SQL functions. This new version supports OpenBabel v3.0.0 and higher, as well as the latest versions of MySQL and MariaDB. GitHub Actions is now used to run CMake-based tests, consolidating the quality of code pushed to the repository. The code can be found on: https://github.com/mychem/mychem-code It is also published on Zenodo: https://zenodo.org/records/14786457 Best, Jérôme |
|
From: Mengyan C. <ca...@bc...> - 2024-11-27 02:01:21
|
Dear Obabel Community, I have encountered an issue while using Open Babel to convert molecular structures from PDB to PDBQT format. It seems that during the conversion process, Open Babel is partitioning the input molecules. This behavior is unexpected, as the input files are correctly formatted and contain single, unified molecules. Here is the command I used for the example file that I attached below: - obabel 1rpu_model1_Protein_Model_1.pdb -O 1rpu_model1_Protein_Model_1_obabel.pdbqt -xr -p 7.4 --partialcharge eem The output file 1rpu_model1_Protein_Model_1_obabel.pdbqt contains multiple TER records. My understanding is that TER marks the end of a chain or a fragment, but in this case, it seems to indicate that molecules are being divided into separate fragments instead of remaining unified. Could you please clarify the following: 1. What exactly does the presence of these excess TER records signify in this context? 2. Would it be appropriate to simply remove the excess TER records? I would greatly appreciate any guidance or recommendations you could provide. Thank you for your attention to this matter. I look forward to your advice. Best regards, Mengyan Cao |
|
From: Overstreet, R. E <ric...@pn...> - 2024-10-25 20:53:30
|
All,
I am having trouble with forcefield constraints in OpenBabel regardless of the potential selected or size of the factor the angle always converges to an unconstrained minima. See the minimal example with carbon dioxide below:
from openbabel import openbabel
obConversion = openbabel.OBConversion()
obConversion.SetInFormat("smi")
mol = openbabel.OBMol()
obConversion.ReadString(mol, "C(=O)=O")
builder = openbabel.OBBuilder()
builder.Build(mol)
constraints = openbabel.OBFFConstraints()
constraints.AddAngleConstraint(2,1,3,float(178.0))
constraints.SetFactor(1e10)
ff = openbabel.OBForceField.FindForceField("gaff")
ff.Setup(mol, constraints)
ff.ConjugateGradients(10000, 1.0e-6)
ff.GetCoordinates(mol)
print(mol.GetAngle(mol.GetAtom(2),mol.GetAtom(1),mol.GetAtom(3)))
This always converges to:
$ python angle_demo.py
179.9743765482302
Any help would be appreciated. I am running Open Babel 3.1.0
Thanks,
Richard Overstreet
|
|
From: Andrew D. <da...@da...> - 2024-09-11 12:57:33
|
Hi Srdjan, The Open Babel source code is available at https://github.com/openbabel/openbabel . Use the green button labeled "<> Code" to get the source code either through the git version control tool, or as a zip file. The UFF implementation is also available through the web interface at https://github.com/openbabel/openbabel/blob/master/src/forcefields/forcefielduff.cpp Andrew da...@da... P.S. For those who only follow the Open Babel list, the author sent a similar email to the RDKit mailing list and seems to have not edited it fully for the new context. I've done that too. > On Sep 11, 2024, at 11:16, Srdjan Pusara <srd...@ho...> wrote: > > Hello, > > I have noticed that openbabel can return atom UFF/MMFF94 atom types, and knowing atom types is first step to compute energy or do energy minimization. However, I am still trying to find a table with all parameters and how these equations were implemented. > > I have also noticed that Rdkit can return force field parameters between group of atoms (bond_params = rdForceFieldHelpers.GetUFFBondStretchParams(mol, 6, 1),angle_params = rdForceFieldHelpers.GetUFFAngleBendParams(mol, 0, 1, 2) etc). > > I would like to ask is it possible to find source code how these interaction terms were implemented? I understand that these equations can be implemented by reading original paper(s), but it would be helpful to access the source code od Openbabel where these interaction terms are already implemented. In addition, I have noticed that original UFF paper has some small errors or typos, so having already implemented source code would help. |
|
From: Srdjan P. <srd...@ho...> - 2024-09-11 09:16:22
|
Hello, I have noticed that openbabel can return atom UFF/MMFF94 atom types, and knowing atom types is first step to compute energy or do energy minimization. However, I am still trying to find a table with all parameters and how these equations were implemented. I have also noticed that Rdkit can return force field parameters between group of atoms (bond_params = rdForceFieldHelpers.GetUFFBondStretchParams(mol, 6, 1),angle_params = rdForceFieldHelpers.GetUFFAngleBendParams(mol, 0, 1, 2) etc). I would like to ask is it possible to find source code how these interaction terms were implemented? I understand that these equations can be implemented by reading original paper(s), but it would be helpful to access the source code od Openbabel where these interaction terms are already implemented. In addition, I have noticed that original UFF paper has some small errors or typos, so having already implemented source code would help. Thanx for help in advance. |
|
From: Raghav, D. - (draghav) <dr...@ar...> - 2024-07-22 23:26:28
|
Hi, The goal of my project is to screen a huge database containing thousands of ligand molecules against my protein of interest. For this, I am using the Enamine database (https://enamine.net/) as a ligand repository. As a default, the database allows us to download the ligands in one single large file in .sdf format. The important thing is that all these ligands are in 2D geometry and not in 3D. Now I was trying to convert the .sdf file into .pdbqt file with 3D geometry using Open Babel 3.1.0. For this purpose, I have been using the following workflow: Obabel -isdf EnamineLigands.sdf -O *.sdf --split. (this is to split the large sdf file into individual sdf files) Then, obabel -isdf *.sdf -opdbqt -O *.pdbqt --gen3D (to convert sdf to pdbqt in 3D at the same time) When I execute this I constantly get the following error message in the terminal *** Open Babel Error in Do 3D coordinate generation failed ============================== *** Open Babel Warning in CorrectStereoAtoms Could not correct 2 stereocenter(s) in this molecule (Spironolactone) with Atom Ids as follows: 12 19 Warning: Stereochemistry is wrong, using the distance geometry method instead Now, when distance geometry method is used by the software it gets stuck for hours and even days. Currently I am only working on a small dataset of ~ 1000 ligands and things are stuck for the last 2 days. I need help from the experts and developers. I hope I can get a work around this problem. Many thanks for reading my mail. Best regards |
|
From: I L <lim...@gm...> - 2024-05-30 10:07:37
|
Hi all,
This is similar to a question/issue posted on https://github.com/openbabel/openbabel/issues/2274 which was left unanswered.
I basically am conducting a conformer searching and then want to use the MM force field energy to rank the conformers, filter them out and take the best x (say 10).
What i have done thus far is :
#generate a number of conformers
obabel A_conformer.sdf -O confs.sdf --confab --conf 100000
#Numerous ways to get output energy based on MM fields
1.
obenergy -ff MMFF94s confs.sdf
2.
obabel confs.sdf -otxt --energy --append "Energy"
But none of this really saves the energy to (say be brought into avogadro to be ranked)
I tried to use
obabel Am_confs.sdf -osmi --filter "Energy < XXXX"
to see if that will filter but I dont think it recognises Energy
Im kind of struck on exactly how I can conduct the filtering process above and would appreciate if someone could guide me on where I'm making mistakes. I'm clearly misusing some of the functions and hope someone could help me out here. Appreciate any help on this matter.
Best regards,
Ingso
|
|
From: Geoffrey H. <geo...@gm...> - 2024-02-27 17:25:06
|
> > I either start from SMILES and/or add atoms and bonds to an obmol object. > I can change the tetrahedral stereochemistry of the molecules with ease, > but I can't seem to do it for cis/trans isomers. > … > I tried to change the configuration of the OBStereoFacade for the bond in > question, but it did nothing. > I tried rotating the atoms around the bond and minimizing the > molecule, but nothing. > If you start from a SMILES string, you can easily change the stereoisomers around a double bond by changing the ‘/‘ or ‘\’ characters as needed. If you’re modifying the underlying coordinates, you will need to make sure stereo is re-perceived from the 3D coordinates, as indicated in the manual: https://open-babel.readthedocs.io/en/latest/Stereochemistry/stereo.html#stereo-perception "If operations are performed on the molecule that require stereo is be reperceived, then OBMol::SetChiralityPerceived(false) should be called.” Best regards, -Geoff --- Prof. Geoffrey Hutchison Department of Chemistry University of Pittsburgh tel: (412) 648-0492 email: ge...@pi... web: https://hutchisonlab.org/ |
|
From: Álex B. <ale...@br...> - 2024-02-26 15:33:10
|
Dear development team, I am writing to seek assistance with a challenge I've encountered while working on a Python script for creating and modifying molecules. I either start from SMILES and/or add atoms and bonds to an obmol object. I can change the tetrahedral stereochemistry of the molecules with ease, but I can't seem to do it for cis/trans isomers. As is understood from the documentation there is no implementation for changing the stereochemistry of either double bonds or square planar molecules, just query on the stereochemistry of the molecules, but I tried the following: I tried to change the configuration of the OBStereoFacade for the bond in question, but it did nothing. I tried rotating the atoms around the bond and minimizing the molecule, but nothing. I would greatly appreciate any help in this matter! If this functionality is not supported, could you recommend another library/program that I could use? Thank you very much for your time and assistance. Best wishes, Álex Kálmán Balogh Ale...@br... Staff Scientist www.brianqc.com |
|
From: David v. d. S. <dav...@ic...> - 2024-01-15 20:25:07
|
On 2024-01-15 21:21, Geoffrey Hutchison wrote: > Dear David, > > Of course we are happy to have an updated forcefield - I’m sure others > will use it. Ok, I will try and start with the GAFF stuff. > > Out of curiosity, does this include the polarizable electrostatics or > does it just use whatever partial charges are assigned already? The part of the code that I refer to would onlybe for atomtyping. The force field code is not implemented in OpenBabel, but it would be relatively easy to to implement charge generation. > > Thanks and best regards, > -Geoff > > --- > Prof. Geoffrey Hutchison > Department of Chemistry > University of Pittsburgh > tel: (412) 648-0492 > email: ge...@pi... > web: https://hutchisonlab.org/ > > > On Jan 15, 2024 at 2:41:00 PM, David van der Spoel > <dav...@ic...> wrote: >> Dear devs, >> >> my group have worked on implementing a better representation of the GAFF >> atomtypes, as well as our own set of atomtypes for the upcoming >> Alexandria force field. We updated the gaff.prm file and added a new >> .prm file and forcefieldalexandria.cpp/h files. The code is available >> from https://github.com/dspoel/openbabel >> >> Is there any interest to include any of this into the main openbabel >> repository? I would then port my changes to the latest openbabel and >> submit a pull-request. >> >> Cheers, >> >> -- >> David van der Spoel, Ph.D., >> Professor of Computational Molecular Biophysics >> Uppsala University. >> http://virtualchemistry.org >> >> >> >> >> >> >> >> >> >> När du har kontakt med oss på Uppsala universitet med e-post så >> innebär det att vi behandlar dina personuppgifter. För att läsa mer >> om hur vi gör det kan du läsa här: >> http://www.uu.se/om-uu/dataskydd-personuppgifter/ >> >> E-mailing Uppsala University means that we will process your personal >> data. For more information on how this is performed, please read >> here: http://www.uu.se/en/about-uu/data-protection-policy >> >> >> _______________________________________________ >> OpenBabel-discuss mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > > > VARNING: Klicka inte på länkar och öppna inte bilagor om du inte > känner igen avsändaren och vet att innehållet är säkert. > CAUTION: Do not click on links or open attachments unless you > recognise the sender and know the content is safe. -- David van der Spoel, Ph.D., Professor of Computational Molecular Biophysics Uppsala University. http://virtualchemistry.org När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy |
|
From: Geoffrey H. <geo...@gm...> - 2024-01-15 20:22:03
|
Dear David, Of course we are happy to have an updated forcefield - I’m sure others will use it. Out of curiosity, does this include the polarizable electrostatics or does it just use whatever partial charges are assigned already? Thanks and best regards, -Geoff --- Prof. Geoffrey Hutchison Department of Chemistry University of Pittsburgh tel: (412) 648-0492 email: ge...@pi... web: https://hutchisonlab.org/ On Jan 15, 2024 at 2:41:00 PM, David van der Spoel < dav...@ic...> wrote: > Dear devs, > > my group have worked on implementing a better representation of the GAFF > atomtypes, as well as our own set of atomtypes for the upcoming > Alexandria force field. We updated the gaff.prm file and added a new > .prm file and forcefieldalexandria.cpp/h files. The code is available > from https://github.com/dspoel/openbabel > > Is there any interest to include any of this into the main openbabel > repository? I would then port my changes to the latest openbabel and > submit a pull-request. > > Cheers, > > -- > David van der Spoel, Ph.D., > Professor of Computational Molecular Biophysics > Uppsala University. > http://virtualchemistry.org > > > > > > > > > > När du har kontakt med oss på Uppsala universitet med e-post så innebär > det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör > det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ > > E-mailing Uppsala University means that we will process your personal > data. For more information on how this is performed, please read here: > http://www.uu.se/en/about-uu/data-protection-policy > > > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > |
|
From: David v. d. S. <dav...@ic...> - 2024-01-15 19:57:53
|
Dear devs, my group have worked on implementing a better representation of the GAFF atomtypes, as well as our own set of atomtypes for the upcoming Alexandria force field. We updated the gaff.prm file and added a new .prm file and forcefieldalexandria.cpp/h files. The code is available from https://github.com/dspoel/openbabel Is there any interest to include any of this into the main openbabel repository? I would then port my changes to the latest openbabel and submit a pull-request. Cheers, -- David van der Spoel, Ph.D., Professor of Computational Molecular Biophysics Uppsala University. http://virtualchemistry.org När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy |
|
From: Masse <moh...@gm...> - 2023-12-05 09:28:51
|
I have 3400 files in canonical smiles format and I use "obabel -ismi drug-smiles/* -opdb -O drug-pdb/*.pdb" to convert my SMILES to pdb file. First, is this the correct way of converting? and second, I would like to have the name of the drug included in the pdb file, how should I do that? example: BALSALAZIDE.smile > O=C(O)CCNC(=O)c1ccc(/N=N/c2ccc(O)c(C(=O)O)c2)cc1 output is: COMPND UNNAMED AUTHOR GENERATED BY OPEN BABEL 3.1.1 HETATM 1 O UNL 1 0.000 0.000 0.000 1.00 0.00 O HETATM 2 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 3 O UNL 1 0.000 0.000 0.000 1.00 0.00 O HETATM 4 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 5 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 6 N UNL 1 0.000 0.000 0.000 1.00 0.00 N HETATM 7 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 8 O UNL 1 0.000 0.000 0.000 1.00 0.00 O HETATM 9 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 10 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 11 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 12 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 13 N UNL 1 0.000 0.000 0.000 1.00 0.00 N HETATM 14 N UNL 1 0.000 0.000 0.000 1.00 0.00 N HETATM 15 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 16 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 17 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 18 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 19 O UNL 1 0.000 0.000 0.000 1.00 0.00 O HETATM 20 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 21 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 22 O UNL 1 0.000 0.000 0.000 1.00 0.00 O HETATM 23 O UNL 1 0.000 0.000 0.000 1.00 0.00 O HETATM 24 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 25 C UNL 1 0.000 0.000 0.000 1.00 0.00 C HETATM 26 C UNL 1 0.000 0.000 0.000 1.00 0.00 C CONECT 1 2 2 CONECT 2 1 1 3 4 CONECT 3 2 CONECT 4 2 5 CONECT 5 4 6 CONECT 6 5 7 CONECT 7 6 8 8 9 CONECT 8 7 7 CONECT 9 7 26 26 10 CONECT 10 9 11 11 CONECT 11 10 10 12 CONECT 12 11 13 25 25 CONECT 13 12 14 14 CONECT 14 13 13 15 CONECT 15 14 24 24 16 CONECT 16 15 17 17 CONECT 17 16 16 18 CONECT 18 17 19 20 20 CONECT 19 18 CONECT 20 18 18 21 24 CONECT 21 20 22 22 23 CONECT 22 21 21 CONECT 23 21 CONECT 24 20 15 15 CONECT 25 12 12 26 CONECT 26 25 9 9 MASTER 0 0 0 0 0 0 0 0 26 0 26 0 END |
|
From: Sivani B. <siv...@ng...> - 2023-11-13 09:43:39
|
Hello, I am looking for an opensource tautomerization tool. I saw that in the release notes for 3.1.0 there was mention of a "Fixed tautomer code" and in 2.1.1 about "tautomer standardization" but I can't find any documentation regarding it in https://open-babel.readthedocs.io/. I know of the Cactus Tautomerizer (https://cactus.nci.nih.gov/cgi-bin/tautomerize.tcl) but I am looking to run this process on a large number of chemicals (100K+). I'm also aware both CDK and RDKit have tautomerizer options. Is tautomerization is a feature in openbabel? If so, where I can find more information? Thanks, Sivani P.S. - thanks to those who provided assistance with a previous ask on InChI conversions! The confidentiality or integrity of this message can not be guaranteed following transmission on the Internet. The addressee should be aware of this before using the contents of this message. |
|
From: Geoffrey H. <geo...@gm...> - 2023-11-04 16:20:10
|
You can run “ctest” to run the tests. In these particular cases, there is little difference between the data types - these warnings do not show up with other compilers. -Geoff On Nov 4, 2023 at 7:44:45 AM, Dhruv J <dhr...@gm...> wrote: > Hello, > How can I know if I have built openbabel correctly, because now I am not > getting error but am getting warnings instead > ``` > C:\Users\dhruv\Desktop\openbabel\openbabel\test\../src/rand.cpp(329,21): > warnin > g C4244: 'return': conversion from '__int64' to 'int', possible loss of > data [C > :\Users\dhruv\Desktop\openbabel\build\test\test_runner.vcxproj] > C:\Users\dhruv\Desktop\openbabel\openbabel\test\../src/rand.cpp(335,15): > warnin > g C4244: 'return': conversion from '__int64' to 'int', possible loss of > data [C > :\Users\dhruv\Desktop\openbabel\build\test\test_runner.vcxproj] > > Generating Code... > test_runner.vcxproj -> > C:\Users\dhruv\Desktop\openbabel\build\bin\Debug\test_ > runner.exe > Building Custom Rule > C:/Users/dhruv/Desktop/openbabel/openbabel/CMakeLists.tx > ``` > > Also, can you please suggest any of the issues from which I can get > started with ....my contributions to openbabel > > On Fri, Nov 3, 2023 at 3:12 AM Geoffrey Hutchison < > geo...@gm...> wrote: > >> The MAE parser has some definite issues. >> >> Try running “ccmake” to turn off WITH_MAEPARSER or run “cmake >> -DWITH_MAEPARSER=OFF” >> >> Hope that helps, >> -Geoff >> >> On Nov 2, 2023 at 2:00:12 PM, Dhruv J <dhr...@gm...> >> wrote: >> >>> Hello everyone, >>> I am Dhruv, a third year Computer Engineering undergrad from Mumbai, >>> India. I am a data science and Machine learning enthusiast. I am interested >>> in contributing to OpenBabel (I am aware of python and C++) but am very new >>> to Open Source. I am trying to build openbabel from source in windows but I >>> am encountering some errors >>> >>> C:\Users\dhruv\Desktop\openbabel\build\bin\Debug\maeparser.dll : fatal >>> error LNK1120: 33 unresolved externals >>> [C:\Users\dhruv\Desktop\openbabel\build\external\maeparser-v1 >>> .2.3\maeparser\maeparser.vcxproj] >>> Generating atomizationenergies.h >>> Generating atomtyp.h >>> Generating bondtyp.h >>> Generating phmodeldata.h >>> Generating resdata.h >>> Generating ringtyp.h >>> Generating spacegroups.h >>> Generating torlib.h >>> Generating types.h >>> Building Custom Rule >>> C:/Users/dhruv/Desktop/openbabel/openbabel/data/CMakeLists.txt >>> >>> I am running the build process from the terminal using cmake --build >>> command. >>> Can anyone please help me to solve this problem? >>> >>> Also Can anyone provide me with a beginner friendly issue so I can start >>> contributing to openbabel. >>> Thank you very much >>> >>> _______________________________________________ >>> OpenBabel-discuss mailing list >>> Ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss >>> >> |
|
From: Geoffrey H. <geo...@gm...> - 2023-11-02 21:42:22
|
The MAE parser has some definite issues. Try running “ccmake” to turn off WITH_MAEPARSER or run “cmake -DWITH_MAEPARSER=OFF” Hope that helps, -Geoff On Nov 2, 2023 at 2:00:12 PM, Dhruv J <dhr...@gm...> wrote: > Hello everyone, > I am Dhruv, a third year Computer Engineering undergrad from Mumbai, > India. I am a data science and Machine learning enthusiast. I am interested > in contributing to OpenBabel (I am aware of python and C++) but am very new > to Open Source. I am trying to build openbabel from source in windows but I > am encountering some errors > > C:\Users\dhruv\Desktop\openbabel\build\bin\Debug\maeparser.dll : fatal > error LNK1120: 33 unresolved externals > [C:\Users\dhruv\Desktop\openbabel\build\external\maeparser-v1 > .2.3\maeparser\maeparser.vcxproj] > Generating atomizationenergies.h > Generating atomtyp.h > Generating bondtyp.h > Generating phmodeldata.h > Generating resdata.h > Generating ringtyp.h > Generating spacegroups.h > Generating torlib.h > Generating types.h > Building Custom Rule > C:/Users/dhruv/Desktop/openbabel/openbabel/data/CMakeLists.txt > > I am running the build process from the terminal using cmake --build > command. > Can anyone please help me to solve this problem? > > Also Can anyone provide me with a beginner friendly issue so I can start > contributing to openbabel. > Thank you very much > > _______________________________________________ > OpenBabel-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > |
|
From: Dhruv J <dhr...@gm...> - 2023-11-02 18:00:37
|
Hello everyone, I am Dhruv, a third year Computer Engineering undergrad from Mumbai, India. I am a data science and Machine learning enthusiast. I am interested in contributing to OpenBabel (I am aware of python and C++) but am very new to Open Source. I am trying to build openbabel from source in windows but I am encountering some errors C:\Users\dhruv\Desktop\openbabel\build\bin\Debug\maeparser.dll : fatal error LNK1120: 33 unresolved externals [C:\Users\dhruv\Desktop\openbabel\build\external\maeparser-v1 .2.3\maeparser\maeparser.vcxproj] Generating atomizationenergies.h Generating atomtyp.h Generating bondtyp.h Generating phmodeldata.h Generating resdata.h Generating ringtyp.h Generating spacegroups.h Generating torlib.h Generating types.h Building Custom Rule C:/Users/dhruv/Desktop/openbabel/openbabel/data/CMakeLists.txt I am running the build process from the terminal using cmake --build command. Can anyone please help me to solve this problem? Also Can anyone provide me with a beginner friendly issue so I can start contributing to openbabel. Thank you very much |
|
From: Geoffrey H. <geo...@gm...> - 2023-10-24 20:58:47
|
Unfortunately, as part of a routine hosting update (e.g., my provider changed DNS) the openbabel.org website is currently down. It’s not clear from the logs why the site remains down. I’m going to take the opportunity to cleanup a new website based on Noel O’Boyle’s excellent docs: https://open-babel.readthedocs.io/en/latest/ If you have particular feedback as to the site (e.g., API docs for old versions), please let me know. (All the files are intact, it’s just stuck in a redirect loop for no obvious reason.) If you’d like to help, I will be going off of https://github.com/openbabel/openbabel.github.io (Although I may switch from Jekyll to Spinx + Markdown, since Noel’s docs are already formatted.) Best, -Geoff |