# Observed Antibody Space (OAS) paired heavy and light chains, 2023-09-09 snapshot

## Facts

- Provider: Oxford Protein Informatics Group (OAS); snapshot by Brian Loyal
- License: CC-BY-4.0 (https://opig.stats.ox.ac.uk/webapps/oas/)
- Size: 207 files
- Format: Parquet (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/bloyal/oas-paired-sequence-data
- Access: public, readable without an account
- Category: Biology
- Source: https://opig.stats.ox.ac.uk/webapps/oas/oas_paired/
- Page: https://scigantic.com/archive/46b36d8e-6815-55de-b2e6-68b76c5ea3eb
- Keywords: Biology, Parquet, Hugging Face

## About

Paired heavy- and light-chain antibody sequences from the paired section of the Observed Antibody Space (OAS), downloaded from the Oxford Protein Informatics Group on 9 September 2023. Paired data comes from single-cell repertoire sequencing, so each record keeps a heavy chain with the light chain from the same B cell, which is what antibody structure and developability models need and what bulk repertoires lack. The repo is organised by species: human (about 1.69 million pairs), mouse BALB/c, mouse C57BL/6 and rat SD, with the cleaning script used to build it. OAS data is CC BY 4.0; cite Olsen, Boyles and Deane, Protein Science 2022.

## Load the data

```python
from datasets import load_dataset
ds = load_dataset("bloyal/oas-paired-sequence-data")
print(ds)
```

## Data structure

File types in sampled files: Parquet

Example file: `human/train_0.parquet`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/46b36d8e-6815-55de-b2e6-68b76c5ea3eb
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/46b36d8e-6815-55de-b2e6-68b76c5ea3eb
- Over MCP: `get_schema_card` with id `46b36d8e-6815-55de-b2e6-68b76c5ea3eb` at https://api.scigantic.com/mcp

## Related topics

- [Parquet datasets](https://scigantic.com/topics/parquet)
- [Biology datasets](https://scigantic.com/topics/biology)
