ValueError: can only read V2000 format files

Member Site Forums PyRosetta PyRosetta – Scripts ValueError: can only read V2000 format files

Viewing 1 reply thread
  • Author
    Posts
    • #3670
      Anonymous

        I’m providing the molfile_to_params.py with the enzyme-ligand complex of my molecule but unfortunetly it gives the “ValueError: can only read V2000 format files” error. Previously i gave it the individual ligand file and it processed with no problems. But when i try to process this file it doesn’t seem to work. I suspect the problem is about the chemical table file formats and something in my code is from V3000 but i’m a begginer so i don’t know what.

        I will attach the text files of both the ligand .mol file and the complex .mol file. 

        If the community help me fix the problem, i would be really thankful.

        Thanks!

      • #15689
        Anonymous

          The molfile_to_params.py  file is only used to create a residue type description (params file) of a single ligand. You would _not_ use it to convert a full enzyme-ligand complex.

          Instead, you’d process just the respresentative structure of your ligand (as a mol file) through the molfile_to_params.py script. Your enzyme-ligand complex would instead be entered directly into Rosetta as a PDB formatted file. The only trick is to make sure that the three letter code of your ligand in the PDB file matches the three letter code that’s specified in the params file.

          If you have your complex as a mol file, I’d recommend going back to the program which generated the mol file of the complex and asking it to generate a PDB file instead. (There are ways to convert a mol file to a PDB file, but they tend not to work well in the abstract. It’s better to go back to the program which originally generated the mol file and get it to do the conversion.)

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.