glycoinfo / GlycanBuilder2

7 stars 5 forks source link

Links drawn / not drawn from undetermined nodes towards bracket depends on original sequence format... #62

Open edwardsnj opened 1 year ago

edwardsnj commented 1 year ago

The structure G00955WX is drawn with a link towards the bracket if the original sequence is WURCS, but not if it is GlycoCT.

The culprit appears to be this test on line 1614 of AbstractGlycanRederer.java:

!link.getChildResidue().getParentsOfFragment().isEmpty()

which seems to give a different value for GlycoCT representation of the glycan than it does for WURCS.

Presumably this is a bug in the GlycoCT support.

Both sequences and the image, drawn from the GLycoCT sequence, can be found here:

https://edwardslab.bmcb.georgetown.edu/~nedwards/dropbox/oNTcpLeYpI