You are here

LHOC script problem in Rosetta Antibody

2 posts / 0 new
Last post
LHOC script problem in Rosetta Antibody
#1

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

Post Situation: 
Thu, 2019-04-25 14:19
ziheng@mit.edu

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

Thu, 2019-04-25 14:31
ziheng@mit.edu