[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M735KFBAP2DQ14NG536Y8K2S":3,"skill-same:01M735KFBAP2DQ14NG536Y8K2S":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M735KFBAP2DQ14NG536Y8K2S","alterlab-glycoengineering",null,"Analyze and engineer protein glycosylation. Scan sequences for N-glycosylation sequons (N-X-S\u002FT), predict O-glycosylation hotspots, and access curated glycoengineering tools (NetOGlyc, GlycoShield, GlycoWorkbench). For glycoprotein engineering, therapeutic antibody optimization, and vaccine design. Part of the AlterLab Academic Skills suite.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Falterlab-glycoengineering\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: alterlab-glycoengineering\ndescription: Analyze and engineer protein glycosylation. Scan sequences for N-glycosylation sequons (N-X-S\u002FT), predict O-glycosylation hotspots, and access curated glycoengineering tools (NetOGlyc, GlycoShield, GlycoWorkbench). For glycoprotein engineering, therapeutic antibody optimization, and vaccine design. Part of the AlterLab Academic Skills suite.\nlicense: MIT\nmetadata:\n    skill-author: AlterLab\n    version: \"1.0.0\"\n---\n\n# Glycoengineering\n\n## Overview\n\nGlycosylation is the most common and complex post-translational modification (PTM) of proteins, affecting over 50% of all human proteins. Glycans regulate protein folding, stability, immune recognition, receptor interactions, and pharmacokinetics of therapeutic proteins. Glycoengineering involves rational modification of glycosylation patterns for improved therapeutic efficacy, stability, or immune evasion.\n\n**Two major glycosylation types:**\n- **N-glycosylation**: Attached to asparagine (N) in the sequon N-X-[S\u002FT] where X ≠ Proline; occurs in the ER\u002FGolgi\n- **O-glycosylation**: Attached to serine (S) or threonine (T); no strict consensus motif; primarily GalNAc initiation\n\n## When to Use This Skill\n\nUse this skill when:\n\n- **Antibody engineering**: Optimize Fc glycosylation for enhanced ADCC, CDC, or reduced immunogenicity\n- **Therapeutic protein design**: Identify glycosylation sites that affect half-life, stability, or immunogenicity\n- **Vaccine antigen design**: Engineer glycan shields to focus immune responses on conserved epitopes\n- **Biosimilar characterization**: Compare glycan patterns between reference and biosimilar\n- **Drug target analysis**: Does glycosylation affect target engagement for a receptor?\n- **Protein stability**: N-glycans often stabilize proteins; identify sites for stabilizing mutations\n\n## N-Glycosylation Sequon Analysis\n\n### Scanning for N-Glycosylation Sites\n\nN-glycosylation occurs at the sequon **N-X-[S\u002FT]** where X ≠ Proline.\n\n```python\nimport re\nfrom typing import List, Tuple\n\ndef find_n_glycosylation_sequons(sequence: str) -> List[dict]:\n    \"\"\"\n    Scan a protein sequence for canonical N-linked glycosylation sequons.\n    Motif: N-X-[S\u002FT], where X ≠ Proline.\n\n    Args:\n        sequence: Single-letter amino acid sequence\n\n    Returns:\n        List of dicts with position (1-based), motif, and context\n    \"\"\"\n    seq = sequence.upper()\n    results = []\n    i = 0\n    while i \u003C= len(seq) - 3:\n        triplet = seq[i:i+3]\n        if triplet[0] == 'N' and triplet[1] != 'P' and triplet[2] in {'S', 'T'}:\n            context = seq[max(0, i-3):i+6]  # ±3 residue context\n            results.append({\n                'position': i + 1,   # 1-based\n                'motif': triplet,\n                'context': context,\n                'sequon_type': 'NXS' if triplet[2] == 'S' else 'NXT'\n            })\n            i += 3\n        else:\n            i += 1\n    return results\n\ndef summarize_glycosylation_sites(sequence: str, protein_name: str = \"\") -> str:\n    \"\"\"Generate a research log summary of N-glycosylation sites.\"\"\"\n    sequons = find_n_glycosylation_sequons(sequence)\n\n    lines = [f\"# N-Glycosylation Sequon Analysis: {protein_name or 'Protein'}\"]\n    lines.append(f\"Sequence length: {len(sequence)}\")\n    lines.append(f\"Total N-glycosylation sequons: {len(sequons)}\")\n\n    if sequons:\n        lines.append(f\"\\nN-X-S sites: {sum(1 for s in sequons if s['sequon_type'] == 'NXS')}\")\n        lines.append(f\"N-X-T sites: {sum(1 for s in sequons if s['sequon_type'] == 'NXT')}\")\n        lines.append(f\"\\nSite details:\")\n        for s in sequons:\n            lines.append(f\"  Position {s['position']}: {s['motif']} (context: ...{s['context']}...)\")\n    else:\n        lines.append(\"No canonical N-glycosylation sequons detected.\")\n\n    return \"\\n\".join(lines)\n\n# Example: IgG1 Fc region\nfc_sequence = \"APELLGGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVKFNWYVDGVEVHNAKTKPREEQYNSTYRVVSVLTVLHQDWLNGKEYKCKVSNKALPAPIEKTISKAKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPVLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPGK\"\nprint(summarize_glycosylation_sites(fc_sequence, \"IgG1 Fc\"))\n```\n\n### Mutating N-Glycosylation Sites\n\n```python\ndef eliminate_glycosite(sequence: str, position: int, replacement: str = \"Q\") -> str:\n    \"\"\"\n    Eliminate an N-glycosylation site by substituting Asn → Gln (conservative).\n\n    Args:\n        sequence: Protein sequence\n        position: 1-based position of the Asn to mutate\n        replacement: Amino acid to substitute (default Q = Gln; similar size, not glycosylated)\n\n    Returns:\n        Mutated sequence\n    \"\"\"\n    seq = list(sequence.upper())\n    idx = position - 1\n    assert seq[idx] == 'N', f\"Position {position} is '{seq[idx]}', not 'N'\"\n    seq[idx] = replacement.upper()\n    return ''.join(seq)\n\ndef add_glycosite(sequence: str, position: int, flanking_context: str = \"S\") -> str:\n    \"\"\"\n    Introduce an N-glycosylation site by mutating a residue to Asn,\n    and ensuring X ≠ Pro and +2 = S\u002FT.\n\n    Args:\n        position: 1-based position to introduce Asn\n        flanking_context: 'S' or 'T' at position+2 (if modification needed)\n    \"\"\"\n    seq = list(sequence.upper())\n    idx = position - 1\n\n    # Mutate to Asn\n    seq[idx] = 'N'\n\n    # Ensure X+1 != Pro (mutate to Ala if needed)\n    if idx + 1 \u003C len(seq) and seq[idx + 1] == 'P':\n        seq[idx + 1] = 'A'\n\n    # Ensure X+2 = S or T\n    if idx + 2 \u003C len(seq) and seq[idx + 2] not in ('S', 'T'):\n        seq[idx + 2] = flanking_context\n\n    return ''.join(seq)\n```\n\n## O-Glycosylation Analysis\n\n### Heuristic O-Glycosylation Hotspot Prediction\n\n```python\ndef predict_o_glycosylation_hotspots(\n    sequence: str,\n    window: int = 7,\n    min_st_fraction: float = 0.4,\n    disallow_proline_next: bool = True\n) -> List[dict]:\n    \"\"\"\n    Heuristic O-glycosylation hotspot scoring based on local S\u002FT density.\n    Not a substitute for NetOGlyc; use as fast baseline.\n\n    Rules:\n    - O-GalNAc glycosylation clusters on Ser\u002FThr-rich segments\n    - Flag Ser\u002FThr residues in windows enriched for S\u002FT\n    - Avoid S\u002FT immediately followed by Pro (TP\u002FSP motifs inhibit GalNAc-T)\n\n    Args:\n        window: Odd window size for local S\u002FT density\n        min_st_fraction: Minimum fraction of S\u002FT in window to flag site\n    \"\"\"\n    if window % 2 == 0:\n        window = 7\n    seq = sequence.upper()\n    half = window \u002F\u002F 2\n    candidates = []\n\n    for i, aa in enumerate(seq):\n        if aa not in ('S', 'T'):\n            continue\n        if disallow_proline_next and i + 1 \u003C len(seq) and seq[i+1] == 'P':\n            continue\n\n        start = max(0, i - half)\n        end = min(len(seq), i + half + 1)\n        segment = seq[start:end]\n        st_count = sum(1 for c in segment if c in ('S', 'T'))\n        frac = st_count \u002F len(segment)\n\n        if frac >= min_st_fraction:\n            candidates.append({\n                'position': i + 1,\n                'residue': aa,\n                'st_fraction': round(frac, 3),\n                'window': f\"{start+1}-{end}\",\n                'segment': segment\n            })\n\n    return candidates\n```\n\n## External Glycoengineering Tools\n\n### 1. NetOGlyc 4.0 (O-glycosylation prediction)\n\nWeb service for high-accuracy O-GalNAc site prediction:\n- **URL**: https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fservices\u002FNetOGlyc-4.0\u002F\n- **Input**: FASTA protein sequence\n- **Output**: Per-residue O-glycosylation probability scores\n- **Method**: Neural network trained on experimentally verified O-GalNAc sites\n\n```python\nimport requests\n\ndef submit_netoglycv4(fasta_sequence: str) -> str:\n    \"\"\"\n    Submit sequence to NetOGlyc 4.0 web service.\n    Returns the job URL for result retrieval.\n\n    Note: This uses the DTU Health Tech web service. Results take ~1-5 min.\n    \"\"\"\n    url = \"https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fcgi-bin\u002Fwebface2.cgi\"\n    # NetOGlyc submission (parameters may vary with web service version)\n    # Recommend using the web interface directly for most use cases\n    print(\"Submit sequence at: https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fservices\u002FNetOGlyc-4.0\u002F\")\n    return url\n\n# Also: NetNGlyc for N-glycosylation prediction\n# URL: https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fservices\u002FNetNGlyc-1.0\u002F\n```\n\n### 2. GlycoShield-MD (Glycan Shielding Analysis)\n\nGlycoShield-MD analyzes how glycans shield protein surfaces during MD simulations:\n- **URL**: https:\u002F\u002Fgitlab.mpcdf.mpg.de\u002Fdioscuri-biophysics\u002Fglycoshield-md\u002F\n- **Use**: Map glycan shielding on protein surface over MD trajectory\n- **Output**: Per-residue shielding fraction, visualization\n\n```bash\n# Installation\npip install glycoshield\n\n# Basic usage: analyze glycan shielding from glycosylated protein MD trajectory\nglycoshield \\\n    --topology glycoprotein.pdb \\\n    --trajectory glycoprotein.xtc \\\n    --glycan_resnames BGLCNA FUC \\\n    --output shielding_analysis\u002F\n```\n\n### 3. GlycoWorkbench (Glycan Structure Drawing\u002FAnalysis)\n\n- **URL**: https:\u002F\u002Fgithub.com\u002Fglycoinfo\u002Feurocarbdb\n- **Use**: Draw glycan structures, calculate masses, annotate MS spectra\n- **Format**: GlycoCT, IUPAC condensed glycan notation\n\n### 4. GlyConnect (Glycan-Protein Database)\n\n- **URL**: https:\u002F\u002Fglyconnect.expasy.org\u002F\n- **Use**: Find experimentally verified glycoproteins and glycosylation sites\n- **Query**: By protein (UniProt ID), glycan structure, or tissue\n\n```python\nimport requests\n\ndef query_glyconnect(uniprot_id: str) -> dict:\n    \"\"\"Query GlyConnect for glycosylation data for a protein.\"\"\"\n    url = f\"https:\u002F\u002Fglyconnect.expasy.org\u002Fapi\u002Fproteins\u002Funiprot\u002F{uniprot_id}\"\n    response = requests.get(url, headers={\"Accept\": \"application\u002Fjson\"})\n    if response.status_code == 200:\n        return response.json()\n    return {}\n\n# Example: query EGFR glycosylation\negfr_glyco = query_glyconnect(\"P00533\")\n```\n\n### 5. UniCarbKB (Glycan Structure Database)\n\n- **URL**: https:\u002F\u002Funicarbkb.org\u002F\n- **Use**: Browse glycan structures, search by mass or composition\n- **Format**: GlycoCT or IUPAC notation\n\n## Key Glycoengineering Strategies\n\n### For Therapeutic Antibodies\n\n| Goal | Strategy | Notes |\n|------|----------|-------|\n| Enhance ADCC | Defucosylation at Fc Asn297 | Afucosylated IgG1 has ~50× better FcγRIIIa binding |\n| Reduce immunogenicity | Remove non-human glycans | Eliminate α-Gal, NGNA epitopes |\n| Improve PK half-life | Sialylation | Sialylated glycans extend half-life |\n| Reduce inflammation | Hypersialylation | IVIG anti-inflammatory mechanism |\n| Create glycan shield | Add N-glycosites to surface | Masks vulnerable epitopes (vaccine design) |\n\n### Common Mutations Used\n\n| Mutation | Effect |\n|----------|--------|\n| N297A\u002FQ (IgG1) | Removes Fc glycosylation (aglycosyl) |\n| N297D (IgG1) | Removes Fc glycosylation |\n| S298A\u002FE333A\u002FK334A | Increases FcγRIIIa binding |\n| F243L (IgG1) | Increases defucosylation |\n| T299A | Removes Fc glycosylation |\n\n## Glycan Notation\n\n### IUPAC Condensed Notation (Monosaccharide abbreviations)\n\n| Symbol | Full Name | Type |\n|--------|-----------|------|\n| Glc | Glucose | Hexose |\n| GlcNAc | N-Acetylglucosamine | HexNAc |\n| Man | Mannose | Hexose |\n| Gal | Galactose | Hexose |\n| Fuc | Fucose | Deoxyhexose |\n| Neu5Ac | N-Acetylneuraminic acid (Sialic acid) | Sialic acid |\n| GalNAc | N-Acetylgalactosamine | HexNAc |\n\n### Complex N-Glycan Structure\n\n```\nTypical complex biantennary N-glycan:\nNeu5Ac-Gal-GlcNAc-Man\\\n                       Man-GlcNAc-GlcNAc-[Asn]\nNeu5Ac-Gal-GlcNAc-Man\u002F\n(±Core Fuc at innermost GlcNAc)\n```\n\n## Best Practices\n\n- **Start with NetNGlyc\u002FNetOGlyc** for computational prediction before experimental validation\n- **Verify with mass spectrometry**: Glycoproteomics (Byonic, Mascot) for site-specific glycan profiling\n- **Consider site context**: Not all predicted sequons are actually glycosylated (accessibility, cell type, protein conformation)\n- **For antibodies**: Fc N297 glycan is critical — always characterize this site first\n- **Use GlyConnect** to check if your protein of interest has experimentally verified glycosylation data\n\n## Additional Resources\n\n- **GlyTouCan** (glycan structure repository): https:\u002F\u002Fglytoucan.org\u002F\n- **GlyConnect**: https:\u002F\u002Fglyconnect.expasy.org\u002F\n- **CFG Functional Glycomics**: http:\u002F\u002Fwww.functionalglycomics.org\u002F\n- **DTU Health Tech servers** (NetNGlyc, NetOGlyc): https:\u002F\u002Fservices.healthtech.dtu.dk\u002F\n- **GlycoWorkbench**: https:\u002F\u002Fglycoworkbench.software.informer.com\u002F\n- **Review**: Apweiler R et al. (1999) Biochim Biophys Acta. PMID: 10564035\n- **Therapeutic glycoengineering review**: Jefferis R (2009) Nature Reviews Drug Discovery. PMID: 19448661\n","# Glycoengineering\n\n## Overview\n\nGlycosylation is the most common and complex post-translational modification (PTM) of proteins, affecting over 50% of all human proteins. Glycans regulate protein folding, stability, immune recognition, receptor interactions, and pharmacokinetics of therapeutic proteins. Glycoengineering involves rational modification of glycosylation patterns for improved therapeutic efficacy, stability, or immune evasion.\n\n**Two major glycosylation types:**\n- **N-glycosylation**: Attached to asparagine (N) in the sequon N-X-[S\u002FT] where X ≠ Proline; occurs in the ER\u002FGolgi\n- **O-glycosylation**: Attached to serine (S) or threonine (T); no strict consensus motif; primarily GalNAc initiation\n\n## When to Use This Skill\n\nUse this skill when:\n\n- **Antibody engineering**: Optimize Fc glycosylation for enhanced ADCC, CDC, or reduced immunogenicity\n- **Therapeutic protein design**: Identify glycosylation sites that affect half-life, stability, or immunogenicity\n- **Vaccine antigen design**: Engineer glycan shields to focus immune responses on conserved epitopes\n- **Biosimilar characterization**: Compare glycan patterns between reference and biosimilar\n- **Drug target analysis**: Does glycosylation affect target engagement for a receptor?\n- **Protein stability**: N-glycans often stabilize proteins; identify sites for stabilizing mutations\n\n## N-Glycosylation Sequon Analysis\n\n### Scanning for N-Glycosylation Sites\n\nN-glycosylation occurs at the sequon **N-X-[S\u002FT]** where X ≠ Proline.\n\n```python\nimport re\nfrom typing import List, Tuple\n\ndef find_n_glycosylation_sequons(sequence: str) -> List[dict]:\n    \"\"\"\n    Scan a protein sequence for canonical N-linked glycosylation sequons.\n    Motif: N-X-[S\u002FT], where X ≠ Proline.\n\n    Args:\n        sequence: Single-letter amino acid sequence\n\n    Returns:\n        List of dicts with position (1-based), motif, and context\n    \"\"\"\n    seq = sequence.upper()\n    results = []\n    i = 0\n    while i \u003C= len(seq) - 3:\n        triplet = seq[i:i+3]\n        if triplet[0] == 'N' and triplet[1] != 'P' and triplet[2] in {'S', 'T'}:\n            context = seq[max(0, i-3):i+6]  # ±3 residue context\n            results.append({\n                'position': i + 1,   # 1-based\n                'motif': triplet,\n                'context': context,\n                'sequon_type': 'NXS' if triplet[2] == 'S' else 'NXT'\n            })\n            i += 3\n        else:\n            i += 1\n    return results\n\ndef summarize_glycosylation_sites(sequence: str, protein_name: str = \"\") -> str:\n    \"\"\"Generate a research log summary of N-glycosylation sites.\"\"\"\n    sequons = find_n_glycosylation_sequons(sequence)\n\n    lines = [f\"# N-Glycosylation Sequon Analysis: {protein_name or 'Protein'}\"]\n    lines.append(f\"Sequence length: {len(sequence)}\")\n    lines.append(f\"Total N-glycosylation sequons: {len(sequons)}\")\n\n    if sequons:\n        lines.append(f\"\\nN-X-S sites: {sum(1 for s in sequons if s['sequon_type'] == 'NXS')}\")\n        lines.append(f\"N-X-T sites: {sum(1 for s in sequons if s['sequon_type'] == 'NXT')}\")\n        lines.append(f\"\\nSite details:\")\n        for s in sequons:\n            lines.append(f\"  Position {s['position']}: {s['motif']} (context: ...{s['context']}...)\")\n    else:\n        lines.append(\"No canonical N-glycosylation sequons detected.\")\n\n    return \"\\n\".join(lines)\n\n# Example: IgG1 Fc region\nfc_sequence = \"APELLGGPSVFLFPPKPKDTLMISRTPEVTCVVVDVSHEDPEVKFNWYVDGVEVHNAKTKPREEQYNSTYRVVSVLTVLHQDWLNGKEYKCKVSNKALPAPIEKTISKAKGQPREPQVYTLPPSREEMTKNQVSLTCLVKGFYPSDIAVEWESNGQPENNYKTTPPVLDSDGSFFLYSKLTVDKSRWQQGNVFSCSVMHEALHNHYTQKSLSLSPGK\"\nprint(summarize_glycosylation_sites(fc_sequence, \"IgG1 Fc\"))\n```\n\n### Mutating N-Glycosylation Sites\n\n```python\ndef eliminate_glycosite(sequence: str, position: int, replacement: str = \"Q\") -> str:\n    \"\"\"\n    Eliminate an N-glycosylation site by substituting Asn → Gln (conservative).\n\n    Args:\n        sequence: Protein sequence\n        position: 1-based position of the Asn to mutate\n        replacement: Amino acid to substitute (default Q = Gln; similar size, not glycosylated)\n\n    Returns:\n        Mutated sequence\n    \"\"\"\n    seq = list(sequence.upper())\n    idx = position - 1\n    assert seq[idx] == 'N', f\"Position {position} is '{seq[idx]}', not 'N'\"\n    seq[idx] = replacement.upper()\n    return ''.join(seq)\n\ndef add_glycosite(sequence: str, position: int, flanking_context: str = \"S\") -> str:\n    \"\"\"\n    Introduce an N-glycosylation site by mutating a residue to Asn,\n    and ensuring X ≠ Pro and +2 = S\u002FT.\n\n    Args:\n        position: 1-based position to introduce Asn\n        flanking_context: 'S' or 'T' at position+2 (if modification needed)\n    \"\"\"\n    seq = list(sequence.upper())\n    idx = position - 1\n\n    # Mutate to Asn\n    seq[idx] = 'N'\n\n    # Ensure X+1 != Pro (mutate to Ala if needed)\n    if idx + 1 \u003C len(seq) and seq[idx + 1] == 'P':\n        seq[idx + 1] = 'A'\n\n    # Ensure X+2 = S or T\n    if idx + 2 \u003C len(seq) and seq[idx + 2] not in ('S', 'T'):\n        seq[idx + 2] = flanking_context\n\n    return ''.join(seq)\n```\n\n## O-Glycosylation Analysis\n\n### Heuristic O-Glycosylation Hotspot Prediction\n\n```python\ndef predict_o_glycosylation_hotspots(\n    sequence: str,\n    window: int = 7,\n    min_st_fraction: float = 0.4,\n    disallow_proline_next: bool = True\n) -> List[dict]:\n    \"\"\"\n    Heuristic O-glycosylation hotspot scoring based on local S\u002FT density.\n    Not a substitute for NetOGlyc; use as fast baseline.\n\n    Rules:\n    - O-GalNAc glycosylation clusters on Ser\u002FThr-rich segments\n    - Flag Ser\u002FThr residues in windows enriched for S\u002FT\n    - Avoid S\u002FT immediately followed by Pro (TP\u002FSP motifs inhibit GalNAc-T)\n\n    Args:\n        window: Odd window size for local S\u002FT density\n        min_st_fraction: Minimum fraction of S\u002FT in window to flag site\n    \"\"\"\n    if window % 2 == 0:\n        window = 7\n    seq = sequence.upper()\n    half = window \u002F\u002F 2\n    candidates = []\n\n    for i, aa in enumerate(seq):\n        if aa not in ('S', 'T'):\n            continue\n        if disallow_proline_next and i + 1 \u003C len(seq) and seq[i+1] == 'P':\n            continue\n\n        start = max(0, i - half)\n        end = min(len(seq), i + half + 1)\n        segment = seq[start:end]\n        st_count = sum(1 for c in segment if c in ('S', 'T'))\n        frac = st_count \u002F len(segment)\n\n        if frac >= min_st_fraction:\n            candidates.append({\n                'position': i + 1,\n                'residue': aa,\n                'st_fraction': round(frac, 3),\n                'window': f\"{start+1}-{end}\",\n                'segment': segment\n            })\n\n    return candidates\n```\n\n## External Glycoengineering Tools\n\n### 1. NetOGlyc 4.0 (O-glycosylation prediction)\n\nWeb service for high-accuracy O-GalNAc site prediction:\n- **URL**: https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fservices\u002FNetOGlyc-4.0\u002F\n- **Input**: FASTA protein sequence\n- **Output**: Per-residue O-glycosylation probability scores\n- **Method**: Neural network trained on experimentally verified O-GalNAc sites\n\n```python\nimport requests\n\ndef submit_netoglycv4(fasta_sequence: str) -> str:\n    \"\"\"\n    Submit sequence to NetOGlyc 4.0 web service.\n    Returns the job URL for result retrieval.\n\n    Note: This uses the DTU Health Tech web service. Results take ~1-5 min.\n    \"\"\"\n    url = \"https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fcgi-bin\u002Fwebface2.cgi\"\n    # NetOGlyc submission (parameters may vary with web service version)\n    # Recommend using the web interface directly for most use cases\n    print(\"Submit sequence at: https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fservices\u002FNetOGlyc-4.0\u002F\")\n    return url\n\n# Also: NetNGlyc for N-glycosylation prediction\n# URL: https:\u002F\u002Fservices.healthtech.dtu.dk\u002Fservices\u002FNetNGlyc-1.0\u002F\n```\n\n### 2. GlycoShield-MD (Glycan Shielding Analysis)\n\nGlycoShield-MD analyzes how glycans shield protein surfaces during MD simulations:\n- **URL**: https:\u002F\u002Fgitlab.mpcdf.mpg.de\u002Fdioscuri-biophysics\u002Fglycoshield-md\u002F\n- **Use**: Map glycan shielding on protein surface over MD trajectory\n- **Output**: Per-residue shielding fraction, visualization\n\n```bash\n# Installation\npip install glycoshield\n\n# Basic usage: analyze glycan shielding from glycosylated protein MD trajectory\nglycoshield \\\n    --topology glycoprotein.pdb \\\n    --trajectory glycoprotein.xtc \\\n    --glycan_resnames BGLCNA FUC \\\n    --output shielding_analysis\u002F\n```\n\n### 3. GlycoWorkbench (Glycan Structure Drawing\u002FAnalysis)\n\n- **URL**: https:\u002F\u002Fgithub.com\u002Fglycoinfo\u002Feurocarbdb\n- **Use**: Draw glycan structures, calculate masses, annotate MS spectra\n- **Format**: GlycoCT, IUPAC condensed glycan notation\n\n### 4. GlyConnect (Glycan-Protein Database)\n\n- **URL**: https:\u002F\u002Fglyconnect.expasy.org\u002F\n- **Use**: Find experimentally verified glycoproteins and glycosylation sites\n- **Query**: By protein (UniProt ID), glycan structure, or tissue\n\n```python\nimport requests\n\ndef query_glyconnect(uniprot_id: str) -> dict:\n    \"\"\"Query GlyConnect for glycosylation data for a protein.\"\"\"\n    url = f\"https:\u002F\u002Fglyconnect.expasy.org\u002Fapi\u002Fproteins\u002Funiprot\u002F{uniprot_id}\"\n    response = requests.get(url, headers={\"Accept\": \"application\u002Fjson\"})\n    if response.status_code == 200:\n        return response.json()\n    return {}\n\n# Example: query EGFR glycosylation\negfr_glyco = query_glyconnect(\"P00533\")\n```\n\n### 5. UniCarbKB (Glycan Structure Database)\n\n- **URL**: https:\u002F\u002Funicarbkb.org\u002F\n- **Use**: Browse glycan structures, search by mass or composition\n- **Format**: GlycoCT or IUPAC notation\n\n## Key Glycoengineering Strategies\n\n### For Therapeutic Antibodies\n\n| Goal | Strategy | Notes |\n|------|----------|-------|\n| Enhance ADCC | Defucosylation at Fc Asn297 | Afucosylated IgG1 has ~50× better FcγRIIIa binding |\n| Reduce immunogenicity | Remove non-human glycans | Eliminate α-Gal, NGNA epitopes |\n| Improve PK half-life | Sialylation | Sialylated glycans extend half-life |\n| Reduce inflammation | Hypersialylation | IVIG anti-inflammatory mechanism |\n| Create glycan shield | Add N-glycosites to surface | Masks vulnerable epitopes (vaccine design) |\n\n### Common Mutations Used\n\n| Mutation | Effect |\n|----------|--------|\n| N297A\u002FQ (IgG1) | Removes Fc glycosylation (aglycosyl) |\n| N297D (IgG1) | Removes Fc glycosylation |\n| S298A\u002FE333A\u002FK334A | Increases FcγRIIIa binding |\n| F243L (IgG1) | Increases defucosylation |\n| T299A | Removes Fc glycosylation |\n\n## Glycan Notation\n\n### IUPAC Condensed Notation (Monosaccharide abbreviations)\n\n| Symbol | Full Name | Type |\n|--------|-----------|------|\n| Glc | Glucose | Hexose |\n| GlcNAc | N-Acetylglucosamine | HexNAc |\n| Man | Mannose | Hexose |\n| Gal | Galactose | Hexose |\n| Fuc | Fucose | Deoxyhexose |\n| Neu5Ac | N-Acetylneuraminic acid (Sialic acid) | Sialic acid |\n| GalNAc | N-Acetylgalactosamine | HexNAc |\n\n### Complex N-Glycan Structure\n\n```\nTypical complex biantennary N-glycan:\nNeu5Ac-Gal-GlcNAc-Man\\\n                       Man-GlcNAc-GlcNAc-[Asn]\nNeu5Ac-Gal-GlcNAc-Man\u002F\n(±Core Fuc at innermost GlcNAc)\n```\n\n## Best Practices\n\n- **Start with NetNGlyc\u002FNetOGlyc** for computational prediction before experimental validation\n- **Verify with mass spectrometry**: Glycoproteomics (Byonic, Mascot) for site-specific glycan profiling\n- **Consider site context**: Not all predicted sequons are actually glycosylated (accessibility, cell type, protein conformation)\n- **For antibodies**: Fc N297 glycan is critical — always characterize this site first\n- **Use GlyConnect** to check if your protein of interest has experimentally verified glycosylation data\n\n## Additional Resources\n\n- **GlyTouCan** (glycan structure repository): https:\u002F\u002Fglytoucan.org\u002F\n- **GlyConnect**: https:\u002F\u002Fglyconnect.expasy.org\u002F\n- **CFG Functional Glycomics**: http:\u002F\u002Fwww.functionalglycomics.org\u002F\n- **DTU Health Tech servers** (NetNGlyc, NetOGlyc): https:\u002F\u002Fservices.healthtech.dtu.dk\u002F\n- **GlycoWorkbench**: https:\u002F\u002Fglycoworkbench.software.informer.com\u002F\n- **Review**: Apweiler R et al. (1999) Biochim Biophys Acta. PMID: 10564035\n- **Therapeutic glycoengineering review**: Jefferis R (2009) Nature Reviews Drug Discovery. PMID: 19448661\n",{"name":5,"license":14,"metadata":23,"description":7},{"version":24,"skill-author":25},"1.0.0","AlterLab","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Falterlab-glycoengineering",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add roohe\u002Fagentic-super-skills --skill alterlab-glycoengineering",{"tool":40,"command":41},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill alterlab-glycoengineering",{"tool":43,"command":44},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill alterlab-glycoengineering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Falterlab-glycoengineering\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fglycan_databases.md","REFERENCE","参考文档",5748,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Falterlab-glycoengineering\u002Freferences\u002Fglycan_databases.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]