andrecornman
commited on
Commit
•
00b49d9
1
Parent(s):
5f82e5e
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ configs:
|
|
28 |
path: data/train-*
|
29 |
---
|
30 |
|
31 |
-
#
|
32 |
|
33 |
The OMG is a 3.1T base pair metagenomic pretraining dataset, combining EMBL's MGnify and JGI's IMG databases. The combined data is pre-processed into a mixed-modality dataset, with translated amino acids for protein coding sequences, and nucleic acids for intergenic sequences.
|
34 |
|
@@ -54,6 +54,22 @@ ds = datasets.load_dataset('tattabio/OMG', streaming=True)['train']
|
|
54 |
print(next(iter(ds)))
|
55 |
```
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
## Citation
|
|
|
28 |
path: data/train-*
|
29 |
---
|
30 |
|
31 |
+
# OMG: An Open MetaGenomic Dataset
|
32 |
|
33 |
The OMG is a 3.1T base pair metagenomic pretraining dataset, combining EMBL's MGnify and JGI's IMG databases. The combined data is pre-processed into a mixed-modality dataset, with translated amino acids for protein coding sequences, and nucleic acids for intergenic sequences.
|
34 |
|
|
|
54 |
print(next(iter(ds)))
|
55 |
```
|
56 |
|
57 |
+
## Format
|
58 |
+
|
59 |
+
Each row of the dataset represents a genomic scaffold, as an ordered list of amino acid coding sequences (CDS) and nucleotide intergenic sequences (IGS).
|
60 |
+
|
61 |
+
| Feature | Description | Example |
|
62 |
+
|---|---|---|
|
63 |
+
| `CDS_seqs` | A list of strings representing the amino acid CDS sequences. | `['MALTKVEKRNR...', 'MLGIDNIERVK...', 'MATIKVKQVR...', 'MNLSNIKPAS...']` |
|
64 |
+
| `IGS_seqs` | A list of strings representing the nucleotide IGS sequences. | `['AATTTAAGGAA', 'TTTTAAAAGTATCGAAAT', 'TTTTTAAAGAAAA']` |
|
65 |
+
| `CDS_position_ids` | A list of integers representing the position of each CDS element in the scaffold. | `[1, 3, 5, 6]` |
|
66 |
+
| `IGS_position_ids` | A list of integers representing the position of each IGS element in the scaffold. | `[0, 2, 4]` |
|
67 |
+
| `CDS_ids` | A list of string identifiers for each CDS element. | `['7000000126\|C1821366\|CDS\|gene_115413\|+\|84:437', '7000000126\|C1821366\|CDS\|gene_115414\|+\|456:977', '7000000126\|C1821366\|CDS\|gene_115415\|+\|991:1167', '7000000126\|C1821366\|CDS\|gene_115416\|+\|1168:1689']` |
|
68 |
+
| `IGS_ids` | A list of string identifiers for each IGS element. | `['7000000126\|C1821366\|IG\|IG_000001\|+\|73:83', '7000000126\|C1821366\|IG\|IG_000002\|+\|438:455', '7000000126\|C1821366\|IG\|IG_000003\|+\|978:990']` |
|
69 |
+
| `CDS_orientations` | A list of booleans indicating the orientation of each CDS. `True` represents the forward strand, and `False` represents the reverse strand. | `[True, True, True, False]` |
|
70 |
+
|
71 |
+
|
72 |
+
The format for the CDS and IGS id fields is: `sample_accession|contig_id|feature_type|gene_id|strand|start:end`
|
73 |
|
74 |
|
75 |
## Citation
|