bio-uniprot-access
Installation
SKILL.md
Version Compatibility
Reference examples tested with: BioPython 1.83+, pandas 2.2+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
UniProt Access
Query UniProt for protein sequences, functional annotations, and cross-references.
"Get protein information from UniProt" → Fetch sequences, GO terms, domains, and cross-references for a protein accession.
- Python:
requests.get(f'https://rest.uniprot.org/uniprotkb/{acc}.json')(UniProt REST API) - Python:
ExPASy.get_sprot_raw(acc)+SwissProt.read()(BioPython)