Skip to content

Glycan Registration Workflow

Fatma Sena Arpinar edited this page Dec 3, 2025 · 4 revisions
flowchart TD
    classDef sub opacity:0
    classDef note fill:#ffd, stroke:#ccb
    
    subgraph subAA [" "]
        AA
        noteAA[<a href="https://github.com/glygener/glygen-array-backend/wiki/Glycan-API-usage#retrieve-accession-number-glytoucan-id-for-a-glycan-with-wurcs-sequence-1">See details</a>]
    end

    subgraph subC [" "]
        C
       noteC[<a href="https://github.com/glycoinfo/GlycanFormatConverter.git">org.glycoinfo.WURCSFramework.io.GlycoCT.WURCSExporterGlycoCT</a><br><a href="https://gitlab.com/glycoinfo/glycompconverter.git">org.glycoinfo.GlycanCompositionConverter.utils.CompositionUtils</a>]
    end

    subgraph subV [" "]
        V
        noteV[<a href="https://gitlab.com/glycoinfo/wurcsframework.git">org.glycoinfo.WURCSFramework.util.validation.WURCSValidator</a>]
    end
    
    subgraph subG [" "]
        G
        noteG[<a href="https://github.com/glygener/glygen-array-backend/wiki/Glycan-API-usage#retrieve-accession-number-glytoucan-id-for-a-glycan-with-wurcs-sequence">See details</a>]
    end

    subgraph subR [" "]
        R
        noteR[<a href="https://github.com/glygener/glygen-array-backend/wiki/Glycan-API-usage#for-registering-new-glycans">See details</a>]
    end
    
    class subAA,subC,subV,subG,subR sub
    class noteAA,noteC,noteV,noteG,noteR note


    A(["Add Glycan"])
    A --> T{Input Type}
    T --> |Composition| C[Convert to WURCS]
    T --> |GWS| C[Convert to WURCS]
    T --> |GlycoCT| C[Convert to WURCS]
    T --> |Wurcs| V
    C --> V[Validate]
    V --> W[Standardized WURCS]
    W --> G{"Retrieve GlyTouCan Id"}
    G --> |API Failure| AA{"Retrieve GlyTouCan Id using Alternate"}
    AA --> |No GlyToucan|R["Register Glycan"]
    AA --> |GlyTouCan ID| S["Add Glycan to Repository"]
    G --> |No GlyToucan|R["Register Glycan"]
    G --> |GlyTouCan ID| S["Add Glycan to Repository"]
    R --> S
Loading

Clone this wiki locally