Update README.md
Browse files
README.md
CHANGED
|
@@ -27,3 +27,37 @@ configs:
|
|
| 27 |
- split: train
|
| 28 |
path: data/train-*
|
| 29 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
- split: train
|
| 28 |
path: data/train-*
|
| 29 |
---
|
| 30 |
+
|
| 31 |
+
# Dataset Card for OG: An Open Genomic Dataset
|
| 32 |
+
|
| 33 |
+
The OG dataset is a subset of the Open MetaGenomic dataset (OMG).
|
| 34 |
+
OG contains high quality prokaryotic and viral genomes with taxonomic information, and is roughly 10x smaller than OMG.
|
| 35 |
+
The dataset is pre-processed into a mixed-modality dataset, with translated amino acids for protein coding sequences, and nucleic acids for intergenic sequences.
|
| 36 |
+
|
| 37 |
+
Two additional datasets are available on the HuggingFace Hub:
|
| 38 |
+
- [`OMG`](https://huggingface.co/datasets/tattabio/OMG): The full Open Metagenomic dataset with 3.1T base pairs.
|
| 39 |
+
- [`OMG_prot50`](https://huggingface.co/datasets/tattabio/OMG_prot50): A protein-only dataset generated by clustering OMG at 50% sequence identity, resulting in 207M protein sequences.
|
| 40 |
+
|
| 41 |
+
See [https://github.com/TattaBio/OMG](https://github.com/TattaBio/OMG) for details and example tokenization script.
|
| 42 |
+
|
| 43 |
+
## Use
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
import datasets
|
| 47 |
+
ds = datasets.load_dataset('tattabio/OG')
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
To preview the dataset without downloading, load in streaming mode:
|
| 51 |
+
```python
|
| 52 |
+
import datasets
|
| 53 |
+
ds = datasets.load_dataset('tattabio/OG', streaming=True)['train']
|
| 54 |
+
print(next(iter(ds)))
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
## Citation
|
| 60 |
+
|
| 61 |
+
**BibTeX:**
|
| 62 |
+
|
| 63 |
+
TODO
|