Hi Francesca, As far as I know (someone please correct me if I'm wrong), RDKit can read but cannot save the files in Mol2 format. But if you have the file in SDF format, you can convert them to Mol2 using OpenBabel. The command would be something like:
$ obabel -isdf sdf_file.sdf -omol2 -Omol2_file.mol2 -m The -m tells obabel to split the multimolecule file into individual molecules. -- Gustavo Seabra. On Tue, Jul 27, 2021 at 1:37 PM Francesca Magarotto - francesca.magarot...@studio.unibo.it <francesca.magarot...@studio.unibo.it> wrote: > Hi, > after a cluster analysis using a dataset of compounds from ZINC15 (in > smiles format) I have picked a subset for virtual screening. > However, I have a problem. > The program Dock6 reads only TRIPOS mol2 format: is it possible to convert > the molecules I chose for virtual screening with RDKit? > In ZINC15 the molecules are also provided in mol2 format, but in this case > I download all of them and not only the ones I selected after cluster > analysis. > I don't know what to do. > Thanks, > regards. > _______________________________________________ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss >
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss