GlycamWEB can build structures passed through the URI/URL.
We originally used the term URL because we didn’t know better (silly chemists…). Since the term URL is still more widely known than URI, we continue to use both as a reference to this mechanism.
This might be useful when:
- You want to build structures using an automated script.
- Note that many text-based browsers will not work.
- You want to provide access to GlycamWEB structures from another web site.
How to build via URI/URL
1. Express the carbohydrate you want to build using either condensed or glycam notation.
You can also use the internal notation for the Consortium for Functional Glycomics, but that notation will not be covered here.
In glycam notation, sucrose would be
In condensed notation, it would be
2. Build the URI
The URI is composed of three parts.
- The base address, composed of the URL followed by a question mark. In other words: “http://legacy.glycam.org/url?”
- The identifier of the notation you are using. Options are “condensed=” or “glycam=”
- The notation for your sugar
To build the URI, you simply concatenate those three parts in that order.
For example, if you wanted to build this sugar:
The glycam URI would be:
The condensed URI would be: