You are here

LHOC script problem in Rosetta Antibody

3 posts / 0 new
Last post
LHOC script problem in Rosetta Antibody

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/ -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/", 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/", 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/", line 129, in plot_hist_and_top_x
    color = color_dict[decoy.template_no]
KeyError: 48

The relevant files are on here:

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

Post Situation: 
Thu, 2019-04-25 14:19

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

Thu, 2019-04-25 14:31

I have the same problem. How to convert the byte to string? Could you provide more details?  Thank you!

Mon, 2022-08-15 02:04