JamesSweetJones / abYdraw

Input expressions of antibodies in AbML format and output drawings of their shape
GNU General Public License v3.0
3 stars 1 forks source link

Couldn't draw another one #53

Open AndrewCRMartin opened 1 year ago

AndrewCRMartin commented 1 year ago

Renders OK, but it messed up when I tried to draw it

VHH.a(1)-L(2)-VHH.b(3)-L(4)-H(5:12){2}-CH2(6:13)-CH3(7:14)|VHH.a(8)-L(9)-VHH.b(10)-L(11)-H(12:5){2}-CH2(13:6)-CH3(14:7)
JamesSweetJones commented 1 year ago

Could you let me know how you draw it out? I seem to be able to draw it fine. Will update the script just in case

AndrewCRMartin commented 1 year ago

I still can't draw it with V1.08.

I do as follows:

It generates the following (incorrect) AbML

H(1:4){2}-CH2(2:5)-CH3(3:6)|H(4:11){2}-CH2(5:2)-CH3(6:3)|VHH.a(7)-L(8)-VHH.b(9)-L(10)-H(11:4){2}|VHH.a(12)-L(13)-VHH.b(14)-L(15)-H(16)

and then can't render it.

Here's my drawing

abydraw_53

JamesSweetJones commented 1 year ago

Ah yes I see the problem. It's recognising the hinges as the start of a new chain (which is clearly not correct). I know what bit of code sorts that. Will look into it.

JamesSweetJones commented 1 year ago

Latest commit should fix this