Dry Lab

Model datasets methods

The two datasets the PETadex model learns from, the corpus of candidates and the four sources of PETai activity labels, how they were split, and where to download them on Hugging Face.

Two datasets

The model learns from two datasets that we publish separately and join on sequence MD5. The PETadex corpus supplies the candidates the model scores, and the PETai activity labels supply the targets it learns to predict. Neither contains the other: the corpus carries no activity data, and the labels carry no corpus annotations. Protein language model embeddings are in neither.

The PETadex corpus

The corpus is the output of Dataset Generation on the Model page, which gives the methods for each step. In outline:

  1. Known enzymes. We gathered the plastic-degrading enzymes already reported in PAZy [1] and the literature into a curated reference set, PETadex-PAZy, and grouped them by fold and by homology component.
  2. Catalytic profiles. For each component we built a seed alignment and a profile HMM of its catalytic domain, with the positions of its catalytic residues.
  3. NCBI nr. We searched NCBI's non-redundant protein database for homologs of the references and kept a hit only if a profile HMM found its catalytic domain.
  4. Logan. We clustered those proteins and used them as queries against Logan [2], which assembles the public sequencing runs in the Sequence Read Archive, with the same HMM filter.
  5. Clustering. We clustered everything at 90%, 60% and 30% identity.

The result holds 307,155,746 open reading frames (ORFs): 211 from PAZy, 4,723,128 from NCBI nr and 302,432,407 from Logan.

The corpus is highly redundant. Only 40% of the ORFs are distinct sequences, half of its 18,172,960 clusters at 90% identity are singletons, and the largest 6,591 clusters hold half of all ORFs. We therefore adapted the protein language model on the 90% cluster centroids rather than on raw ORFs, split 98 / 1 / 1 into training, validation and test sets.

What each sequence carries

Every ORF comes with each annotation we could key to it. The Sequence Annotation section of the Model page describes how each layer was computed. Coverage differs between layers, and a missing value means the sequence was not annotated, not that it lacks the feature.

AnnotationWhat it recordsCoverage
Catalytic domainWhich PETadex profile HMM matched, the domain's coordinates and its catalytic residuesEvery ORF
ClustersThe ORF's cluster at 90%, 60% and 30% identity: 18,172,960, 1,814,296 and 22,235 clustersEvery ORF
Signal peptideSignalP 6 [3] class probabilities and cleavage siteEvery ORF; unreliable for Logan ORFs (below)
Biochemical propertiesMolecular weight, isoelectric point, hydrophobicity (GRAVY), instability index and aromaticityEvery ORF; recomputed for the mature protein on the 13.8% with a signal peptide
Sample metadataThe sequencing run and BioSample a Logan ORF was assembled from: environment, metadata profile, location, and temperature and pH where recordedLogan ORFs, through 6.2 million runs and 6.8 million BioSamples
TaxonomyOrganism and lineageNCBI nr ORFs (0.9% of the corpus)
StructuresLinks to AlphaFold DB [4] modelsORFs whose nr accession matches an AlphaFold entry (0.1%)
Reference membershipWhether the ORF is a PETadex-PAZy enzyme, and the fold of each homology component522 ORFs
FamiliesMembership in the 64,730 enzyme families of the atlas, with InterProScan [5] domains for each family representativeFamily representatives

Two layers need care. Logan ORFs are read from one stop codon to the next, so only about 3% begin with a methionine, and annotations that depend on the protein's start (signal peptides and mature-protein properties) are unreliable for them. And few BioSamples record a temperature (0.7%) or a pH (0.15%), so environmental values exist for only part of the corpus; Closing the loop describes how we use them.

The PETai activity labels

The labels are 12,888 measurements of activity and stability on 1,219 protein sequences, from 649 published references and a wet lab screen run by our collaborator lab. Three of the four sources read the literature; the fourth is a plate assay. Each is published as its own dataset, because they differ in kind and each moves on its own schedule, and the unified set is the merge of all four, joined on sequence MD5. Every label carries the repository and row it came from, so it resolves back to exactly one row in its source.

SourceHow we got itLabelsSequencesPapers
Human-scrapedCurators read papers and entered every measurement6,65545859
LLM-scrapedOur language-model pipeline read papers at scale4,694455572
Kineticskcat, Km and kcat/Km compiled from the literature1,34220674
Halo screenOur collaborator lab's BHET plate assay197197—

Sequence counts are each source's own and overlap between sources, so they sum to more than 1,219. The overlap is small: 358 of the 455 sequences in the LLM set carry no label from any other source, and only 14 kinetics sequences also appear in the human-scraped set.

Human-scraped. Using the extraction schema, 19 curators read 65 papers over four rounds, recording each experiment and every measurement in it; 59 of those papers yielded at least one usable label. This is the only source where a person read the paper, and the conditions show it: pH on 90.4% of labels and temperature on 42.8%, plus buffer, crystallinity, pretreatment, expression host and enzyme loading. 26 papers were read independently by two or more curators, so agreement between people can be measured. Curators are identified by pseudonym.

Papers often name a mutant without printing its sequence, so the build recovers sequences four ways: rebuilding mutants from a wild type and the mutation in the enzyme's name, looking up recorded accessions, translating nucleotide entries that are complete reading frames, and linking a measurement to a sequence that another curator of the same paper supplied when every curator agreed on it. Of the 534 sequences it holds, 367 were typed by a curator alone, 148 were never typed by a curator, and 19 arrived both ways. 458 of them carry a usable label, which is the count in the table above.

The gaps are in the join, not the reading. 2,386 measurements carry no sequence and a further 316 are linked but hold no usable value. Most of the loss is panel papers whose enzymes were entered as internal numbers: one paper alone holds 1,377 measurements against a single sequenced enzyme.

LLM-scraped. The extraction pipeline read 5,960 papers, far more than people could. Breadth is the point: most of its sequences appear in no other source. Every one of its 4,694 rows carries the verbatim sentence the value was taken from, which is what makes the set checkable rather than merely trusted.

Its weaknesses are the price of that breadth. It recorded no pH, temperature or time on any row. It wrote whatever vocabulary each paper used, giving 2,028 distinct variable names against 79 in the human set. And it contains no negatives at all, which is a sign of extraction bias rather than of biology. 58 of its sequences also appear in a human-read source, so validation against human curation is possible; it has not yet been run.

Kinetics. The kinetics set holds 464 rows from 74 papers on 206 sequences, taken from the table behind petadex.net's kinetics page. Each row reports up to three constants, which gives 1,342 labels: 454 kcat, 454 Km and 434 kcat/Km. It is the easiest source to use, because every row carries its own sequence, so nothing is lost in joining, and its conditions are well covered at 78.1% for temperature and 71.2% for pH. Its target is a real kinetic constant rather than an assay proxy.

Against that, 328 of its 464 rows measure a soluble surrogate ester rather than a plastic, so a PET-specific task has little to work with. A class code covering 222 rows, 48% of the table, is undefined and nobody can say what it denotes. Every p-nitrophenyl structure string encodes its nitro group wrongly and one naphthyl compound carries another's structure, so the SMILES need fixing before they are used as features. Its 10 rows recorded as inactive on PET would be the cleanest negatives anywhere, but as published they have blank kcat cells and no DOI.

Halo screen. Our collaborator lab grew each enzyme on BHET plates and measured the clearing around the colony. 253 genes were screened and 197 have both a sequence and a label: 29 active and 168 inactive. The published set keeps all 3,036 gene-by-condition combinations and the 6,792 raw colony measurements behind them, so another threshold can be chosen; the label itself is taken at one fixed condition, 120 hours on BHET, where a gene counts as active if its clearing exceeds the empty-vector control by more than three standard errors. Taking each gene's best value across conditions instead would make every gene look active, because the largest of twelve noisy measurements is biased upward.

It supplies 168 of the release's 200 negatives, which is the only reason a binary classifier trained on the merge has two classes. Three limits belong with any result built on it: BHET is not PET, a failure to express is indistinguishable from a failure to catalyse, and most genes have only two replicates, so the measure is a call rather than a graded value.

What a label is

The labels are not one quantity. Relative activity, melting temperature and the kinetic constants kcat, Km and kcat/Km are separate targets with different units, which is why Activity Prediction runs several label definitions in parallel. 12,691 labels are quantitative and 197 binary. The cleanest targets are binary activity from the halo screen, for classification, and PET monomer release, for regression.

Confirmed inactive enzymes are rare. Only 200 labels are negative, 1.55% of the release: 168 from the plate screen and 32 measurements that papers reported as not detected, over 16 sequences. Papers seldom report enzymes that did not work, so the literature cannot supply many more.

Assay conditions are recorded unevenly, because they come from whichever source read the paper. pH is on 54.1% of labels and temperature on 30.2%, with both on 26.4%.

Licensing

All five datasets are released under CC BY 4.0. The measurements themselves are facts and not ours to license; what the licence covers is our compilation, curation, sequence recovery, clustering and split, and the plate screen our collaborator lab contributed. Three things sit outside that grant, and each card says so: the values are facts whose source paper should be cited, publisher text, tables and figures remain with the publishers and no PDFs are redistributed, and sequences fetched from EBI, UniProt, RefSeq or RCSB carry those services' terms. The LLM set's verbatim evidence sentences are also outside the grant; they are short, factual and attributed to a DOI, and dropping that column leaves the rest of the dataset intact.

Splitting

We clustered the labelled sequences at 90%, 50% and 30% identity, giving 619, 323 and 201 clusters, and assigned whole 30% clusters to the training, validation and test folds so that close relatives never fall on both sides.

The first release was homology-clean but unusable for evaluation, and the current one fixes it. Negatives are now spread across the folds, 124, 39 and 33 of them, with the other 4 on sequences that have no fold (below), where the first release put 7 in the test fold and none of the plate screen's 168. The share of machine-extracted labels is now even too, 39.5% in training against 39.9% in test, where it previously ran 19.6% against 62.9%: a model would have been trained on human curation and scored on unvalidated extraction.

One problem remains, and it limits what any evaluation here can claim. A single 30% cluster holds 113 of the validation fold's 171 sequences and 104 of the test fold's, so the effective diversity of an evaluation is nearer 27 enzyme families than 171 sequences. Confidence intervals must be resampled over clusters, not sequences, and results reported per cluster. A further 82 sequences carrying 3,137 labels have no fold at all because they are fragments or contained duplicates; 3,101 of those labels can be recovered by remapping onto a parent sequence that is already in a fold, which is not yet applied.

Distance to the candidates

The labelled set sits far from the population the model is meant to screen. Only 401 of the 1,219 labelled sequences appear in the corpus by exact sequence, and only 21 of those are Logan ORFs. Measurement conditions show the same gap: pH is recorded for about half of the labels and temperature for under a third, but neither exists for a sequence mined from Logan. A model that uses them in training has to work without them when it scores candidates.

Closing the loop

The two datasets play different roles. The corpus is the raw material for discovery: it is large and changes only when we search for more sequences. The labels are the part we can improve, and the sections above show where they are weakest: few confirmed negatives, 141 enzyme families in training, counted as clusters at 30% identity, and only 21 sequences from Logan, the population we want to screen. Every wet lab round is a chance to add labels where they help most.

We treat choosing what to test as Bayesian optimisation. Testing only the candidates with the highest predicted activity would confirm what the model already believes and teach it little. Testing only the candidates it is least sure about would spend assays on clusters that are unlikely to work. We pick clusters where the model's uncertainty is high and other evidence suggests activity, so that each result either finds an active enzyme or corrects the model where it was weakest. The round 2 library will be chosen this way, and its results will return to the labels for the next round.

The other evidence is environmental metadata: the temperature, pH and environment of the samples a cluster was assembled from. Sequence alone cannot separate enzymes that work in different conditions. IsPETase [6], LCC [7], TfCut2 [8] and Cut190 [9] fall in a single enzyme family, yet IsPETase works at mild temperatures and LCC and TfCut2 near 70 °C. Mapping each region's median sample temperature over the family atlas shows the same thing in both directions: families far apart in sequence can come from equally warm or cold environments, and close relatives can come from different ones.

We use this as a weak prior, not as evidence of activity. Only 0.7% of BioSamples state a temperature and 0.15% a pH, so of the 61,900 atlas families whose representative we could trace into the corpus, 28,481 have a temperature and 20,531 a pH. Smoothed over the atlas, temperatures mostly sit between 14 and 22 °C, and pH barely varies, from 7.0 to 7.5. We have not yet tested whether temperature is more similar between neighbouring families than chance would predict. Until we do, metadata decides between clusters the model is equally unsure about; it does not outweigh the model.

Downloading the data

DatasetWhat it holdsRole in the model
petadex/petadex-corpus-centroids90One row per 90% identity cluster, with member summariesRecommended starting point
petadex/petadex-corpus-fullEvery ORF in the corpus with every annotation layerCandidates to score
petadex/catalytic-orfs-90pid90% identity centroid sequences, split for trainingPlasticESM pretraining
petadex/petai-activity-labelsAll four label sources merged, with clustering and the homology-aware splitPETai training labels
petadex/petai-labels-humanHuman-scraped literature, with full assay conditions and the experiment treeOne label source
petadex/petai-labels-llmLLM-scraped literature, with the evidence sentence behind every valueOne label source
petadex/petai-labels-kineticsPublished kinetic constants, every row with its sequenceOne label source
petadex/petai-halo-screenOur collaborator lab's BHET plate screen at every condition, with raw colony measurementsNegatives

Each dataset card documents its columns, how its tables join and its known caveats. Every table loads with the Hugging Face datasets library, and for joins across the full corpus, querying the Parquet files directly with DuckDB or Polars is much faster.

from datasets import load_dataset

centroids = load_dataset("petadex/petadex-corpus-centroids90", split="train")
labels = load_dataset("petadex/petai-activity-labels", "labels", split="train")
[1]
P. C. F. Buchholz et al., “Plastics degradation by hydrolytic enzymes: The plastics-active enzymes database—PAZy,” Proteins: Structure, Function, and Bioinformatics, vol. 90, no. 7, pp. 1443–1456, 2022, doi: 10.1002/prot.26325.
[2]
R. Chikhi et al., “Logan: Planetary-Scale Genome Assembly Surveys Life’s Diversity,” bioRxiv, 2024, doi: 10.1101/2024.07.30.605881.
[3]
F. Teufel et al., “SignalP 6.0 predicts all five types of signal peptides using protein language models,” Nature Biotechnology, vol. 40, no. 7, pp. 1023–1025, 2022, doi: 10.1038/s41587-021-01156-3.
[4]
M. Varadi et al., “AlphaFold Protein Structure Database: massively expanding the structural coverage of protein-sequence space with high-accuracy models,” Nucleic Acids Research, vol. 50, no. D1, pp. D439–D444, 2021, doi: 10.1093/nar/gkab1061.
[5]
P. Jones et al., “InterProScan 5: genome-scale protein function classification,” Bioinformatics, vol. 30, no. 9, pp. 1236–1240, 2014, doi: 10.1093/bioinformatics/btu031.
[6]
S. Yoshida et al., “A bacterium that degrades and assimilates poly(ethylene terephthalate),” Science, vol. 351, no. 6278, pp. 1196–1199, 2016, doi: 10.1126/science.aad6359.
[7]
S. Sulaiman et al., “Isolation of a Novel Cutinase Homolog with Polyethylene Terephthalate-Degrading Activity from Leaf-Branch Compost by Using a Metagenomic Approach,” Applied and Environmental Microbiology, vol. 78, no. 5, pp. 1556–1562, 2012, doi: 10.1128/aem.06725-11.
[8]
C. Roth et al., “Structural and functional studies on a thermostable polyethylene terephthalate degrading hydrolase from Thermobifida fusca,” Applied Microbiology and Biotechnology, vol. 98, no. 18, pp. 7815–7823, 2014, doi: 10.1007/s00253-014-5672-0.
[9]
F. Kawai et al., “A novel Ca2+-activated, thermostabilized polyesterase capable of hydrolyzing polyethylene terephthalate from Saccharomonospora viridis AHK190,” Applied Microbiology and Biotechnology, vol. 98, no. 24, pp. 10053–10064, 2014, doi: 10.1007/s00253-014-5860-y.