You are here

How does one convert a PDB file of an antibody to AHO scheme?

3 posts / 0 new
Last post
How does one convert a PDB file of an antibody to AHO scheme?


I'm receiving the following error message:

RuntimeError                              Traceback (most recent call last)
<ipython-input-16-bd34a170c780> in <module>
      3 original_pose = pose.clone()
----> 5 ab_info = antibody.AntibodyInfo(pose, antibody.AHO_Scheme, antibody.North)


File: /home/benchmark/rosetta/source/src/protocols/antibody/
  B): the input pose has two chains, 1). if it is nanobody, the chain should be 'H'. 2). Light chain SCFv not implemented 


#Import a pose
pose = pose_from_pdb("/content/2r01.pdb")
original_pose = pose.clone()


ab_info = antibody.AntibodyInfo(pose, antibody.AHO_Scheme, antibody.North)


Does anyone have a recommendation for how to resolve this?

Post Situation: 
Mon, 2023-02-13 18:14

I've written a custom python script that pulls the sequence from the structure, calls ANARCI and parses that data, then applies the stored numbering scheme back to the structure.

There are some other tools around. PyIgClassify is reported to do this, but I can't find the download at the moment. It requires a license for commercial use.

Mon, 2023-02-13 21:01

If you'd like to drop the code in a comment, I'm happy to try it out. I ended up using PyIgClassify. The submit page converts PDBs (

Wed, 2023-02-15 17:51