license: apache-2.0
tags:
- operon
- biology
- bacteria
- genomics
- genomes
- prokaryotes
pretty_name: Dataset for identifying operons in bacterial genomes (DNA)
size_categories:
- n<1K
Dataset for operon identification in bacteria (DNA)
A dataset of 4,073 operons across 11 bacterial genomes species.
The operon annotations have been extracted from Operon DB and the genome DNA sequences have been extracted from GenBank. Each row contains whole bacterial genome, represented by a list of DNA sequences from different contigs.
We extracted high-confidence (i.e. known
) operons from Operon DB, filtered out non-contigous operons and only kept genomes with at least 9 known operons. We then matched the operon
annotations with the genomes available in GenBank using gene names provided by Operon DB.
Labels
For each operon, we provide the operon protein indices (operon_protein_indices
column) which can be used to extract the genes which form an operon. We also include operon names and gene names as metadata.
Usage
We recommend loading the dataset in a streaming mode to prevent memory errors.
from datasets import load_dataset
ds = load_dataset("macwiatrak/bacbench-operon-identification-dna", split="test")
item = ds[0]
# fetch operon protein indices and names
operon_prot_indices = item["operon_protein_indices"]
operon_prot_names = item["operon_protein_names"]
# fetch gene DNA sequences of an operon
contig_idx = 0
operon_gene_dna_seqs = [
item['dna_sequence'][contig_idx][item[contig_idx]['start'][i] - 1: item[contig_idx]['end'][i]] for i in operon_prot_indices[contig_idx][0]
]
Split
We recommend using operon identification dataset is a fully unsupervised manner, therefore, the entire dataset makes up a test
set.
See github repository for details on how to embed the dataset with DNA and protein language models as well as code to evaluate operon identification in a zero-shot fasion. For coding sequence representation of the genome see the bacbench-operon-identification-protein-sequences dataset.