File size: 5,242 Bytes
96b589c
 
 
 
 
 
 
 
 
 
 
 
 
 
609f291
96b589c
 
 
 
609f291
96b589c
609f291
96b589c
 
609f291
96b589c
 
 
609f291
96b589c
609f291
96b589c
 
 
609f291
96b589c
609f291
 
 
 
 
 
96b589c
609f291
 
 
 
96b589c
 
431143e
609f291
 
 
96b589c
 
609f291
96b589c
609f291
 
96b589c
 
 
609f291
 
 
 
96b589c
609f291
96b589c
609f291
 
 
96b589c
609f291
96b589c
609f291
96b589c
 
 
609f291
96b589c
 
609f291
 
 
 
 
 
d05360f
609f291
 
 
96b589c
609f291
 
 
 
 
 
 
96b589c
 
609f291
96b589c
609f291
 
 
 
96b589c
 
 
609f291
96b589c
 
 
 
 
 
 
 
 
 
 
 
609f291
 
96b589c
 
 
eb4dafb
96b589c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
---
language:
- en
license: mit
tags:
- Biology
- Bioinformatics
- Virus
- Genomics
- Proteomics
- Nucleotide
- Protein
- Foundation Model
- LucaVirus
- LucaVirus-Prot
- AI4Bio
- AI4Science
- Nucleotide-Protein
task_categories:
- feature-extraction
size_categories:
- 1M<n<10M
---

# Dataset Card for LucaVirus-OpenVirus-Prot

## 1. Dataset Summary

**LucaVirus-OpenVirus-Prot** is a large-scale proteomics dataset consisting exclusively of viral protein sequences. It is a specialized subset of the **OpenVirus** corpus, specifically curated for the pre-training of the **LucaVirus-Prot** (or LucaVirus-Protein) foundation model.

This dataset provides a comprehensive representation of the viral proteosphere, comprising **5.2 million** protein sequences. It is designed to enable biological models to learn the "language of proteins," capturing structural motifs, functional domains, and evolutionary signatures across a vast array of viral families.

## 2. Dataset Statistics

The dataset focuses strictly on amino acid sequences:

| Feature | Count / Description |
| :--- | :--- |
| **Total Sequences** | 5.2 Million |
| **Sequence Type** | Protein (Amino Acids) |
| **`obj_type` Identifier** | `prot` (Exclusive) |
| **Primary Use** | Pre-training for LucaVirus-Prot |

## 3. Data Structure & Format

### 3.1 File Organization
The dataset is distributed as a compressed **`.tar`** archive. Upon extraction, the data is partitioned into three standard machine-learning subsets:

```text
LucaVirus-OpenVirus-Prot/dataset/v1.0/
├── train/          # Training set (primary corpus for protein pre-training)
├── dev/            # Validation set (for model selection and tuning)
└── test/           # Test set (for final evaluation and benchmarking)
```

Each directory (`train`, `dev`, `test`) contains one or more **CSV files** with headers.

### 3.2 CSV Schema
All CSV files follow a consistent four-column schema:

| Column Name | Description | Details                                                                                                |
| :--- | :--- |:-------------------------------------------------------------------------------------------------------|
| **`obj_id`** | Sample ID | Unique identifier for each protein sequence.                                                           |
| **`obj_type`** | Sequence Type | Set to `prot` for all entries in this dataset.                                                         |
| **`obj_seq`** | Sequence Content | Raw amino acid string (standard IUPAC codes).                                                          |
| **`obj_label`** | Annotations | Metadata, taxonomic info, or functional labels associated with the protein (Annotation, Bio Knowledge) |

## 4. Intended Use

- **Protein Foundation Modeling**: Building models like **LucaVirus-Prot** that specialize in understanding protein sequences and their biophysical properties.
- **Functional Annotation**: Developing tools to predict viral protein functions, domains, and active sites.
- **Virus-Host Interaction**: Studying how viral proteins interact with host cellular machinery based on sequence patterns.

## 5. Usage Example

You can extract the archive and load the protein data using the following Python snippet:

```python
import tarfile
import pandas as pd
import os

# 1. Extract the protein dataset
with tarfile.open("LucaVirus-OpenVirus-Prot.tar.gz", "r:gz") as tar:
    tar.extractall(path="./LucaVirus-OpenVirus-Prot")

with tarfile.open("LucaVirus-OpenVirus-Prot/dataset.tar.gz", "r:gz") as tar:
    tar.extractall(path="./LucaVirus-OpenVirus-Prot/dataset")

# 2. Load a sample from the training set
train_path = "./LucaVirus-OpenVirus-Prot/dataset/v1.0/train"
csv_files = [f for f in os.listdir(train_path) if f.endswith('.csv')]

if csv_files:
    # Load the first CSV file
    df = pd.read_csv(os.path.join(train_path, csv_files[0]))
    
    # Verify the sequence type
    print(f"Loaded {len(df)} protein sequences.")
    print(df[['obj_id', 'obj_seq', 'obj_label']].head())
```

## 6. Related Resources

This dataset is a core component of the **LucaGroup** biological modeling ecosystem.
- **Full Corpus (Gene + Prot)**: [LucaVirus-OpenVirus-Gene-Prot](https://huggingface.co/datasets/LucaGroup/LucaVirus-OpenVirus-Gene-Prot)
- **Genomic Subset**: [LucaVirus-OpenVirus-Gene](https://huggingface.co/datasets/LucaGroup/LucaVirus-OpenVirus-Gene)
- **Models**: Visit the [LucaVirus Collection](https://huggingface.co/collections/LucaGroup/lucavirus).

## 7. Citation

If you use this dataset in your research, please cite:

```bibtex
@article{lucavirus2025,
  title={Predicting the Evolutionary and Functional Landscapes of Viruses with a Unified Nucleotide-Protein Language Model: LucaVirus.},
  author={Pan, Yuan-Fei* and He, Yong*. et al.},
  journal={bioRxiv},
  year={2025},
  url={https://www.biorxiv.org/content/early/2025/06/20/2025.06.14.659722}
}
```

## 8. License

This dataset is released under the **MIT License**.

## 9. Contact

*For further information, please visit the [LucaGroup GitHub](https://github.com/LucaOne), email to: [YongHe: sanyuan.hy@alibaba-inc.com, heyongcsat@gmail.com], or contact the team via the Hugging Face organization profile.*