LHOC script problem in Rosetta Antibody

Member Site Forums Rosetta 3 Rosetta 3 – General LHOC script problem in Rosetta Antibody

Viewing 1 reply thread
  • Author
    Posts
    • #3126
      Anonymous

        Hi all,

        I’m getting a problem running the LHOC angle script in the antibody modeling protocol. To reproduce:

        python -m pdb ../rosetta/main/source/scripts/python/public/plot_VL_VH_orientational_coordinates/plot_LHOC.py -h3_fasc H3_modeling_scores.fasc -graft_dir grafting -output_dir vhvl

        I have uploaded the H3_modeling_scores.fasc file and the contents of the grafting directory. Here is the error message:

        Traceback (most recent call last):

          File “../rosetta/main/source/scripts/python/public/plot_VL_VH_orientational_coordinates/plot_LHOC.py”, line 120, in <module>

            score_file = ScoreFile(i, infiles, outpath, names).plot_for_all_coordinates(tempfiles, angles_file)

          File “/cluster/ziheng/rosetta/main/source/scripts/python/public/plot_VL_VH_orientational_coordinates/ScoreFile.py”, line 68, in plot_for_all_coordinates

            self.plot_hist_and_top_x(coord, tempfiles, angles_file)

          File “/cluster/ziheng/rosetta/main/source/scripts/python/public/plot_VL_VH_orientational_coordinates/ScoreFile.py”, line 129, in plot_hist_and_top_x

            color = color_dict[decoy.template_no]

        KeyError: 48

        The relevant files are on here:

        https://drive.google.com/open?id=1-HxJrvePkJU19p70RPem72LvhVndPE57

        When I ran it through thedebugger it seems that all the decoys have template_no 48, whereas the color_dict’s keys is only 0-12 or something. 

        Thanks for the help,

        Ziheng Wang

      • #14680
        Anonymous

          Solved this problem. Just need to convert the numpy byte string to python string first

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