genome_name
stringlengths 8
11
| essential
sequencelengths 476
6.28k
| start
sequencelengths 476
6.28k
| end
sequencelengths 476
6.28k
| protein_id
sequencelengths 476
6.28k
| strand
sequencelengths 476
6.28k
| product
sequencelengths 476
6.28k
| dna_seq
stringlengths 580k
7.25M
| __index_level_0__
int64 0
50
|
---|---|---|---|---|---|---|---|---|
AE004091 | ["Yes","Yes","No","Yes","No","Yes","No","Yes","Yes","No","Yes","No","Yes","Yes","No","Yes","No","Yes(...TRUNCATED) | [483,2056,3169,4275,7018,7803,8671,10434,12488,13540,14235,15207,15620,16335,16900,17366,18767,20068(...TRUNCATED) | [2027,3159,4278,6695,7791,8339,10377,12488,13435,14091,15122,15473,16273,16607,17217,18739,20071,210(...TRUNCATED) | ["NP_064721.1","NP_064722.1","NP_064723.1","NP_064724.1","NP_064725.1","NP_064726.1","NP_064727.1","(...TRUNCATED) | [1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-(...TRUNCATED) | ["chromosome replication initiator DnaA","DNA polymerase III subunit beta","DNA replication and repa(...TRUNCATED) | "TTTAAAGAGACCGGCGATTCTAGTGAAATCGAACGGGCAGGTCAATTTCCAACCAGCGATGACGTAATAGATAGATACAAGGAAGTCATTTTTCTTTTA(...TRUNCATED) | 0 |
AE014133 | ["Yes","Yes","No","No","No","Yes","No","No","No","No","No","Yes","No","Yes","No","No","No","Yes","Ye(...TRUNCATED) | [194,1708,2962,3106,3461,4663,5225,8852,9111,9482,9611,10843,12118,12682,15140,23646,24466,25082,265(...TRUNCATED) | [1552,2844,3093,3297,4576,5232,8722,9124,9482,9601,10846,12114,12660,14652,16555,24464,24972,26377,2(...TRUNCATED) | ["WP_002262648.1","WP_002262647.1","WP_303659930.1","WP_002262646.1","WP_002310742.1","WP_002262644.(...TRUNCATED) | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0(...TRUNCATED) | ["chromosomal replication initiator protein DnaA","DNA polymerase III subunit beta","hypothetical pr(...TRUNCATED) | "TTTTGTTTTTGTTTTTAACCACTTTTCCACAAGAAAAGATGCTATCGAATCTCTTGATTAACAGAATTTATCATCTTTTCCACAAATTGTGGAAAACTT(...TRUNCATED) | 1 |
AJ749949 | ["No","Yes","No","No","No","No","No","No","No","No","No","Yes","No","No","No","Yes","Yes","Yes","No"(...TRUNCATED) | [45,1557,2691,3203,3956,4660,6049,7958,8980,11433,12455,13181,14513,15178,16730,17883,18173,19621,21(...TRUNCATED) | [1521,2661,3096,3988,4625,5869,7822,8294,9430,12216,12854,14480,15092,16720,17801,18165,19619,21043,(...TRUNCATED) | ["WP_011997492.1","WP_003013639.1","WP_003017549.1","WP_004578540.1","WP_003024359.1","WP_003022832.(...TRUNCATED) | [1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0(...TRUNCATED) | ["chromosomal replication initiator protein DnaA","DNA polymerase III subunit beta","hypothetical pr(...TRUNCATED) | "TTGGCTATCCTTTATATTTTAAGGGTTATTAGGATATTTTTTATTATGACTACATGGGATAAATGTTTAAAAAAAATAAAAAAAAACCTTTCTACGTTT(...TRUNCATED) | 2 |
AM946016 | ["No","Yes","No","No","No","No","Yes","No","Yes","No","Yes","No","No","Yes","Yes","No","Yes","Yes","(...TRUNCATED) | [1,1528,2756,3647,3954,4399,5672,6241,9785,10044,10409,10535,11816,13092,13656,15967,23569,24395,249(...TRUNCATED) | [1374,2664,3637,3850,4313,5514,6241,9735,10057,10412,10522,11815,13084,13634,15629,16437,24405,24910(...TRUNCATED) | ["WP_011921628.1","WP_004194538.1","WP_011921629.1","WP_011922523.1","WP_012774878.1","WP_012774879.(...TRUNCATED) | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0(...TRUNCATED) | ["chromosomal replication initiator protein DnaA","MULTISPECIES: DNA polymerase III subunit beta","d(...TRUNCATED) | "ATGAACCAAGAACAACTTTTTTGGCAACGATTTATTGAATTGGCAAAGGTAAATTTTAAGCCATCTATTTATGATTTTTATGTCGCTGATGCAAAATTA(...TRUNCATED) | 4 |
NC_000907 | ["Yes","No","No","Yes","No","No","No","Yes","Yes","No","No","Yes","Yes","Yes","No","No","Yes","No","(...TRUNCATED) | [1,1189,3049,3853,4578,8749,9680,10466,11413,11856,12366,13422,14327,15012,16070,18034,18675,19404,2(...TRUNCATED) | [1021,3013,3838,4318,5391,9688,10397,11375,11854,12261,13359,14331,15011,16062,17867,18418,19335,208(...TRUNCATED) | ["AAC21680.1","AAC21681.1","AAC21682.1","AAC21683.1","AAC21684.1","AAC21685.1","AAC21686.1","AAC2168(...TRUNCATED) | [1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-(...TRUNCATED) | ["glyceraldehyde-3-phosphate dehydrogenase (gapdH)","long chain fatty acid coA ligase, putative","co(...TRUNCATED) | "TATGGCAATTAAAATTGGTATCAATGGTTTTGGTCGTATCGGCCGTATCGTATTCCGTGCAGCACAACACCGTGATGACATTGAAGTTGTAGGTATTAA(...TRUNCATED) | 6 |
NC_000908 | ["Yes","No","Yes","Yes","Yes","Yes","Yes","Yes","No","No","No","No","Yes","Yes","Yes","No","Yes","Ye(...TRUNCATED) | [685,1827,2844,4811,7293,8550,9155,9922,11250,12067,12700,13568,14394,15554,17472,19251,22388,23541,(...TRUNCATED) | [1828,2760,4797,7322,8547,9183,9920,11251,12039,12724,13564,14432,15216,17426,19242,22347,23558,2446(...TRUNCATED) | ["AAC71217.2","AAC71218.2","AAC71219.1","AAC71220.1","AAC71221.1","AAC71222.1","AAC71223.1","AAC7122(...TRUNCATED) | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,(...TRUNCATED) | ["DNA polymerase III, beta subunit","DnaJ domain protein","DNA gyrase, B subunit","DNA gyrase, A sub(...TRUNCATED) | "TAAGTTATTATTTAGTTAATACTTTTAACAATATTATTAAGGTATTTAAAAAATACTATTATAGTATTTAACATAGTTAAATACCTTCCTTAATACTGT(...TRUNCATED) | 7 |
NC_000915 | ["No","No","No","No","No","Yes","Yes","No","No","No","No","No","No","No","No","No","No","No","No","N(...TRUNCATED) | [216,634,1114,1931,2718,3402,4696,4936,7602,9267,9910,11586,12727,13701,13982,14247,16862,18379,1934(...TRUNCATED) | [633,1105,1945,2597,3402,4233,4768,5020,9243,9624,11590,12639,13555,13983,14246,16611,18272,19345,20(...TRUNCATED) | ["AAD07074.1","AAD07075.1","AAD07076.1","AAD07077.1","AAD07078.1","AAD07079.1","AAD07084.1","AAD0708(...TRUNCATED) | [-1.0,-1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0(...TRUNCATED) | ["predicted coding region HP0001","riboflavin synthase beta chain (ribE)","3-deoxy-d-manno-octuloson(...TRUNCATED) | "TGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGTGATTAGT(...TRUNCATED) | 10 |
NC_000962 | ["Yes","Yes","Yes","No","Yes","Yes","No","No","No","No","No","No","Yes","Yes","Yes","No","No","Yes",(...TRUNCATED) | [0,2051,3279,4433,5239,7301,9913,11873,12467,13132,13713,14088,14913,15589,17466,18758,20230,21636,2(...TRUNCATED) | [1524,3260,4437,4997,7267,9818,10828,12311,13016,13558,13995,14877,15612,17470,18762,20234,21640,231(...TRUNCATED) | ["CCP42723.1","CCP42724.1","CCP42725.1","CCP42726.1","CCP42727.1","CCP42728.1","CCP42729.1","CCP4273(...TRUNCATED) | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0(...TRUNCATED) | ["Chromosomal replication initiator protein DnaA","DNA polymerase III (beta chain) DnaN (DNA nucleot(...TRUNCATED) | "TTGACCGATGACCCCGGTTCAGGCTTCACCACAGTGTGGAACGCGGTCGTCTCCGAACTTAACGGCGACCCTAAGGTTGACGACGGACCCAGCAGTGAT(...TRUNCATED) | 11 |
NC_002163 | ["No","No","No","No","No","No","No","No","No","No","Yes","No","No","No","No","No","No","Yes","No","N(...TRUNCATED) | [1,1483,2579,4916,5260,6703,8144,12644,14398,15844,16452,16756,17563,19251,19867,21159,21854,23392,2(...TRUNCATED) | [1323,2550,4888,5257,6498,8010,12634,14395,15843,16419,16691,17403,19239,19775,21093,21833,23380,235(...TRUNCATED) | ["YP_002343473.1","YP_002343474.1","YP_002343475.1","YP_002343476.1","YP_002343477.1","YP_002343478.(...TRUNCATED) | [1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.(...TRUNCATED) | ["chromosomal replication initiation protein","DNA polymerase III subunit beta","DNA gyrase subunit (...TRUNCATED) | "ATGAATCCAAGCCAAATACTTGAAAATTTAAAAAAAGAATTAAGTGAAAACGAATACGAAAACTATTTATCAAATTTAAAATTCAACGAAAAACAAAGC(...TRUNCATED) | 13 |
NC_002953 | ["No","Yes","No","Yes","No","No","No","Yes","Yes","No","No","No","Yes","Yes","No","No","No","No","No(...TRUNCATED) | [12,517,1599,2156,2179,2527,3474,3670,3912,4054,4274,4678,5034,7005,8010,8646,9162,9466,9755,10560,1(...TRUNCATED) | [638,1878,2144,3289,2487,3387,3815,3915,5024,4125,4459,5421,6968,9668,8627,8993,9254,10440,10567,113(...TRUNCATED) | ["WP_000593103.1","WP_001290433.1","WP_000273005.1","WP_000969811.1","WP_001020850.1","WP_000145511.(...TRUNCATED) | [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-(...TRUNCATED) | ["MULTISPECIES: ABC transporter ATP-binding protein","MULTISPECIES: chromosomal replication initiato(...TRUNCATED) | "CGATTAAAGATAGAAATACACGATGCGAGCAATCAAATTTCATAACATCACCATGAGTTTGGTCCGAAGCATGAGTGTTTACAATGTTTGAATACCTTA(...TRUNCATED) | 18 |
Dataset for essential genes prediction in bacterial genomes (DNA)
A dataset of 169,408 genes with gene essentiality labels (binary) from 51 bacterial genomes across 37 species.
The gene essentiality labels have been extracted from the Database of Essential Genes and the genome DNA sequences have been extracted from GenBank.
Each row contains whole bacterial genome together with annotated gene locations on the genome (start
and end
). We excluded duplicates and genomes with incomplete genomes.
Labels
The labels for each gene are provided in the dataset in the essential
column.
Usage
We recommend loading the dataset in a streaming mode to prevent memory errors.
from datasets import load_dataset
ds = load_dataset("macwiatrak/bacbench-essential-genes-dna", split="validation")
# fetch an example
item = ds[0]
# get gene sequences
dna_seq = item['dna_seq']
gene_dna_seqs = [
item['dna_seq'][int(start - 1):int(end)] for start, end in zip(item["start"], item["end"])
]
# get labels
labels = item["essential"]
Split
We provide 60 / 20 /20
(%) train
, validation
and test
splits respectively as part of the dataset. The split has been performed by randomly.
See github repository for details on how to embed the dataset with DNA and protein language models as well as code to predict gene essentiality. For coding sequence representation of the genome see the macwiatrak/bacbench-essential-genes-protein-sequences dataset.
dataset_info: features: - name: genome_name dtype: string - name: essential sequence: string - name: start sequence: int64 - name: end sequence: int64 - name: protein_id sequence: string - name: strand sequence: float64 - name: product sequence: string - name: dna_seq dtype: string - name: index_level_0 dtype: int64 splits: - name: train num_bytes: 120955501 num_examples: 30 - name: validation num_bytes: 45990995 num_examples: 11 - name: test num_bytes: 36170463 num_examples: 10 download_size: 92709156 dataset_size: 203116959 configs: - config_name: default data_files: - split: train path: data/train-* - split: validation path: data/validation-* - split: test path: data/test-*
- Downloads last month
- 66