MOL to PDB format

User 2f352eedbe

22-02-2016 10:26:37

Hi! I would like to know two points:


1. Is MarvinSketch able to save ligands in .pdb or .mol2 format?


2. is MarvinSketch able to calculate protonation and add Hydrogens in 3D ligands structures?



Thanks for your answers.


Dhoha

ChemAxon cbb451ac1e

24-02-2016 11:59:08

Hello,


Yes for both is the answer!


Best,


Krisz

User 2f352eedbe

25-02-2016 10:26:07

Hi Krisz,

my aim is to add Hydrogens to my ligands. I extracted HETATM lines from the RCSB PDB and I saved my ligand file in pdb format ligand.pdb.
I could not add Hydrogens with command lines, thus I converted my file into sdf file with "molconvert" to have ligand.sdf, then I used the command:

"ChemAxon/MarvinBeans/bin/cxcalc majormicrospecies -M 7.4 ligand.sdf -f sdf:H > ligand.sdf"

I tried wth different format but I always have the error message:

chemaxon.formats.MolFormatException: Cannot read molecule file.
    at chemaxon.formats.MolInputStream.init(MolInputStream.java:146)
    at chemaxon.formats.MolInputStream.<init>(MolInputStream.java:115)
    at chemaxon.formats.MolImporter.init(MolImporter.java:542)
    at chemaxon.formats.MolImporter.<init>(MolImporter.java:118)
    at chemaxon.marvin.Calculator.run(Calculator.java:1347)
    at chemaxon.marvin.Calculator.main(Calculator.java:2078)
Caused by: chemaxon.formats.MolFormatException: Cannot recognize format ([]?)
Unrecognized file contents:
7.4...

    at chemaxon.formats.recognizer.RecognitionSubsystem.getFormat(RecognitionSubsystem.java:324)
    at chemaxon.formats.MolInputStream.initTextFormat(MolInputStream.java:292)
    at chemaxon.formats.MolInputStream.init(MolInputStream.java:135)
    ... 5 more

Do you know what is the best command line to add Hydrogens to pdb files containing HETATM lines?

Thank you for your help.

Dhoha

ChemAxon d26931946c

25-02-2016 11:58:33

Hi Dhoha,


 


You can add Explicit Hydrogens via molconvert too.


You should use molconvert sdf:H input.sdf -o output.sdf.


 


I recommend using different files as input and output.


BRs


Peter

User 2f352eedbe

25-02-2016 15:55:10

Hi Peter,

actually I would like to have only polar Hydrogens at pH=7.4. I need this before launching a docking. The molconvert command adds all Hydrogens.

Thanks again.

Regards.

Dhoha

ChemAxon d51151248d

02-03-2016 15:28:36

Hi, 


Unfortunately there is no way to add just those Hs that are polar. Molconvert can't do that. 


Daniel

User 2f352eedbe

02-03-2016 15:59:39

Hi Daniel,


yes exactly, but the command cxcalc majormicrospecies adds polar H. I would like to know what is wrong with what I wrote "cxcalc majormicrospecies -M 7.4 ligand.sdf -f sdf:H > ligand.sdf" because I have the same error message:


chemaxon.formats.MolFormatException: Cannot read molecule file.
    at chemaxon.formats.MolInputStream.init(MolInputStream.java:146)
    at chemaxon.formats.MolInputStream.<init>(MolInputStream.java:115)
    at chemaxon.formats.MolImporter.init(MolImporter.java:542)
    at chemaxon.formats.MolImporter.<init>(MolImporter.java:118)
    at chemaxon.marvin.Calculator.run(Calculator.java:1347)
    at chemaxon.marvin.Calculator.main(Calculator.java:2078)
Caused by: chemaxon.formats.MolFormatException: Cannot recognize format ([]?)
Unrecognized file contents:
7.4...

    at chemaxon.formats.recognizer.RecognitionSubsystem.getFormat(RecognitionSubsystem.java:324)
    at chemaxon.formats.MolInputStream.initTextFormat(MolInputStream.java:292)
    at chemaxon.formats.MolInputStream.init(MolInputStream.java:135)
    ... 5 more

Thanks again.


Dhoha



ChemAxon d51151248d

03-03-2016 09:27:58

Hi, 


The command parameter M is for setting the tautomerization during the microspecies calculation. The 7.4 value for this option is not right. I guess you wanted to set the pH value; in that case you should use the -H option instead. So e.g. type


cxcalc majormicrospecies -H 7.4 aspirine -f sdf:H

I hope this helps. 


Daniel

User 2f352eedbe

03-03-2016 10:07:10

Hi Daniel,

thanks for your help! It's exactly the same command as "molconvert sdf:H input.sdf -o output.sdf", it adds all hydrogens. What I wanted to do is to add polar Hydrogens only.

Dhoha

ChemAxon d51151248d

03-03-2016 10:16:40

Hi, 


You can't add just polar Hs as we can't apply a filter when adding Hs to a molecule.


Daniel

User 2f352eedbe

03-03-2016 14:44:03

Thank you very much for your answers!! It helps a lot!


Dhoha