mobiusklein / glypy

Glycan Analysis and Glycoinformatics Library for Python
Apache License 2.0
27 stars 14 forks source link

Investigate GlycoCT REP Section Handling #1

Closed mobiusklein closed 6 years ago

mobiusklein commented 9 years ago

The glycoct parser can handle REP sections now, but only singly-nested ones, and the resulting structure is less stable. Look into why it occasionally threw errors about Monosaccharide has no attribute _derivatize.

mobiusklein commented 9 years ago

The _derivatize issue appeared because of substituents occuring within the glycan graph between monosaccharides, which attempted to serialize them as substituents. Now, better handling needs to be written to deal with adjacent and nested REP sections.

mobiusklein commented 9 years ago

There also appear to be issues with joining internal repeats. This is only necessary if the number of repeats known is exact, but still not well defined enough to parse-and-forget.

mobiusklein commented 6 years ago

Done.