Dataset Viewer
Auto-converted to Parquet Duplicate
strain_name
stringlengths
12
53
tax_id
stringlengths
5
7
start
listlengths
1
219
end
listlengths
1
219
strand
listlengths
1
219
protein_sequence
listlengths
1
219
labels
listlengths
1
219
protein_names
listlengths
1
219
Candidatus Pelagibacter sp. IMCC9063
1002672
[[0,515,1531,2094,3898,4826,6299,6494,7375,8564,9387,10723,12464,13466,14560,14947,15642,15903,16617(...TRUNCATED)
[[1284727,1535,2095,3855,4816,6296,6485,7376,8491,9395,10335,11845,13277,14531,14932,15637,15900,166(...TRUNCATED)
[[-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,-1,-1,-1,-1(...TRUNCATED)
[["MDKNQIIIFDTTLRDGEQSPGASMSLEEKVQIAKAFQDLGVDVMEAGFPAASQGDFEAVSEISKILTKTIPCGLARSLKNDLDKCYESLKHSKHFRI(...TRUNCATED)
[[[1,745,340],[1,1122,232],[1,373,414],[1,699,258],[1,25,377],[1,969,169],[1,690,161],[1,468,218],[1(...TRUNCATED)
[["SAR11G3_01447","SAR11G3_00001","SAR11G3_00002","SAR11G3_00003","SAR11G3_00004","SAR11G3_00005","S(...TRUNCATED)
Candidatus Paraburkholderia kirkii UZHbot1
1055526
[[59,457,4873,6119,6527,6879,8023,9211,9928,10861,12597,13256,13948,15490,16335,16697,17888,21066,22(...TRUNCATED)
[[374,1177,5875,6431,6716,7974,9142,9775,10582,12598,13197,13793,15340,16324,16701,17312,20930,22464(...TRUNCATED)
[[1,-1,-1,1,1,1,1,-1,-1,1,1,-1,-1,1,1,1,1,-1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,-1,1,1,-1,1,1(...TRUNCATED)
[["MTHAASAVTARGLALAGAAPANFLRHNPKSADSKAWFATEAPSANVAGPPRFHHLPPACLALAGATCHSHSSSLNRIVVHRVTPITTMAKPSHIVYS(...TRUNCATED)
[[[109,47,192],[109,114,243],[109,107,164],[109,2,184],[109,12,260],[109,103,159],[109,26,162],[109,(...TRUNCATED)
[["BKIR_c8_3427","BKIR_c8_3428","BKIR_c8_3438","BKIR_c8_3439","BKIR_c8_3440","BKIR_c8_3442","BKIR_c8(...TRUNCATED)
Candidatus Gullanella endobia
1070130
[[0,1815,3001,3688,4593,5418,6149,7069,10964,13101,14670,16096,20123,21839,23214,23683,24958,33907,3(...TRUNCATED)
[[1800,2805,3682,4594,5295,6150,6530,7570,12218,13902,15831,17386,20720,23114,23667,24859,26338,3607(...TRUNCATED)
[[1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,-1,1,1,-1,-1,1,(...TRUNCATED)
[["MNNIRNFSIIAHIDHGKSTLSDRLIQICGGLSKREMSTQVLDSMDLERERGITIKSQSVTLDYKSLDNQVYQLNFIDTPGHVDFSYEVSRSLAACEG(...TRUNCATED)
[[[0,326,601],[0,387,159],[0,341,281],[0,429,153],[0,2,573],[0,3,733],[0,198,414],[0,347,465],[0,17,(...TRUNCATED)
[["FVIR_GE00001","FVIR_GE00002","FVIR_GE00003","FVIR_GE00004","FVIR_GE00005","FVIR_GE00006","FVIR_GE(...TRUNCATED)
Candidatus Pelagibacter ubique HIMB083
1096769
[[0,1441,2749,3561,4293,5336,6541,7473,8363,9893,10277,11403,11645,12304,12635,13168,14053,15178,163(...TRUNCATED)
[[1153,2578,3520,4284,5340,6542,7465,8364,9707,10256,11141,11649,12044,12628,13154,13720,15157,15931(...TRUNCATED)
[[-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,(...TRUNCATED)
[["MKLKSYNRYIELIFVLAVTVIFIKYRSNEISYGLPYFWNRDEIAFQGSVLSSLSILTGYFEKNYNPFYTSLFNLIIILKSIFINEFLINSLNFAQIK(...TRUNCATED)
[[[0,931,622],[0,64,213],[0,59,386],[0,492,279],[0,1206,232],[0,1015,498],[0,628,175],[0,713,262],[0(...TRUNCATED)
[["Pelub83DRAFT_0001","Pelub83DRAFT_0002","Pelub83DRAFT_0004","Pelub83DRAFT_0005","Pelub83DRAFT_0006(...TRUNCATED)
Streptococcus parasanguinis FW213
1114965
[[221,1739,3115,3790,4974,5548,9110,9369,9741,9841,11127,12406,12959,15422,23889,24709,25303,26735,2(...TRUNCATED)
[[1580,2876,3613,4906,5544,9052,9377,9738,9870,11128,12402,12949,14933,15902,24708,25210,26521,27938(...TRUNCATED)
[[1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,(...TRUNCATED)
[["MSQEEQFWSRFLELAQLQLKDSTYDFFVADSKLVKIDGETATIYLDGNYKELFWETNLKNALITASFEVYNTDLKFHFIFEDTEEIPSNHSSENRRL(...TRUNCATED)
[[[0,649,191],[0,1727,190],[0,1484,213],[0,1358,251],[0,1644,161],[0,1139,256],[0,1048,219],[0,588,1(...TRUNCATED)
[["Spaf_0001","Spaf_0002","Spaf_0003","Spaf_0004","Spaf_0005","Spaf_0006","Spaf_0007","Spaf_0008","S(...TRUNCATED)
Simiduia agarivorans SA1 = DSM 21679
1117647
[[463,5447,6374,6575,6965,9743,11211,11896,13154,14218,15603,16050,17577,19670,19933,20663,21099,224(...TRUNCATED)
[[5356,6269,6575,6926,9593,10982,11394,13120,14000,15538,16038,17265,19068,19937,20410,20981,22107,2(...TRUNCATED)
[[1,1,1,1,1,1,1,1,-1,1,-1,-1,1,-1,-1,-1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-(...TRUNCATED)
[["MTFTVNVDTAPTSALTFTVKTQDGSATGGSDYQSIAPTTYTIPAGATSATITVIVNSDSNQFEGDEAFYLQLTGFNQTVNFAPGSQTIAGGVQATGH(...TRUNCATED)
[[[0,1107,242],[0,3087,171],[0,1883,200],[0,2767,165],[0,1657,166],[0,4,365],[0,1944,178],[0,1640,17(...TRUNCATED)
[["M5M_00005","M5M_00015","M5M_00020","M5M_00025","M5M_00030","M5M_00035","M5M_00040","M5M_00045","M(...TRUNCATED)
Halodesulfovibrio marinisediminis DSM 17456
1121457
[[860,1726,2718,3161,4015,4484,5403,6211,6750,7197,8773,9208,10336,11268,11747,12282,12989,13467,142(...TRUNCATED)
[[1700,2668,3015,3992,4288,5357,6042,6715,7122,8097,9145,10228,11152,11607,12260,12771,13466,14007,1(...TRUNCATED)
[[1,1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,1,-1,-1,1,1,1,1,1,1,1,1,1,1,1,-1,1,-1,-1,1,-1,-1,-1,-1,-1,1,1,-1,-(...TRUNCATED)
[["MNTNVVLSHAIEEASESLTLPNGEAISVLTVRAIEAFSKAEGTPLIEIEKAALKQNILPERYVRNFSLISMEDQYNLLSSKVFVVGLGGLGGYVVEQ(...TRUNCATED)
[[[0,289,205],[0,846,310],[0,730,172],[0,580,274],[0,402,185],[0,482,151],[0,193,155],[0,464,160],[0(...TRUNCATED)
[["SAMN02745161_0010","SAMN02745161_0011","SAMN02745161_0012","SAMN02745161_0013","SAMN02745161_0014(...TRUNCATED)
Sphingomonas jatrophae
1166337
[[851,3706,4845,5894,9059,10513,11076,11582,12890,13732,15356,16801,19260,20385,20800,21666,21971,22(...TRUNCATED)
[[3503,4849,5895,8822,10508,10930,11523,12686,13670,15346,16769,19195,20307,20808,21679,21975,22589,(...TRUNCATED)
[[-1,-1,-1,-1,1,-1,-1,-1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,1,1,1,1,-1,-1,-1,1,1,1,1,1,1,1,-1,-1(...TRUNCATED)
[["MSAGSGSWAARLLAGTSRSIAIALAASALIAGAVPAGAQAQVPTPESWFGHRMGSDRKLEPYAKMVAYYQRLAATSDRIKLVEIGKSTEGRPYLALF(...TRUNCATED)
[[[0,1100,159],[0,1287,152],[0,538,256],[0,1504,169],[0,243,304],[0,1718,169],[0,995,607],[0,205,167(...TRUNCATED)
[["SAMN05192580_0003","SAMN05192580_0004","SAMN05192580_0005","SAMN05192580_0006","SAMN05192580_0007(...TRUNCATED)
Desulfocapsa sulfexigens DSM 10523
1167006
[[2751,4739,8348,10223,11772,12560,13375,15629,16017,16777,17759,18224,21250,22770,23848,24455,26943(...TRUNCATED)
[[4605,8090,10070,11420,12555,13016,15448,15899,16758,17770,18173,20966,22669,23226,24454,26921,2732(...TRUNCATED)
[[-1,-1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,1,1,-1,-1,1,1,1,1,-1,-1,-1,-1,-1,1,1,1,-1,-1(...TRUNCATED)
[["MNIRYTLAATTLCCTLLSSGCAYDKKRIVSPGNTATSTPGIETTEDIGTKSVSQPLPVGMNDDFQFQKDGRPQGVTGLAEEMSGLPEMQYVKDRIFE(...TRUNCATED)
[[[0,1429,154],[0,2196,264],[0,1140,265],[0,1,522],[0,3368,318],[0,1533,217],[0,1807,153],[0,1937,19(...TRUNCATED)
[["UWK_00004","UWK_00005","UWK_00006","UWK_00007","UWK_00009","UWK_00010","UWK_00011","UWK_00012","U(...TRUNCATED)
Agrobacterium genomosp. 3 str. CFBP 6623
1183432
[[283,2799,4180,4774,5443,6238,8526,9688,11071,11797,12416,12912,13564,14310,15102,15422,16467,17003(...TRUNCATED)
[[2770,4107,4768,5260,6157,8407,9492,10996,11596,12394,12911,13563,14314,15087,15426,16424,16917,174(...TRUNCATED)
[[1,1,1,-1,1,-1,-1,-1,-1,1,1,1,1,1,1,1,-1,-1,-1,1,1,1,1,1,1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1(...TRUNCATED)
[["MTRTPTPIKTDLPALPVSDVLGDIADALAGAKRAVLSAPPGAGKTTLVPLHLLRQEWRGDGKIILLEPRRLAARAAAGRMADLLHESVGDTVGYRMR(...TRUNCATED)
[[[487,755,181],[487,1234,152],[487,1171,191],[487,2256,190],[487,1365,172],[487,475,294],[487,395,1(...TRUNCATED)
[["AGR3A_Cc10001","AGR3A_Cc10002","AGR3A_Cc10003","AGR3A_Cc10004","AGR3A_Cc10005","AGR3A_Cc10006","A(...TRUNCATED)
End of preview. Expand in Data Studio

Dataset for protein-protein interaction prediction across bacteria (Protein sequences)

A dataset of 261 bacterial genomes across 215 genera with protein-protein interaction (PPI) scores for each genome.

The genome protein sequences and PPI scores have been extracted from STRING DB. Each row contains a set of protein sequences from a genome, ordered by their location on the chromosome and plasmids and a set of associated PPI scores. The PPI scores have been extracted using the combined score from STRING DB.

The interaction between two proteins is represented by a triple: [prot1_index, prot2_index, score]. Where to get a probability score, you must divide the score by 1000 (i.e. if the score is 721 then to get a true score do 721/1000=0.721). The index of a protein refers to the index of the protein in the protein_sequences column of the row. See example below in Usage

Usage

We recommend loading the dataset in a streaming mode to prevent memory errors.

from datasets import load_dataset


ds = load_dataset("macwiatrak/bacbench-ppi-stringdb-protein-sequences-small", split="validation", streaming=True)
item = next(iter(ds))

# select a contig_idx
contig_idx = 0
# fetch protein sequences from a genome (list of strings) for the contig_idx
prot_seqs = item["protein_sequence"][contig_idx]
# fetch PPI triples labels (i.e. [prot1_index, prot2_index, score])
ppi_triples = item["labels"][contig_idx]

# get protein seqs and label for one pair of proteins
prot1 = prot_seqs[ppi_triples[0][0]]
prot2 = prot_seqs[ppi_triples[0][1]]
score = ppi_triples[0][2] / 1000

# we recommend binarizing the labels based on the threshold of 0.6
binary_ppi_triples = [
  (prot1_index, prot2_index, int((score / 1000) >= 0.6)) for prot1_index, prot2_index, score in ppi_triples
]

Split

We provide a phylogeny-aware train, validation and test split by genus with proportions of 60 / 10 / 20 (%) respectively as part of the dataset. This means that the the genera in train, validation and test do not overlap.

See github repository for details on how to embed the dataset with DNA and protein language models as well as code to predict protein-protein interactions.

Relevant resources:

Downloads last month
340

Collection including macwiatrak/bacbench-ppi-stringdb-protein-sequences-small