Dataset Viewer (First 5GB)
Auto-converted to Parquet
genome_name
string
contig_name
sequence
start
sequence
end
sequence
locus_tag
sequence
protein_sequence
sequence
strand
sequence
genome_completeness
string
genome_lineage
string
genome_sample_accession
string
genome_study_accession
string
country
string
family
string
genus
string
species
string
MGYG000020337
[">MGYG000020337_1",">MGYG000020337_10",">MGYG000020337_11",">MGYG000020337_12",">MGYG000020337_13",(...TRUNCATED)
[["101314","108262","108859","110942","11144","111465","114","115079","115531","116602","117391","11(...TRUNCATED)
[["102141","108762","110736","111346","12139","115022","1616","115450","116397","117075","118353","1(...TRUNCATED)
[["ytbE","Unknown","Unknown","Unknown","Unknown","dnaE1","tet(W)","Unknown","yhjD","Unknown","Unknow(...TRUNCATED)
[["MAIQSTIMLNNGTVIPQVGLGVFQTPDGDTTVNAVQTALENGYRHIDTAMIYHNEASVGEGIRRAGVPRSDFFLTTKLWNDDIRARRGKDAFQESLD(...TRUNCATED)
[["+","-","-","-","+","-","+","+","-","-","-","-","-","-","-","-","-","-","-","+","+","-","+","+","+(...TRUNCATED)
100.0
"d__Bacteria;p__Actinobacteriota;c__Actinomycetia;o__Actinomycetales;f__Bifidobacteriaceae;g__Bifido(...TRUNCATED)
SAMN09734779
PRJNA482748
China
Bifidobacteriaceae
Bifidobacterium
Bifidobacterium infantis
MGYG000020342
[">MGYG000020342_1",">MGYG000020342_10",">MGYG000020342_100",">MGYG000020342_101",">MGYG000020342_10(...TRUNCATED)
[["10653","10961","1167","12361","14433","14753","15322","16204","16391","1640","16753","17175","175(...TRUNCATED)
[["10877","12349","1439","14070","14768","15304","16191","16386","16753","3628","17178","17549","180(...TRUNCATED)
[["Unknown","Unknown","Unknown","Unknown","Unknown","Unknown","Unknown","Unknown","Unknown","Unknown(...TRUNCATED)
[["MKKFRKWLIDRFLPRWAYESLLEELAAANKKQEELRQTVERQQCYISGLEYALRHMTPTVVVESHEKETKEKAG","MMGALIRALTNNAVENIEEA(...TRUNCATED)
[["+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+","+(...TRUNCATED)
88.55
"d__Bacteria;p__Firmicutes_A;c__Clostridia;o__Oscillospirales;f__Ruminococcaceae;g__Gemmiger;s__Gemm(...TRUNCATED)
ERS746926
ERP010700
United Kingdom
Ruminococcaceae
Gemmiger
Gemmiger formicilis
MGYG000020343
[">MGYG000020343_1",">MGYG000020343_10",">MGYG000020343_100",">MGYG000020343_101",">MGYG000020343_10(...TRUNCATED)
[["12237","14329","16036","17377","1840","21969","23622","2451","25285","25879","26789","27924","281(...TRUNCATED)
[["14312","16002","17340","21756","2274","23510","25277","2651","25839","26652","27910","28892","445(...TRUNCATED)
[["Unknown","Unknown","pemA_1","rcsC_1","Unknown","Unknown","acsA","Unknown","Unknown","proC_1","lys(...TRUNCATED)
[["MKIQKLFLAVLSSSVLCTSCMDNFLDTESPSIPSDENLFKSTALTEAALMGVYATMTDTYIYGQKLCVNWQGASDVEVGSGAFSTENYNSTLRDEGA(...TRUNCATED)
[["+","+","+","-","+","+","-","-","-","-","-","-","-","-","-","-","+","+","+","+","+","+","+","+","+(...TRUNCATED)
85.04
"d__Bacteria;p__Bacteroidota;c__Bacteroidia;o__Bacteroidales;f__Bacteroidaceae;g__Bacteroides;s__Bac(...TRUNCATED)
SRS871463
SRP056054
Finland
Bacteroidaceae
Bacteroides
Bacteroides ovatus
MGYG000020344
[">MGYG000020344_1",">MGYG000020344_10",">MGYG000020344_100",">MGYG000020344_101",">MGYG000020344_10(...TRUNCATED)
[["1077","10869","12123","12975","1409","14471","15353","16190","17502","18230","19115","20661","208(...TRUNCATED)
[["1379","12101","12785","14327","2983","15358","16105","17305","18227","19000","20401","20852","213(...TRUNCATED)
[["Unknown","clpX","clpP","tig","lptD_1","Unknown","lptB","Unknown","mlaE","mkl","metK","Unknown","s(...TRUNCATED)
[["MALFSFYNMRKPRQFDHKPIYWDPHKEALEERISKVKREMGVEEPLEEYKPHIKGTFIEGTSHLKKSVGRGEDSRARRYKNVKLAVALAVLAAFFWY(...TRUNCATED)
[["-","-","-","-","-","+","-","-","+","+","-","-","-","-","-","-","-","-","-"],["-","+","-","-","-",(...TRUNCATED)
71.71
"d__Bacteria;p__Bacteroidota;c__Bacteroidia;o__Bacteroidales;f__Tannerellaceae;g__Parabacteroides;s_(...TRUNCATED)
ERS396398
ERP004605
Denmark
Tannerellaceae
Parabacteroides
Parabacteroides distasonis
MGYG000020346
[">MGYG000020346_1",">MGYG000020346_10",">MGYG000020346_11",">MGYG000020346_12",">MGYG000020346_13",(...TRUNCATED)
[["100013","101005","101808","10258","103473","103948","105503","106936","107570","108811","109429",(...TRUNCATED)
[["100957","101529","103436","11226","103757","105102","106687","107235","108628","109341","109740",(...TRUNCATED)
[["menH_1","ogt","groL","pfkA","groS","Unknown","metK","Unknown","Unknown","rutE","Unknown","mdtC","(...TRUNCATED)
[["MFEILVGILLFVVLLMVCSVLVSEYLFKMIIYRQKKSSCQKDIDAVASWYRHYPIAKTGRLWLENMPYINVYIKSFDGLRLYGALLENEKFSDKIII(...TRUNCATED)
[["+","+","-","+","-","-","-","-","-","+","-","-","+","-","-","+","-","-","+","+","+","+","+","+","+(...TRUNCATED)
97.4
"d__Bacteria;p__Firmicutes_A;c__Clostridia;o__Oscillospirales;f__Acutalibacteraceae;g__Ruminococcus_(...TRUNCATED)
ERS199171
ERP002061
Denmark
Acutalibacteraceae
Ruminococcus_E
Ruminococcus_E sp003526955
MGYG000020353
[">MGYG000020353_1",">MGYG000020353_10",">MGYG000020353_11",">MGYG000020353_12",">MGYG000020353_13",(...TRUNCATED)
[["100942","102455","103066","10534","105544","106948","109407","110755","112965","114789","11482","(...TRUNCATED)
[["102480","103066","104895","11454","106935","109212","110627","112761","114815","115580","12435","(...TRUNCATED)
[["Unknown","Unknown","Unknown","murB","yjmB_1","lacZ","rhaS_1","metG","Unknown","dnaJ_1","glcK","Un(...TRUNCATED)
[["MVIIKQILNSFLFWGGWIIIPFIMEIVPALGSVFLLIRRNLRHKKKRKEMKIYPEISLIIPVYNSADTLYGCIKSVNDSTYPNDKIRIFLVNNKGQD(...TRUNCATED)
[["-","-","-","-","-","-","+","-","+","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-(...TRUNCATED)
76.32
"d__Bacteria;p__Firmicutes_A;c__Clostridia;o__Lachnospirales;f__Lachnospiraceae;g__Lachnospira;s__La(...TRUNCATED)
ERS634968
ERP009131
Canada
Lachnospiraceae
Lachnospira
Lachnospira rogosae
MGYG000020356
[">MGYG000020356_1",">MGYG000020356_10",">MGYG000020356_11",">MGYG000020356_12",">MGYG000020356_13",(...TRUNCATED)
[["100502","102460","103863","10389","105637","106531","107615","108588","109473","110786","112217",(...TRUNCATED)
[["102286","103584","105233","11372","106389","107523","108586","109427","110528","112174","112918",(...TRUNCATED)
[["ade","gldA","gltP","Unknown","ydjF","ydjG","ydjH","gatY","ydjJ_1","ydjE","alsE","Unknown","prmC",(...TRUNCATED)
[["MEMAFAKCYNLVNIYKKGGAFMQEIYGQKTDRQLAAKQRIIAVAAGREKADLVLKNAKYLNVFSNEFLCGDIAVANGLIAGVGKYDGKTEIDVSGKL(...TRUNCATED)
[["-","+","-","+","-","-","-","-","-","-","-","-","+","-","+","-","+","-","+","-","-","-","+","-","-(...TRUNCATED)
98.66
"d__Bacteria;p__Firmicutes_A;c__Clostridia;o__Oscillospirales;f__Acutalibacteraceae;g__Ruminococcus_(...TRUNCATED)
ERS328855
ERP003612
Denmark
Acutalibacteraceae
Ruminococcus_E
Ruminococcus bromii
MGYG000020361
[">MGYG000020361_1",">MGYG000020361_10",">MGYG000020361_100",">MGYG000020361_101",">MGYG000020361_10(...TRUNCATED)
[["100429","102729","104097","105798","108262","110831","112252","113272","114511","115562","116274"(...TRUNCATED)
[["102633","103910","105434","108161","110766","112111","113265","114168","115368","116269","116936"(...TRUNCATED)
[["Unknown","yciC","gdhA","maeB","chb","mgl_1","Unknown","Unknown","sbmC","Unknown","ung_1","hxlR","(...TRUNCATED)
[["MRKELLLLGAFGMLTTATLCAQEFHLQPTPQEYITQKDSVDIPRQYQILSGNSVQDGPALPLLRSLMPEEVLGASFRVYIGVKGDKIIKKYQHRIPR(...TRUNCATED)
[["+","-","-","-","+","-","+","-","-","+","-","+","-","+","+","-","-","+","-","-","-","-","-","-","-(...TRUNCATED)
68.45
"d__Bacteria;p__Bacteroidota;c__Bacteroidia;o__Bacteroidales;f__Bacteroidaceae;g__Bacteroides;s__Bac(...TRUNCATED)
SRS1997003
SRP100575
China
Bacteroidaceae
Bacteroides
Bacteroides uniformis
MGYG000020364
[">MGYG000020364_1",">MGYG000020364_10",">MGYG000020364_11",">MGYG000020364_12",">MGYG000020364_13",(...TRUNCATED)
[["101267","101734","102991","103579","104314","10436","105486","106311","107092","107543","108154",(...TRUNCATED)
[["101704","102921","103422","104313","105384","12421","106112","106979","107439","108064","108702",(...TRUNCATED)
[["rnhA","iscS","iscU_2","cpsB","leuB","gyrB","pspA","Unknown","ndoA","Unknown","Unknown","mgtE","Un(...TRUNCATED)
[["MKQVEIFTDGACSGNPGPGGWGAVLRYNGHEKEISGGEANTTNNRMELSAVINALALLKEPCKVTLYSDSQYVCNALKLGWAKKWKANNWMRNKKEK(...TRUNCATED)
[["+","+","+","-","-","-","-","+","-","-","-","-","-","-","-","-","-","+","+","+","+","-","-","-","-(...TRUNCATED)
62.07
"d__Bacteria;p__Firmicutes_A;c__Clostridia;o__Oscillospirales;f__Acutalibacteraceae;g__Ruminococcus_(...TRUNCATED)
ERS971967
ERP012929
Israel
Acutalibacteraceae
Ruminococcus_E
Ruminococcus bromii
MGYG000020370
[">MGYG000020370_1",">MGYG000020370_10",">MGYG000020370_100",">MGYG000020370_101",">MGYG000020370_10(...TRUNCATED)
[["10274","11405","12090","13006","13977","15645","16784","1752","18930","20654","22921","4023","449(...TRUNCATED)
[["11281","11938","12755","13977","15338","16664","18847","3890","20657","22924","23466","4493","572(...TRUNCATED)
[["yidC","Unknown","rsmG","Unknown","noc","trxB","Unknown","gyrB_1","mviN","Unknown","mutT4","Unknow(...TRUNCATED)
[["MNSNEFLLDSGFWGFLYKILTPVEWLQTWIMKIVHDFFVMLGVSPIGVSWVLAIIILVLVVQACIFPLFYKQMKSMRKMQALAPKMQRIQNKYKGKT(...TRUNCATED)
[["+","+","+","+","+","-","-","-","-","-","-","-","-","+","-","-","-","+","+"],["+","-","-","+","+",(...TRUNCATED)
65.12
"d__Bacteria;p__Actinobacteriota;c__Actinomycetia;o__Actinomycetales;f__Bifidobacteriaceae;g__Bifido(...TRUNCATED)
SRS1719371
SRP090628
Finland
Bifidobacteriaceae
Bifidobacterium
Bifidobacterium infantis
End of preview. Expand in Data Studio

Dataset for whole-bacterial genomes clustering (Protein sequences)

A dataset of 60,710 bacterial genomes across 25 species, 10 genera and 7 families.

The genome protein sequences have been extracted from MGnify. Each row contains a set of contigs with protein sequences present in the genome. Each contig is a list of proteins ordered by their location on the chromosome or plasmid.

Labels

The species, genus and family labels have been provided by MGnify

Usage

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

import itertools

from datasets import load_dataset


ds = load_dataset("macwiatrak/bacbench-strain-clustering-protein-sequences", split="test", streaming=True)

# fetch the protein sequence of the genome
item = next(iter(ds))
# all proteins present in the genome across contigs
prot_seqs_contigs = item["protein_sequence"]
# get protein sequences for a single contig
prot_seqs = prot_seqs_contigs[0]
# flatten all proteins present in the genome across all contigs
prot_seqs_flat = list(itertools.chain(*prot_seqs_contigs))

Split

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.

See github repository for details on how to embed the dataset with DNA and protein language models as well as code to predict antibiotic resistance from sequence. For DNA sequence representation of the genome see the strain-clustering-dna dataset.


dataset_info: features: - name: genome_name dtype: string - name: contig_name sequence: string - name: start sequence: sequence: string - name: end sequence: sequence: string - name: locus_tag sequence: sequence: string - name: protein_sequence sequence: sequence: string - name: strand sequence: sequence: string - name: genome_completeness dtype: string - name: genome_lineage dtype: string - name: genome_sample_accession dtype: string - name: genome_study_accession dtype: string - name: country dtype: string - name: family dtype: string - name: genus dtype: string - name: species dtype: string splits: - name: test num_bytes: 53088486516 num_examples: 60710 download_size: 49650872351 dataset_size: 53088486516 configs: - config_name: default data_files: - split: test path: data/test-*

Downloads last month
54

Collection including macwiatrak/bacbench-strain-clustering-protein-sequences