[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EG6RRCW8RCSGP4M08XRVWS":3,"skill-same:01M7EG6RRCW8RCSGP4M08XRVWS":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EG6RRCW8RCSGP4M08XRVWS","bio-uniprot-access",null,"Query UniProt's REST API (post-2022 endpoint at rest.uniprot.org) for protein sequences, annotations, GO terms, cross-references, ID mappings, and proteomes. Use when fetching UniProtKB entries, navigating the JSON schema, choosing between UniProtKB\u002FUniRef\u002FUniParc\u002FProteomes resources, deciding stream vs search endpoint for batch retrieval, running ID-mapping jobs with the async pattern, handling isoform suffixes, or filtering reviewed Swiss-Prot vs auto-annotated TrEMBL. Encodes the legacy URL migration (2022), the new JSON schema layout, and bulk-pull patterns.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-uniprot-access\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-uniprot-access\ndescription: Query UniProt's REST API (post-2022 endpoint at rest.uniprot.org) for protein sequences, annotations, GO terms, cross-references, ID mappings, and proteomes. Use when fetching UniProtKB entries, navigating the JSON schema, choosing between UniProtKB\u002FUniRef\u002FUniParc\u002FProteomes resources, deciding stream vs search endpoint for batch retrieval, running ID-mapping jobs with the async pattern, handling isoform suffixes, or filtering reviewed Swiss-Prot vs auto-annotated TrEMBL. Encodes the legacy URL migration (2022), the new JSON schema layout, and bulk-pull patterns.\ntool_type: python\nprimary_tool: requests\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"database-access\u002Funiprot-access\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: requests 2.31+, pandas 2.2+; UniProt REST API as of 2024_06 release\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show requests pandas`\n- API surface: confirm endpoint URLs match https:\u002F\u002Fwww.uniprot.org\u002Fhelp\u002Fapi\n\nThe REST API JSON schema is stable within a release; major schema changes are documented at https:\u002F\u002Fwww.uniprot.org\u002Frelease-notes. The 2022 migration broke the legacy `https:\u002F\u002Fwww.uniprot.org\u002Funiprot\u002F...` endpoints.\n\n# UniProt Access\n\n**\"Get protein information from UniProt\"** -> Two facts dominate every UniProt workflow in 2026: (1) **the API endpoint migrated in 2022** from `https:\u002F\u002Fwww.uniprot.org\u002Funiprot\u002F...` to `https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F...` with a substantially different JSON schema; pre-2022 code does not work as-is. (2) **`?fields=`** is essential — default JSON returns the full entry (~20-30 KB each); for bulk pulls, request only the fields actually needed.\n\nThe major databases under the UniProt umbrella have different scopes:\n\n- **UniProtKB**: the curated knowledgebase — Swiss-Prot (manually reviewed, ~570K entries as of 2024) + TrEMBL (auto-annotated, ~250M). Always specify `reviewed:true` for high-quality reference work.\n- **UniRef**: clustered sequences at 100%, 90%, 50% identity. UniRef50 is the standard for redundancy reduction.\n- **UniParc**: archival \"every unique sequence ever seen\" — for provenance and historical lookup.\n- **Proteomes**: organism-level groupings; reference proteomes (one per species) are the canonical subset.\n\n- Python: `requests.get('https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F...')` (REST API)\n- Python: `Bio.ExPASy.get_sprot_raw()` (BioPython; legacy SwissProt format)\n- CLI: `curl https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002FP04637.json`\n\n## Required Setup\n\n```python\nimport requests\nimport pandas as pd\nimport time\n```\n\nNo API key required. Rate limit is generous (~200 req\u002Fsec tolerated empirically); ID-mapping has its own job queue.\n\n## Endpoint reference\n\nBase: `https:\u002F\u002Frest.uniprot.org\u002F`\n\n| Resource | Endpoint | Use |\n|---|---|---|\n| Single entry | `\u002Funiprotkb\u002F{accession}` | One protein record |\n| Search | `\u002Funiprotkb\u002Fsearch` | Query with up to 500 results per page |\n| Stream | `\u002Funiprotkb\u002Fstream` | No 500-result limit; for bulk |\n| Batch by accession | `\u002Funiprotkb\u002Faccessions` | Multiple specific accessions |\n| ID Mapping (run) | `\u002Fidmapping\u002Frun` | Submit conversion job |\n| ID Mapping (status) | `\u002Fidmapping\u002Fstatus\u002F{jobId}` | Poll |\n| ID Mapping (results) | `\u002Fidmapping\u002Fresults\u002F{jobId}` | Retrieve |\n| UniRef entry | `\u002Funiref\u002F{cluster_id}` | One cluster |\n| UniRef search | `\u002Funiref\u002Fsearch` | UniRef cluster queries |\n| Proteome | `\u002Fproteomes\u002F{upid}` | Organism proteome |\n| Proteome FASTA | `\u002Fproteomes\u002F{upid}.fasta.gz` | Download whole proteome |\n| Taxonomy | `\u002Ftaxonomy\u002F{taxid}` | Taxonomy info |\n\nAppend `.json`, `.fasta`, `.tsv`, `.xml`, `.txt`, or `.gff` to single-entry URLs to control format.\n\n## Search query syntax\n\nUniProt search queries use a Lucene-like syntax distinct from Entrez:\n\n| Query | Means |\n|---|---|\n| `gene:TP53` | Gene name TP53 |\n| `gene_exact:TP53` | Exact gene name (no wildcard match) |\n| `organism_id:9606` | Human (NCBI taxonomy ID) |\n| `organism_name:\"Homo sapiens\"` | By name (slower than taxid) |\n| `reviewed:true` | Swiss-Prot only |\n| `reviewed:false` | TrEMBL only |\n| `length:[100 TO 500]` | Sequence length range |\n| `go:0006915` | GO term (apoptosis) |\n| `keyword:KW-0067` | UniProt keyword |\n| `ec:2.7.1.1` | Enzyme classification |\n| `database:pdb` | Has PDB cross-ref |\n| `xref:pdb` | Same as above |\n| `existence:1` | Evidence at protein level (1 = strongest) |\n\nCombine: `organism_id:9606 AND reviewed:true AND keyword:KW-0067 AND xref:pdb`.\n\n## `?fields=` for bulk pulls\n\nDefault JSON entry is ~20-30 KB. For batch work, restrict fields:\n\n```python\nfields = 'accession,id,gene_names,protein_name,length,sequence,xref_pdb,xref_alphafolddb'\nurl = 'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002Fsearch'\nparams = {'query': 'organism_id:9606 AND reviewed:true', 'fields': fields, 'format': 'tsv', 'size': 500}\n```\n\nCommon field selectors:\n| Field | Returns |\n|---|---|\n| `accession`, `id` | Primary accession (P04637), entry name (P53_HUMAN) |\n| `gene_names` | All gene names |\n| `gene_primary` | Primary gene name only |\n| `protein_name` | Recommended name |\n| `organism_name`, `organism_id` | Species |\n| `length`, `mass` | Sequence stats |\n| `sequence` | The actual sequence |\n| `cc_function`, `cc_subcellular_location` | Function and localization comments |\n| `ft_domain`, `ft_binding`, `ft_active_site` | Domain\u002Fsite features |\n| `go_p`, `go_c`, `go_f` | GO biological process \u002F cellular component \u002F molecular function |\n| `xref_pdb`, `xref_alphafolddb`, `xref_ensembl`, `xref_refseq` | Cross-references |\n| `keyword` | UniProt keywords |\n| `ec` | Enzyme classification |\n| `reviewed` | Swiss-Prot vs TrEMBL flag |\n| `cc_alternative_products` | Isoforms |\n\n## Stream vs search vs accessions\n\n| Endpoint | When | Limit |\n|---|---|---|\n| `\u002Funiprotkb\u002F{acc}` | One accession | 1 entry |\n| `\u002Funiprotkb\u002Faccessions?accessions=...` | Several known accessions | Up to ~100 per call |\n| `\u002Funiprotkb\u002Fsearch?query=...` | Query-driven; need pagination | 500 results per page; `cursor=` for paging |\n| `\u002Funiprotkb\u002Fstream?query=...` | Bulk query (>500) | No hard limit; one HTTP stream |\n\nFor 1000+ results, `\u002Fstream` is the right endpoint. Stream returns one HTTP response; iterate over the stream to avoid memory blowup.\n\n## JSON schema navigation (the post-2022 layout)\n\nThe new schema is deeply nested. Common access patterns:\n\n```python\nentry = requests.get('https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002FP04637.json').json()\n\nacc = entry['primaryAccession']                                                # 'P04637'\nentry_name = entry['uniProtkbId']                                              # 'P53_HUMAN'\nsequence = entry['sequence']['value']                                          # actual AA sequence\nlength = entry['sequence']['length']\n\n# Names (nested; defensive .get() because some fields are optional)\nrecommended = entry.get('proteinDescription', {}).get('recommendedName', {}).get('fullName', {}).get('value')\nprimary_gene = entry.get('genes', [{}])[0].get('geneName', {}).get('value')\n\n# Cross-references\nxrefs_by_db = {}\nfor xref in entry.get('uniProtKBCrossReferences', []):\n    xrefs_by_db.setdefault(xref['database'], []).append(xref['id'])\n\n# Features (domains, binding sites)\ndomains = [f for f in entry.get('features', []) if f['type'] == 'Domain']\nbinding = [f for f in entry.get('features', []) if f['type'] == 'Binding site']\n\n# Isoforms\nisoforms = []\nfor comment in entry.get('comments', []):\n    if comment.get('commentType') == 'ALTERNATIVE PRODUCTS':\n        isoforms = [iso['name']['value'] for iso in comment.get('isoforms', [])]\n```\n\n## Isoform handling\n\nCanonical sequence is returned for the bare accession (e.g. `P04637`). Isoforms have `-2`, `-3`, etc. suffixes (`P04637-2`). To fetch a specific isoform:\n\n```python\niso = requests.get('https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002FP04637-2.fasta').text\n```\n\nThe canonical entry's `comments[type=ALTERNATIVE PRODUCTS]` lists all isoforms with their differences. For workflows needing all isoforms, iterate the list and fetch separately.\n\n## ID Mapping API (async)\n\nConvert between identifier systems (Ensembl Gene -> UniProt; PDB -> UniProt; UniProt -> RefSeq; etc.). The job pattern:\n\n1. **Submit**: `POST \u002Fidmapping\u002Frun` with `ids`, `from`, `to`.\n2. **Poll**: `GET \u002Fidmapping\u002Fstatus\u002F{jobId}` — returns `{'jobStatus': 'RUNNING'}` or `{'results': [...]}`.\n3. **Fetch**: `GET \u002Fidmapping\u002Fresults\u002F{jobId}` once status is complete.\n\nJob typically completes in 30s; larger batches take 5-10 min. **Always set a poll timeout** — the API doesn't fail-soft on stuck jobs.\n\n| From | To | Notes |\n|---|---|---|\n| `UniProtKB_AC-ID` | `UniProtKB` | Resolve obsolete to current accessions |\n| `Gene_Name` | `UniProtKB` | Symbol -> accession (lossy; check matches) |\n| `Ensembl` | `UniProtKB` | Ensembl Gene\u002FTranscript\u002FProtein |\n| `EMBL-GenBank-DDBJ` | `UniProtKB` | INSDC nucleotide accessions |\n| `RefSeq_Protein` | `UniProtKB` | NP_\u002FXP_ accessions |\n| `PDB` | `UniProtKB` | PDB chain to protein |\n| `UniProtKB` | `EMBL-GenBank-DDBJ` | Reverse direction |\n\nFull from\u002Fto list at https:\u002F\u002Frest.uniprot.org\u002Fconfigure\u002Fidmapping\u002Ffields.\n\n## Code patterns\n\n### Single entry with defensive JSON parsing\n\n**Goal:** Fetch one UniProt entry as JSON and extract canonical name, gene, sequence, PDB cross-refs without KeyErrors.\n\n**Approach:** GET `\u002Funiprotkb\u002F{acc}.json`; navigate with `.get()` chains; handle missing fields gracefully.\n\n**Reference (UniProt REST as of 2024_06):**\n```python\nimport requests\n\n\ndef fetch_uniprot_entry(accession):\n    r = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F{accession}.json')\n    r.raise_for_status()\n    e = r.json()\n    return {\n        'accession': e['primaryAccession'],\n        'entry_name': e.get('uniProtkbId'),\n        'reviewed': e.get('entryType') == 'UniProtKB reviewed (Swiss-Prot)',\n        'protein_name': e.get('proteinDescription', {}).get('recommendedName', {}).get('fullName', {}).get('value'),\n        'gene_primary': (e.get('genes') or [{}])[0].get('geneName', {}).get('value'),\n        'sequence': e['sequence']['value'],\n        'length': e['sequence']['length'],\n        'pdb_ids': [x['id'] for x in e.get('uniProtKBCrossReferences', []) if x['database'] == 'PDB'],\n        'alphafold_id': next((x['id'] for x in e.get('uniProtKBCrossReferences', []) if x['database'] == 'AlphaFoldDB'), None),\n    }\n\n\nprint(fetch_uniprot_entry('P04637'))\n```\n\n### Search via TSV with `fields=` (bulk-friendly)\n\n**Goal:** Get a DataFrame of human reviewed kinases with their PDB and AlphaFold IDs.\n\n**Approach:** \u002Fsearch with format=tsv and explicit fields; paginate via `cursor` if results exceed 500.\n\n**Reference (requests 2.31+):**\n```python\nimport pandas as pd\nfrom io import StringIO\n\n\ndef search_uniprot_tsv(query, fields, size=500):\n    url = 'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002Fsearch'\n    params = {'query': query, 'fields': ','.join(fields), 'format': 'tsv', 'size': size}\n    r = requests.get(url, params=params)\n    r.raise_for_status()\n    return pd.read_csv(StringIO(r.text), sep='\\t')\n\n\ndf = search_uniprot_tsv(\n    'organism_id:9606 AND reviewed:true AND keyword:\"Kinase\"',\n    fields=['accession', 'gene_primary', 'protein_name', 'length', 'xref_pdb', 'xref_alphafolddb'],\n)\nprint(f'{len(df)} reviewed human kinases')\nprint(df.head())\n```\n\n### Stream endpoint for >500 results\n\n```python\nimport requests\nimport pandas as pd\nfrom io import StringIO\n\n\ndef stream_uniprot(query, fields):\n    url = 'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002Fstream'\n    params = {'query': query, 'fields': ','.join(fields), 'format': 'tsv'}\n    r = requests.get(url, params=params, stream=True)\n    r.raise_for_status()\n    return pd.read_csv(StringIO(r.text), sep='\\t')\n\n\n# All human reviewed proteins (~20K)\ndf = stream_uniprot(\n    'organism_id:9606 AND reviewed:true',\n    fields=['accession', 'gene_primary', 'protein_name', 'length'],\n)\nprint(f'All human Swiss-Prot: {len(df)}')\n```\n\n### ID mapping with proper async polling\n\n**Goal:** Convert Ensembl Gene IDs to UniProt accessions.\n\n**Approach:** Submit job; poll with timeout; retrieve results.\n\n**Reference (UniProt REST 2024_06):**\n```python\nimport time\n\n\ndef map_ids(ids, from_db='Ensembl', to_db='UniProtKB', timeout=600, poll_interval=3):\n    submit = requests.post('https:\u002F\u002Frest.uniprot.org\u002Fidmapping\u002Frun',\n                           data={'ids': ','.join(ids), 'from': from_db, 'to': to_db})\n    submit.raise_for_status()\n    job_id = submit.json()['jobId']\n    print(f'Submitted job {job_id}')\n\n    elapsed = 0\n    while elapsed \u003C timeout:\n        status = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Fidmapping\u002Fstatus\u002F{job_id}')\n        status.raise_for_status()\n        js = status.json()\n        if 'jobStatus' in js and js['jobStatus'] == 'RUNNING':\n            time.sleep(poll_interval)\n            elapsed += poll_interval\n            continue\n        # Completed (results in status response) or has results endpoint\n        break\n    else:\n        raise TimeoutError(f'ID mapping job {job_id} did not complete in {timeout}s')\n\n    results = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Fidmapping\u002Fresults\u002F{job_id}')\n    results.raise_for_status()\n    return results.json()\n\n\nmapping = map_ids(['ENSG00000141510', 'ENSG00000171862', 'ENSG00000139618'])\nfor r in mapping.get('results', []):\n    print(f\"  {r['from']:\u003C20} -> {r['to']}\")\nfor failed in mapping.get('failedIds', []):\n    print(f\"  {failed:\u003C20} -> NOT MAPPED\")\n```\n\n### Resolve obsolete accessions\n\n```python\ndef resolve_obsolete(accessions):\n    '''Use ID mapping to update obsolete accessions to current primary IDs.'''\n    return map_ids(accessions, from_db='UniProtKB_AC-ID', to_db='UniProtKB')\n```\n\n### Download a reference proteome\n\n```python\nimport gzip\n\n\ndef download_proteome(upid, out_path):\n    '''upid: UniProt Proteome ID, e.g. UP000005640 (human reference).'''\n    url = f'https:\u002F\u002Frest.uniprot.org\u002Fproteomes\u002F{upid}.fasta.gz'\n    r = requests.get(url, stream=True)\n    r.raise_for_status()\n    with open(out_path, 'wb') as f:\n        for chunk in r.iter_content(8192):\n            f.write(chunk)\n    return out_path\n\n\ndownload_proteome('UP000005640', 'human.fasta.gz')  # human reference proteome\n```\n\n### UniRef cluster lookup\n\n```python\ndef uniref_cluster(uniref_id):\n    '''e.g. UniRef50_P04637 -- the UniRef50 cluster centered on P04637.'''\n    r = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Funiref\u002F{uniref_id}.json')\n    r.raise_for_status()\n    j = r.json()\n    return {\n        'id': j['id'],\n        'representative': j['representativeMember']['memberId'],\n        'member_count': j['memberCount'],\n        'identity': j.get('entryType'),\n    }\n```\n\n## Failure modes\n\n### Legacy URL still in code (post-2022)\n- **Trigger:** Old code using `https:\u002F\u002Fwww.uniprot.org\u002Funiprot\u002F{acc}.json`.\n- **Mechanism:** 2022 migration; old URLs redirect but JSON schema is the new one — old parsers break.\n- **Symptom:** Either 404 or `KeyError` from old field paths.\n- **Fix:** Use `https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F{acc}.json`; update field navigation to the new nested layout.\n\n### `?fields=` not specified\n- **Trigger:** Bulk pull (1000 accessions) returning full JSON entries.\n- **Mechanism:** Default returns ~20-30 KB per entry; 1000 entries = 20-30 MB.\n- **Symptom:** Slow; memory blowup; rate-limit triggers.\n- **Fix:** Always specify `fields=` for bulk; request only the fields actually needed.\n\n### Search hit 500-record cap\n- **Trigger:** Query matches 800 records; iterate first page only.\n- **Mechanism:** \u002Fsearch returns 500 per page; need `cursor` for next.\n- **Symptom:** Silently dropped tail.\n- **Fix:** Use `\u002Fstream` for >500 results; or paginate \u002Fsearch with `cursor`.\n\n### ID mapping job poll infinite loop\n- **Trigger:** Network glitch during job; status forever \"RUNNING\".\n- **Mechanism:** API doesn't time-out stuck jobs.\n- **Symptom:** Pipeline hangs.\n- **Fix:** Always set `timeout=` on polling; surface TimeoutError.\n\n### Isoform suffix mishandled\n- **Trigger:** Storing `P04637` and assuming that's the only sequence.\n- **Mechanism:** TP53 has multiple isoforms; default fetch returns canonical only.\n- **Symptom:** Missing alternative-product sequences.\n- **Fix:** Read `comments[type=ALTERNATIVE PRODUCTS]`; fetch each isoform with `-N` suffix.\n\n### Swiss-Prot vs TrEMBL confusion\n- **Trigger:** Search without `reviewed:true` returning millions of TrEMBL hits.\n- **Mechanism:** TrEMBL is automatically annotated, often low-quality.\n- **Symptom:** \"Why does my analysis include 200M proteins?\"\n- **Fix:** For reference-quality work, always filter `reviewed:true`.\n\n### Obsolete accessions silently fail\n- **Trigger:** Old paper-derived accession that has been merged or demerged.\n- **Mechanism:** Direct fetch returns 404 or 301.\n- **Symptom:** Missing entries in a batch.\n- **Fix:** Use ID mapping (UniProtKB_AC-ID -> UniProtKB) to resolve to current accessions first.\n\n### Gene-symbol disambiguation\n- **Trigger:** Search `gene:TP53` returns multiple species or duplicates.\n- **Mechanism:** Symbol is shared across species; UniProt indexes all.\n- **Symptom:** Mixed-species hits.\n- **Fix:** Combine with `organism_id:9606` (or specific taxon); use `gene_exact:` to avoid wildcard matches.\n\n## Common errors\n\n| Error \u002F symptom | Cause | Solution |\n|---|---|---|\n| 404 on legacy URL | Pre-2022 endpoint | Use rest.uniprot.org\u002Funiprotkb\u002F |\n| `KeyError` on old field path | Schema migration 2022 | Update to new nested layout; use `.get()` |\n| Bulk fetch very slow | Default JSON entry size | Specify `fields=` for TSV bulk |\n| Mid-pagination data missing | 500-record cap | Use \u002Fstream or paginate with cursor |\n| ID mapping job hangs | API doesn't fail stuck jobs | Set `timeout=` on poll loop |\n| Mixed-species search results | Symbol shared across species | Add `organism_id:` filter |\n| Million-row search returning TrEMBL | No reviewed filter | Add `reviewed:true` |\n| Missing isoform | Default returns canonical only | Fetch with `-N` suffix per isoform |\n\n## References\n\n- The UniProt Consortium. (2024) UniProt: the Universal Protein Knowledgebase in 2025. *Nucleic Acids Res* 53:D609-D617.\n- Bursteinas B, Britto R, Bely B, et al. (2016) Minimizing proteome redundancy in the UniProt Knowledgebase. *Database* 2016:baw139.\n- UniProt help: https:\u002F\u002Fwww.uniprot.org\u002Fhelp\u002Fapi\n- UniProt REST: https:\u002F\u002Frest.uniprot.org\n\n## Related Skills\n\n- entrez-fetch - NCBI protein records (RefSeq, GenPept) alternative\n- biomart-queries - Alternative ID-mapping path via BioMart (preferred for Ensembl-rooted batches >5K; UniProt \u002Fidmapping\u002Frun is preferred for obsolete-accession resolution and any UniProt-rooted mapping)\n- ortholog-inference - Resolve UniProt accessions used by OMA orthology queries\n- structural-biology\u002Fstructure-io - Download PDB structures referenced from UniProt\n- structural-biology\u002Falphafold-predictions - AlphaFoldDB entries cross-referenced in UniProt\n- pathway-analysis\u002Fgo-enrichment - Use GO annotations pulled from UniProt\n","## Version Compatibility\n\nReference examples tested with: requests 2.31+, pandas 2.2+; UniProt REST API as of 2024_06 release\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- Python: `pip show requests pandas`\n- API surface: confirm endpoint URLs match https:\u002F\u002Fwww.uniprot.org\u002Fhelp\u002Fapi\n\nThe REST API JSON schema is stable within a release; major schema changes are documented at https:\u002F\u002Fwww.uniprot.org\u002Frelease-notes. The 2022 migration broke the legacy `https:\u002F\u002Fwww.uniprot.org\u002Funiprot\u002F...` endpoints.\n\n# UniProt Access\n\n**\"Get protein information from UniProt\"** -> Two facts dominate every UniProt workflow in 2026: (1) **the API endpoint migrated in 2022** from `https:\u002F\u002Fwww.uniprot.org\u002Funiprot\u002F...` to `https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F...` with a substantially different JSON schema; pre-2022 code does not work as-is. (2) **`?fields=`** is essential — default JSON returns the full entry (~20-30 KB each); for bulk pulls, request only the fields actually needed.\n\nThe major databases under the UniProt umbrella have different scopes:\n\n- **UniProtKB**: the curated knowledgebase — Swiss-Prot (manually reviewed, ~570K entries as of 2024) + TrEMBL (auto-annotated, ~250M). Always specify `reviewed:true` for high-quality reference work.\n- **UniRef**: clustered sequences at 100%, 90%, 50% identity. UniRef50 is the standard for redundancy reduction.\n- **UniParc**: archival \"every unique sequence ever seen\" — for provenance and historical lookup.\n- **Proteomes**: organism-level groupings; reference proteomes (one per species) are the canonical subset.\n\n- Python: `requests.get('https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F...')` (REST API)\n- Python: `Bio.ExPASy.get_sprot_raw()` (BioPython; legacy SwissProt format)\n- CLI: `curl https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002FP04637.json`\n\n## Required Setup\n\n```python\nimport requests\nimport pandas as pd\nimport time\n```\n\nNo API key required. Rate limit is generous (~200 req\u002Fsec tolerated empirically); ID-mapping has its own job queue.\n\n## Endpoint reference\n\nBase: `https:\u002F\u002Frest.uniprot.org\u002F`\n\n| Resource | Endpoint | Use |\n|---|---|---|\n| Single entry | `\u002Funiprotkb\u002F{accession}` | One protein record |\n| Search | `\u002Funiprotkb\u002Fsearch` | Query with up to 500 results per page |\n| Stream | `\u002Funiprotkb\u002Fstream` | No 500-result limit; for bulk |\n| Batch by accession | `\u002Funiprotkb\u002Faccessions` | Multiple specific accessions |\n| ID Mapping (run) | `\u002Fidmapping\u002Frun` | Submit conversion job |\n| ID Mapping (status) | `\u002Fidmapping\u002Fstatus\u002F{jobId}` | Poll |\n| ID Mapping (results) | `\u002Fidmapping\u002Fresults\u002F{jobId}` | Retrieve |\n| UniRef entry | `\u002Funiref\u002F{cluster_id}` | One cluster |\n| UniRef search | `\u002Funiref\u002Fsearch` | UniRef cluster queries |\n| Proteome | `\u002Fproteomes\u002F{upid}` | Organism proteome |\n| Proteome FASTA | `\u002Fproteomes\u002F{upid}.fasta.gz` | Download whole proteome |\n| Taxonomy | `\u002Ftaxonomy\u002F{taxid}` | Taxonomy info |\n\nAppend `.json`, `.fasta`, `.tsv`, `.xml`, `.txt`, or `.gff` to single-entry URLs to control format.\n\n## Search query syntax\n\nUniProt search queries use a Lucene-like syntax distinct from Entrez:\n\n| Query | Means |\n|---|---|\n| `gene:TP53` | Gene name TP53 |\n| `gene_exact:TP53` | Exact gene name (no wildcard match) |\n| `organism_id:9606` | Human (NCBI taxonomy ID) |\n| `organism_name:\"Homo sapiens\"` | By name (slower than taxid) |\n| `reviewed:true` | Swiss-Prot only |\n| `reviewed:false` | TrEMBL only |\n| `length:[100 TO 500]` | Sequence length range |\n| `go:0006915` | GO term (apoptosis) |\n| `keyword:KW-0067` | UniProt keyword |\n| `ec:2.7.1.1` | Enzyme classification |\n| `database:pdb` | Has PDB cross-ref |\n| `xref:pdb` | Same as above |\n| `existence:1` | Evidence at protein level (1 = strongest) |\n\nCombine: `organism_id:9606 AND reviewed:true AND keyword:KW-0067 AND xref:pdb`.\n\n## `?fields=` for bulk pulls\n\nDefault JSON entry is ~20-30 KB. For batch work, restrict fields:\n\n```python\nfields = 'accession,id,gene_names,protein_name,length,sequence,xref_pdb,xref_alphafolddb'\nurl = 'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002Fsearch'\nparams = {'query': 'organism_id:9606 AND reviewed:true', 'fields': fields, 'format': 'tsv', 'size': 500}\n```\n\nCommon field selectors:\n| Field | Returns |\n|---|---|\n| `accession`, `id` | Primary accession (P04637), entry name (P53_HUMAN) |\n| `gene_names` | All gene names |\n| `gene_primary` | Primary gene name only |\n| `protein_name` | Recommended name |\n| `organism_name`, `organism_id` | Species |\n| `length`, `mass` | Sequence stats |\n| `sequence` | The actual sequence |\n| `cc_function`, `cc_subcellular_location` | Function and localization comments |\n| `ft_domain`, `ft_binding`, `ft_active_site` | Domain\u002Fsite features |\n| `go_p`, `go_c`, `go_f` | GO biological process \u002F cellular component \u002F molecular function |\n| `xref_pdb`, `xref_alphafolddb`, `xref_ensembl`, `xref_refseq` | Cross-references |\n| `keyword` | UniProt keywords |\n| `ec` | Enzyme classification |\n| `reviewed` | Swiss-Prot vs TrEMBL flag |\n| `cc_alternative_products` | Isoforms |\n\n## Stream vs search vs accessions\n\n| Endpoint | When | Limit |\n|---|---|---|\n| `\u002Funiprotkb\u002F{acc}` | One accession | 1 entry |\n| `\u002Funiprotkb\u002Faccessions?accessions=...` | Several known accessions | Up to ~100 per call |\n| `\u002Funiprotkb\u002Fsearch?query=...` | Query-driven; need pagination | 500 results per page; `cursor=` for paging |\n| `\u002Funiprotkb\u002Fstream?query=...` | Bulk query (>500) | No hard limit; one HTTP stream |\n\nFor 1000+ results, `\u002Fstream` is the right endpoint. Stream returns one HTTP response; iterate over the stream to avoid memory blowup.\n\n## JSON schema navigation (the post-2022 layout)\n\nThe new schema is deeply nested. Common access patterns:\n\n```python\nentry = requests.get('https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002FP04637.json').json()\n\nacc = entry['primaryAccession']                                                # 'P04637'\nentry_name = entry['uniProtkbId']                                              # 'P53_HUMAN'\nsequence = entry['sequence']['value']                                          # actual AA sequence\nlength = entry['sequence']['length']\n\n# Names (nested; defensive .get() because some fields are optional)\nrecommended = entry.get('proteinDescription', {}).get('recommendedName', {}).get('fullName', {}).get('value')\nprimary_gene = entry.get('genes', [{}])[0].get('geneName', {}).get('value')\n\n# Cross-references\nxrefs_by_db = {}\nfor xref in entry.get('uniProtKBCrossReferences', []):\n    xrefs_by_db.setdefault(xref['database'], []).append(xref['id'])\n\n# Features (domains, binding sites)\ndomains = [f for f in entry.get('features', []) if f['type'] == 'Domain']\nbinding = [f for f in entry.get('features', []) if f['type'] == 'Binding site']\n\n# Isoforms\nisoforms = []\nfor comment in entry.get('comments', []):\n    if comment.get('commentType') == 'ALTERNATIVE PRODUCTS':\n        isoforms = [iso['name']['value'] for iso in comment.get('isoforms', [])]\n```\n\n## Isoform handling\n\nCanonical sequence is returned for the bare accession (e.g. `P04637`). Isoforms have `-2`, `-3`, etc. suffixes (`P04637-2`). To fetch a specific isoform:\n\n```python\niso = requests.get('https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002FP04637-2.fasta').text\n```\n\nThe canonical entry's `comments[type=ALTERNATIVE PRODUCTS]` lists all isoforms with their differences. For workflows needing all isoforms, iterate the list and fetch separately.\n\n## ID Mapping API (async)\n\nConvert between identifier systems (Ensembl Gene -> UniProt; PDB -> UniProt; UniProt -> RefSeq; etc.). The job pattern:\n\n1. **Submit**: `POST \u002Fidmapping\u002Frun` with `ids`, `from`, `to`.\n2. **Poll**: `GET \u002Fidmapping\u002Fstatus\u002F{jobId}` — returns `{'jobStatus': 'RUNNING'}` or `{'results': [...]}`.\n3. **Fetch**: `GET \u002Fidmapping\u002Fresults\u002F{jobId}` once status is complete.\n\nJob typically completes in 30s; larger batches take 5-10 min. **Always set a poll timeout** — the API doesn't fail-soft on stuck jobs.\n\n| From | To | Notes |\n|---|---|---|\n| `UniProtKB_AC-ID` | `UniProtKB` | Resolve obsolete to current accessions |\n| `Gene_Name` | `UniProtKB` | Symbol -> accession (lossy; check matches) |\n| `Ensembl` | `UniProtKB` | Ensembl Gene\u002FTranscript\u002FProtein |\n| `EMBL-GenBank-DDBJ` | `UniProtKB` | INSDC nucleotide accessions |\n| `RefSeq_Protein` | `UniProtKB` | NP_\u002FXP_ accessions |\n| `PDB` | `UniProtKB` | PDB chain to protein |\n| `UniProtKB` | `EMBL-GenBank-DDBJ` | Reverse direction |\n\nFull from\u002Fto list at https:\u002F\u002Frest.uniprot.org\u002Fconfigure\u002Fidmapping\u002Ffields.\n\n## Code patterns\n\n### Single entry with defensive JSON parsing\n\n**Goal:** Fetch one UniProt entry as JSON and extract canonical name, gene, sequence, PDB cross-refs without KeyErrors.\n\n**Approach:** GET `\u002Funiprotkb\u002F{acc}.json`; navigate with `.get()` chains; handle missing fields gracefully.\n\n**Reference (UniProt REST as of 2024_06):**\n```python\nimport requests\n\n\ndef fetch_uniprot_entry(accession):\n    r = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F{accession}.json')\n    r.raise_for_status()\n    e = r.json()\n    return {\n        'accession': e['primaryAccession'],\n        'entry_name': e.get('uniProtkbId'),\n        'reviewed': e.get('entryType') == 'UniProtKB reviewed (Swiss-Prot)',\n        'protein_name': e.get('proteinDescription', {}).get('recommendedName', {}).get('fullName', {}).get('value'),\n        'gene_primary': (e.get('genes') or [{}])[0].get('geneName', {}).get('value'),\n        'sequence': e['sequence']['value'],\n        'length': e['sequence']['length'],\n        'pdb_ids': [x['id'] for x in e.get('uniProtKBCrossReferences', []) if x['database'] == 'PDB'],\n        'alphafold_id': next((x['id'] for x in e.get('uniProtKBCrossReferences', []) if x['database'] == 'AlphaFoldDB'), None),\n    }\n\n\nprint(fetch_uniprot_entry('P04637'))\n```\n\n### Search via TSV with `fields=` (bulk-friendly)\n\n**Goal:** Get a DataFrame of human reviewed kinases with their PDB and AlphaFold IDs.\n\n**Approach:** \u002Fsearch with format=tsv and explicit fields; paginate via `cursor` if results exceed 500.\n\n**Reference (requests 2.31+):**\n```python\nimport pandas as pd\nfrom io import StringIO\n\n\ndef search_uniprot_tsv(query, fields, size=500):\n    url = 'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002Fsearch'\n    params = {'query': query, 'fields': ','.join(fields), 'format': 'tsv', 'size': size}\n    r = requests.get(url, params=params)\n    r.raise_for_status()\n    return pd.read_csv(StringIO(r.text), sep='\\t')\n\n\ndf = search_uniprot_tsv(\n    'organism_id:9606 AND reviewed:true AND keyword:\"Kinase\"',\n    fields=['accession', 'gene_primary', 'protein_name', 'length', 'xref_pdb', 'xref_alphafolddb'],\n)\nprint(f'{len(df)} reviewed human kinases')\nprint(df.head())\n```\n\n### Stream endpoint for >500 results\n\n```python\nimport requests\nimport pandas as pd\nfrom io import StringIO\n\n\ndef stream_uniprot(query, fields):\n    url = 'https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002Fstream'\n    params = {'query': query, 'fields': ','.join(fields), 'format': 'tsv'}\n    r = requests.get(url, params=params, stream=True)\n    r.raise_for_status()\n    return pd.read_csv(StringIO(r.text), sep='\\t')\n\n\n# All human reviewed proteins (~20K)\ndf = stream_uniprot(\n    'organism_id:9606 AND reviewed:true',\n    fields=['accession', 'gene_primary', 'protein_name', 'length'],\n)\nprint(f'All human Swiss-Prot: {len(df)}')\n```\n\n### ID mapping with proper async polling\n\n**Goal:** Convert Ensembl Gene IDs to UniProt accessions.\n\n**Approach:** Submit job; poll with timeout; retrieve results.\n\n**Reference (UniProt REST 2024_06):**\n```python\nimport time\n\n\ndef map_ids(ids, from_db='Ensembl', to_db='UniProtKB', timeout=600, poll_interval=3):\n    submit = requests.post('https:\u002F\u002Frest.uniprot.org\u002Fidmapping\u002Frun',\n                           data={'ids': ','.join(ids), 'from': from_db, 'to': to_db})\n    submit.raise_for_status()\n    job_id = submit.json()['jobId']\n    print(f'Submitted job {job_id}')\n\n    elapsed = 0\n    while elapsed \u003C timeout:\n        status = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Fidmapping\u002Fstatus\u002F{job_id}')\n        status.raise_for_status()\n        js = status.json()\n        if 'jobStatus' in js and js['jobStatus'] == 'RUNNING':\n            time.sleep(poll_interval)\n            elapsed += poll_interval\n            continue\n        # Completed (results in status response) or has results endpoint\n        break\n    else:\n        raise TimeoutError(f'ID mapping job {job_id} did not complete in {timeout}s')\n\n    results = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Fidmapping\u002Fresults\u002F{job_id}')\n    results.raise_for_status()\n    return results.json()\n\n\nmapping = map_ids(['ENSG00000141510', 'ENSG00000171862', 'ENSG00000139618'])\nfor r in mapping.get('results', []):\n    print(f\"  {r['from']:\u003C20} -> {r['to']}\")\nfor failed in mapping.get('failedIds', []):\n    print(f\"  {failed:\u003C20} -> NOT MAPPED\")\n```\n\n### Resolve obsolete accessions\n\n```python\ndef resolve_obsolete(accessions):\n    '''Use ID mapping to update obsolete accessions to current primary IDs.'''\n    return map_ids(accessions, from_db='UniProtKB_AC-ID', to_db='UniProtKB')\n```\n\n### Download a reference proteome\n\n```python\nimport gzip\n\n\ndef download_proteome(upid, out_path):\n    '''upid: UniProt Proteome ID, e.g. UP000005640 (human reference).'''\n    url = f'https:\u002F\u002Frest.uniprot.org\u002Fproteomes\u002F{upid}.fasta.gz'\n    r = requests.get(url, stream=True)\n    r.raise_for_status()\n    with open(out_path, 'wb') as f:\n        for chunk in r.iter_content(8192):\n            f.write(chunk)\n    return out_path\n\n\ndownload_proteome('UP000005640', 'human.fasta.gz')  # human reference proteome\n```\n\n### UniRef cluster lookup\n\n```python\ndef uniref_cluster(uniref_id):\n    '''e.g. UniRef50_P04637 -- the UniRef50 cluster centered on P04637.'''\n    r = requests.get(f'https:\u002F\u002Frest.uniprot.org\u002Funiref\u002F{uniref_id}.json')\n    r.raise_for_status()\n    j = r.json()\n    return {\n        'id': j['id'],\n        'representative': j['representativeMember']['memberId'],\n        'member_count': j['memberCount'],\n        'identity': j.get('entryType'),\n    }\n```\n\n## Failure modes\n\n### Legacy URL still in code (post-2022)\n- **Trigger:** Old code using `https:\u002F\u002Fwww.uniprot.org\u002Funiprot\u002F{acc}.json`.\n- **Mechanism:** 2022 migration; old URLs redirect but JSON schema is the new one — old parsers break.\n- **Symptom:** Either 404 or `KeyError` from old field paths.\n- **Fix:** Use `https:\u002F\u002Frest.uniprot.org\u002Funiprotkb\u002F{acc}.json`; update field navigation to the new nested layout.\n\n### `?fields=` not specified\n- **Trigger:** Bulk pull (1000 accessions) returning full JSON entries.\n- **Mechanism:** Default returns ~20-30 KB per entry; 1000 entries = 20-30 MB.\n- **Symptom:** Slow; memory blowup; rate-limit triggers.\n- **Fix:** Always specify `fields=` for bulk; request only the fields actually needed.\n\n### Search hit 500-record cap\n- **Trigger:** Query matches 800 records; iterate first page only.\n- **Mechanism:** \u002Fsearch returns 500 per page; need `cursor` for next.\n- **Symptom:** Silently dropped tail.\n- **Fix:** Use `\u002Fstream` for >500 results; or paginate \u002Fsearch with `cursor`.\n\n### ID mapping job poll infinite loop\n- **Trigger:** Network glitch during job; status forever \"RUNNING\".\n- **Mechanism:** API doesn't time-out stuck jobs.\n- **Symptom:** Pipeline hangs.\n- **Fix:** Always set `timeout=` on polling; surface TimeoutError.\n\n### Isoform suffix mishandled\n- **Trigger:** Storing `P04637` and assuming that's the only sequence.\n- **Mechanism:** TP53 has multiple isoforms; default fetch returns canonical only.\n- **Symptom:** Missing alternative-product sequences.\n- **Fix:** Read `comments[type=ALTERNATIVE PRODUCTS]`; fetch each isoform with `-N` suffix.\n\n### Swiss-Prot vs TrEMBL confusion\n- **Trigger:** Search without `reviewed:true` returning millions of TrEMBL hits.\n- **Mechanism:** TrEMBL is automatically annotated, often low-quality.\n- **Symptom:** \"Why does my analysis include 200M proteins?\"\n- **Fix:** For reference-quality work, always filter `reviewed:true`.\n\n### Obsolete accessions silently fail\n- **Trigger:** Old paper-derived accession that has been merged or demerged.\n- **Mechanism:** Direct fetch returns 404 or 301.\n- **Symptom:** Missing entries in a batch.\n- **Fix:** Use ID mapping (UniProtKB_AC-ID -> UniProtKB) to resolve to current accessions first.\n\n### Gene-symbol disambiguation\n- **Trigger:** Search `gene:TP53` returns multiple species or duplicates.\n- **Mechanism:** Symbol is shared across species; UniProt indexes all.\n- **Symptom:** Mixed-species hits.\n- **Fix:** Combine with `organism_id:9606` (or specific taxon); use `gene_exact:` to avoid wildcard matches.\n\n## Common errors\n\n| Error \u002F symptom | Cause | Solution |\n|---|---|---|\n| 404 on legacy URL | Pre-2022 endpoint | Use rest.uniprot.org\u002Funiprotkb\u002F |\n| `KeyError` on old field path | Schema migration 2022 | Update to new nested layout; use `.get()` |\n| Bulk fetch very slow | Default JSON entry size | Specify `fields=` for TSV bulk |\n| Mid-pagination data missing | 500-record cap | Use \u002Fstream or paginate with cursor |\n| ID mapping job hangs | API doesn't fail stuck jobs | Set `timeout=` on poll loop |\n| Mixed-species search results | Symbol shared across species | Add `organism_id:` filter |\n| Million-row search returning TrEMBL | No reviewed filter | Add `reviewed:true` |\n| Missing isoform | Default returns canonical only | Fetch with `-N` suffix per isoform |\n\n## References\n\n- The UniProt Consortium. (2024) UniProt: the Universal Protein Knowledgebase in 2025. *Nucleic Acids Res* 53:D609-D617.\n- Bursteinas B, Britto R, Bely B, et al. (2016) Minimizing proteome redundancy in the UniProt Knowledgebase. *Database* 2016:baw139.\n- UniProt help: https:\u002F\u002Fwww.uniprot.org\u002Fhelp\u002Fapi\n- UniProt REST: https:\u002F\u002Frest.uniprot.org\n\n## Related Skills\n\n- entrez-fetch - NCBI protein records (RefSeq, GenPept) alternative\n- biomart-queries - Alternative ID-mapping path via BioMart (preferred for Ensembl-rooted batches >5K; UniProt \u002Fidmapping\u002Frun is preferred for obsolete-accession resolution and any UniProt-rooted mapping)\n- ortholog-inference - Resolve UniProt accessions used by OMA orthology queries\n- structural-biology\u002Fstructure-io - Download PDB structures referenced from UniProt\n- structural-biology\u002Falphafold-predictions - AlphaFoldDB entries cross-referenced in UniProt\n- pathway-analysis\u002Fgo-enrichment - Use GO annotations pulled from UniProt\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","python","2026-09-20","database-access\u002Funiprot-access\u002FSKILL.md","requests","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-uniprot-access","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-uniprot-access",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-uniprot-access",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-uniprot-access","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-uniprot-access\u002FSKILL.md",true,[50,56,60],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Fisoforms_and_xrefs.py","SCRIPT","脚本",2712,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-uniprot-access\u002Fexamples\u002Fisoforms_and_xrefs.py",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"examples\u002Funiprot_query.py",3615,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-uniprot-access\u002Fexamples\u002Funiprot_query.py",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"usage-guide.md","REFERENCE","参考文档",4855,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-uniprot-access\u002Fusage-guide.md",[67,75,82,89,96,103],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":74},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":74},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":74},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":74},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":74},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":74},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]