macwiatrak commited on
Commit
31603fd
·
verified ·
1 Parent(s): 5f9b286

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -0
README.md CHANGED
@@ -1,3 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  dataset_info:
3
  features:
 
1
+ # Dataset for whole-bacterial genomes clustering (DNA)
2
+
3
+ A dataset of 60,710 bacterial genomes across 25 species, 10 genera and 7 families.
4
+
5
+ The genome DNA sequences have been extracted from [MGnify](https://www.ebi.ac.uk/metagenomics). Each row contains whole bacterial genome, with spaces
6
+ separating different contigs present in the genome.
7
+
8
+
9
+ ## Labels
10
+ The species, genus and family labels have been provided by MGnify
11
+
12
+ ## Usage
13
+ We recommend loading the dataset in a streaming mode to prevent memory errors.
14
+ ```python
15
+ from datasets import load_dataset
16
+
17
+
18
+ ds = load_dataset("macwiatrak/bacbench-strain-clustering-dna", split="test", streaming=True)
19
+
20
+ # fetch the DNA sequence of the genome
21
+ item = next(iter(ds))
22
+ dna_seq = item["dna_sequence"]
23
+ # get DNA sequences for each contig
24
+ dna_seq_contigs = dna_seq.split()
25
+ ```
26
+
27
+ ## Split
28
+
29
+ The strain clustering task is a fully unsupervised task, therefore, we do not perform any split and the whole dataset is available as part of the `test` split.
30
+
31
+ See [github repository](https://github.com/macwiatrak/Bacbench) for details on how to embed the dataset with DNA and protein language models as well as code to predict antibiotic
32
+ resistance from sequence. For coding sequence representation of the genome see the [strain-clustering-protein-sequences](https://huggingface.co/datasets/macwiatrak/bacbench-strain-clustering-protein-sequences)
33
+ dataset.
34
+
35
  ---
36
  dataset_info:
37
  features: