The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 82, in _split_generators
raise ValueError(
ValueError: The TAR archives of the dataset should be in WebDataset format, but the files in the archive don't share the same prefix or the same types.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 65, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
ProtEnv: Protein Environment Dataset
Raw protein sequences, labels, and predicted structures for 15 downstream tasks used in ProtCompass benchmarking.
Dataset Overview
ProtEnv provides the foundational data for evaluating protein encoders across diverse biological tasks. It includes:
- Raw sequences: FASTA format protein sequences
- Labels: Task-specific annotations (regression/classification)
- Predicted structures: ESMFold-generated 3D structures (PDB format)
- Splits: Pre-defined train/test splits for reproducibility
Dataset Structure
structure_encoder_data/ # Raw sequences and labels (117GB)
βββ contact_prediction/
β βββ train.fasta
β βββ test.fasta
β βββ train_labels.npy
β βββ test_labels.npy
βββ secondary_structure/
βββ ppi_site/
βββ metal_binding/
βββ mutation_effect/
βββ go_bp/
βββ stability/
βββ solubility/
βββ go_mf/
βββ fluorescence/ # Note: "fluorescence" spelling maintained for compatibility
βββ ec_classification/
βββ subcellular_localization/
βββ membrane_soluble/
βββ remote_homology/
βββ ppi_affinity/
predicted_structures/ # ESMFold structures (5GB compressed)
βββ fluorescence.tar.gz # 2.0GB β 444MB uncompressed
βββ solubility.tar.gz # 2.6GB β 580MB uncompressed
βββ stability.tar.gz # 444MB β 98MB uncompressed
βββ ppi_affinity.tar.gz # 49MB β 11MB uncompressed
Task Descriptions
Protein Function Prediction
- EC Classification: Enzyme Commission number prediction (multi-class)
- GO-BP: Gene Ontology Biological Process (multi-label)
- GO-MF: Gene Ontology Molecular Function (multi-label)
- Subcellular Localization: Cellular compartment prediction (multi-class)
Protein-Protein Interactions
- PPI Site: Binding site prediction (binary per-residue)
- PPI Affinity: Binding affinity prediction (regression)
Structure Prediction
- Contact Prediction: Residue-residue contact maps (binary per-pair)
- Secondary Structure: 3-state or 8-state structure (per-residue)
Biophysical Properties
- Stability: Thermostability prediction (regression)
- Solubility: Expression solubility (binary)
- Fluorescence: GFP fluorescence intensity (regression)
- Metal Binding: Metal ion binding sites (binary per-residue)
- Membrane/Soluble: Membrane vs soluble classification (binary)
Sequence Analysis
- Remote Homology: Fold recognition (multi-class)
- Mutation Effect: Fitness effect prediction (regression)
Download Instructions
Full Dataset
# Clone the entire repository (122GB)
git lfs install
git clone https://huggingface.co/datasets/Anonymoususer2223/ProtEnv
Specific Tasks
from huggingface_hub import hf_hub_download
# Download raw sequences for a specific task
train_fasta = hf_hub_download(
repo_id="Anonymoususer2223/ProtEnv",
filename="structure_encoder_data/mutation_effect/train.fasta",
repo_type="dataset"
)
# Download predicted structures
structure_tar = hf_hub_download(
repo_id="Anonymoususer2223/ProtEnv",
filename="predicted_structures/fluorescence.tar.gz",
repo_type="dataset"
)
File Formats
Sequences
- Format: FASTA
- Headers:
>protein_idor>protein_id|metadata - Sequences: Standard 20 amino acids
Labels
- Format: NumPy arrays (
.npy) - Regression tasks: Float arrays
- Classification tasks: Integer arrays (class indices)
- Multi-label tasks: Binary matrices (N Γ num_classes)
- Per-residue tasks: 2D arrays (N Γ sequence_length)
Structures
- Format: PDB files (compressed as
.tar.gz) - Source: ESMFold predictions
- Quality: pLDDT scores included in B-factor column
- Note: Structures are predictions, not experimental
Usage Example
import numpy as np
from Bio import SeqIO
from huggingface_hub import hf_hub_download
# Load sequences
fasta_path = hf_hub_download(
repo_id="Anonymoususer2223/ProtEnv",
filename="structure_encoder_data/stability/train.fasta",
repo_type="dataset"
)
sequences = []
ids = []
for record in SeqIO.parse(fasta_path, "fasta"):
sequences.append(str(record.seq))
ids.append(record.id)
# Load labels
labels_path = hf_hub_download(
repo_id="Anonymoususer2223/ProtEnv",
filename="structure_encoder_data/stability/train_labels.npy",
repo_type="dataset"
)
labels = np.load(labels_path)
print(f"Loaded {len(sequences)} proteins")
print(f"First sequence: {sequences[0][:50]}...")
print(f"First label: {labels[0]}")
Dataset Statistics
| Task | Train Size | Test Size | Label Type | Avg Length |
|---|---|---|---|---|
| Contact Prediction | 25,299 | 40 | Binary (LΓL) | 256 |
| Secondary Structure | 8,678 | 513 | Multi-class (L) | 208 |
| PPI Site | 15,051 | 1,672 | Binary (L) | 312 |
| Metal Binding | 5,654 | 629 | Binary (L) | 287 |
| Mutation Effect | 3,072 | 342 | Regression | 452 |
| GO-BP | 29,898 | 3,322 | Multi-label (1,943) | 394 |
| Stability | 53,614 | 2,512 | Regression | 178 |
| Solubility | 62,478 | 6,942 | Binary | 224 |
| GO-MF | 29,898 | 3,322 | Multi-label (489) | 394 |
| Fluorescence | 21,446 | 5,362 | Regression | 238 |
| EC Classification | 15,011 | 1,668 | Multi-class (538) | 382 |
| Subcellular Localization | 8,943 | 2,236 | Multi-class (10) | 493 |
| Membrane/Soluble | 3,797 | 423 | Binary | 312 |
| Remote Homology | 12,312 | 736 | Multi-class (1,195) | 209 |
| PPI Affinity | 3,899 | 434 | Regression | 156 |
Total: ~500K protein sequences across 15 tasks
Data Sources
All datasets are curated from public databases:
- UniProt: Protein sequences and annotations
- PDB: Experimental structures (for validation)
- CATH/SCOP: Fold classifications
- STRING: Protein-protein interactions
- Gene Ontology: Functional annotations
- Literature: Experimental measurements (fluorescence, stability, etc.)
Predicted Structures
Structures are generated using ESMFold (Lin et al., 2023) for tasks where experimental structures are unavailable:
- Fluorescence: 27,808 structures (GFP variants)
- Solubility: 69,420 structures
- Stability: 56,126 structures
- PPI Affinity: 4,333 structures
These structures enable structure-based encoder evaluation on tasks traditionally limited to sequence-only data.
Data Splits
All train/test splits are:
- Pre-defined: Ensures reproducibility across studies
- Non-overlapping: No sequence identity between train/test
- Stratified: Balanced label distributions where applicable
- Temporally split: For some tasks (e.g., mutation effect)
Known Issues
- Spelling: "fluorescence" directory uses British spelling for historical compatibility
- Structure quality: ESMFold predictions vary in quality (check pLDDT scores)
- Label noise: Some experimental labels may contain measurement errors
- Class imbalance: Some tasks have imbalanced class distributions
Citation
If you use ProtEnv, please cite:
@article{protcompass2026,
title={ProtCompass: Interpretable Benchmarking and Task-Aware Evaluation of Protein Encoders},
author={Your Name et al.},
journal={NeurIPS},
year={2026}
}
Related Resources
- Pre-computed Embeddings: ProtCompass_Embeddings on HuggingFace
- Code Repository: GitHub
- Paper: arXiv
License
MIT License - Free for academic and commercial use
Contact
For questions, issues, or data requests, please open an issue on the GitHub repository.
- Downloads last month
- 104