Swiss Institute of Bioinformatics
How to obtain a correct mol2 file?Please, note that the mol2 files submitted to SwissParam should contain all the hydrogen atoms of the molecule.
First of all, try the mol2 file you already have . Most of the mol2 files will work, whatever their origin. If one fails, you can try one of the following:
- get it from the ZINC Database if the molecule is already known,
- or, if the molecule comes from a PDB file (e.g. a ligand), you can use the UCSF chimera visualization software to open the PDB file, remove all molecules except the one of interest, add hydrogen atoms (using the Tools/Structure Editing/AddH menu), and save it as a mol2 file,
- or use openbabel to convert a correct 3D file from another format into the mol2 format,
- or draw the molecule in 2D in Chemaxon Marvin Sketch (free), add hydrogens, generate 3D coordinates and save the molecule in the "MDL molfile (mol)" format. Then convert the mol file into a mol2 file using openbabel.
Click here to go back to SwissParam.