Datasets:
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- Biology
|
| 7 |
+
- Bioinformatics
|
| 8 |
+
- Virus
|
| 9 |
+
- Genomics
|
| 10 |
+
- Proteomics
|
| 11 |
+
- Nucleotide
|
| 12 |
+
- Protein
|
| 13 |
+
- Foundation Model
|
| 14 |
+
- LucaVirus
|
| 15 |
+
- AI4Bio
|
| 16 |
+
- AI4Science
|
| 17 |
+
- Nucleotide-Protein
|
| 18 |
+
task_categories:
|
| 19 |
+
- sequence-modeling
|
| 20 |
+
- feature-xxtraction
|
| 21 |
+
size_categories:
|
| 22 |
+
- 10M<n<100M
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# Dataset Card for LucaVirus-OpenVirus-Gene-Prot
|
| 26 |
+
|
| 27 |
+
## 1. Dataset Summary
|
| 28 |
+
|
| 29 |
+
**LucaVirus-OpenVirus-Gene-Prot** is the complete, multi-modal **OpenVirus** corpus, curated for the pre-training of the **LucaVirus** biological foundation model. This dataset provides a massive-scale collection of viral sequences, bridging the gap between genomic (nucleotide) and proteomic (protein) data.
|
| 30 |
+
|
| 31 |
+
The corpus comprises **15.7 million** non-redundant viral sequences, providing a robust foundation for learning the complex language of viral evolution and the "central dogma" of viral biology.
|
| 32 |
+
|
| 33 |
+
## 2. Dataset Statistics
|
| 34 |
+
|
| 35 |
+
| Data Type | Count | `obj_type` Identifier |
|
| 36 |
+
| :--- | :--- | :--- |
|
| 37 |
+
| **Nucleotide (Genomes)** | 10.4 Million | `gene` |
|
| 38 |
+
| **Protein (Amino Acids)** | 5.2 Million | `prot` |
|
| 39 |
+
| **Total Sequences** | **15.7 Million** | - |
|
| 40 |
+
|
| 41 |
+
## 3. Data Structure
|
| 42 |
+
|
| 43 |
+
The dataset is provided as a compressed **`.tar`** archive. Once extracted, the directory structure follows a standard machine-learning split:
|
| 44 |
+
|
| 45 |
+
```text
|
| 46 |
+
LucaVirus-OpenVirus-Gene-Prot/
|
| 47 |
+
├── train/ # Training set (primary corpus for pre-training)
|
| 48 |
+
├── dev/ # Validation set (for hyperparameter tuning)
|
| 49 |
+
└── test/ # Test set (for final evaluation)
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Each directory contains one or more **CSV files with headers**.
|
| 53 |
+
|
| 54 |
+
### Data Schema
|
| 55 |
+
Each CSV file includes the following columns:
|
| 56 |
+
|
| 57 |
+
| Column Name | Description | Details |
|
| 58 |
+
| :--- | :--- |:-------------------------------------------------------------------------------------------------------|
|
| 59 |
+
| **`obj_id`** | Sample ID | Unique identifier for the sample. |
|
| 60 |
+
| **`obj_type`** | Sequence Type | Sequence modality: `gene` (nucleotide) or `prot` (protein). |
|
| 61 |
+
| **`obj_seq`** | Sequence Content | The raw biological sequence (ATGC for gene; Amino Acids for prot). |
|
| 62 |
+
| **`obj_label`** | Label | Metadata, taxonomic info, or functional labels associated with the genome and proteins (Annotation, Bio Knowledge) |
|
| 63 |
+
|
| 64 |
+
## 4. Dataset Intent
|
| 65 |
+
|
| 66 |
+
This dataset is specifically designed for:
|
| 67 |
+
- **Foundation Model Pre-training**: Building models that can process both DNA/RNA and Protein sequences.
|
| 68 |
+
- **Cross-modal Learning**: Understanding the translation and structural relationships within viral biology.
|
| 69 |
+
- **Viral Research**: A large-scale benchmark for viral sequence classification, functional annotation, and mutation analysis.
|
| 70 |
+
|
| 71 |
+
## 5. Usage
|
| 72 |
+
|
| 73 |
+
### Loading with Python
|
| 74 |
+
You can use standard Python libraries to process the data:
|
| 75 |
+
|
| 76 |
+
```python
|
| 77 |
+
import pandas as pd
|
| 78 |
+
import tarfile
|
| 79 |
+
import os
|
| 80 |
+
|
| 81 |
+
# Example: Extracting and reading a file
|
| 82 |
+
with tarfile.open("LucaVirus-OpenVirus-Gene-Prot.tar.tar.gz", "r:gz") as tar:
|
| 83 |
+
tar.extractall(path="./data")
|
| 84 |
+
|
| 85 |
+
# Read a specific CSV from the train set
|
| 86 |
+
df = pd.read_csv("./data/train/3072_train_1.csv")
|
| 87 |
+
print(df.head())
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
## 6. Pre-training with LucaVirus
|
| 91 |
+
This dataset is the primary source for the **LucaVirus** model family.
|
| 92 |
+
- **Full Corpus (Gene + Prot)**: [LucaVirus-OpenVirus-Gene](https://huggingface.co/datasets/LucaGroup/LucaVirus-OpenVirus-Gene)
|
| 93 |
+
- **Protein Subset**: [LucaVirus-OpenVirus-Prot](https://huggingface.co/datasets/LucaGroup/LucaVirus-OpenVirus-Prot)
|
| 94 |
+
- **Models**: Visit the [LucaVirus Collection](https://huggingface.co/collections/LucaGroup/lucavirus).
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
## 7. Citation
|
| 98 |
+
|
| 99 |
+
If you use this dataset in your research, please cite the following:
|
| 100 |
+
|
| 101 |
+
```bibtex
|
| 102 |
+
@article{lucavirus2025,
|
| 103 |
+
title={Predicting the Evolutionary and Functional Landscapes of Viruses with a Unified Nucleotide-Protein Language Model: LucaVirus.},
|
| 104 |
+
author={Pan, Yuan-Fei* and He, Yong*. et al.},
|
| 105 |
+
journal={bioRxiv},
|
| 106 |
+
year={2025},
|
| 107 |
+
url={https://www.biorxiv.org/content/early/2025/06/20/2025.06.14.659722}
|
| 108 |
+
}
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
## 8. License
|
| 112 |
+
This dataset is released under the **Apache License 2.0**.
|
| 113 |
+
|
| 114 |
+
## 9. Contact
|
| 115 |
+
|
| 116 |
+
---
|
| 117 |
+
*For further information, please visit the [LucaGroup GitHub](https://github.com/LucaOne), email to: [sanyuan.hy@alibaba-inc.com/heyongcsat@gmail.com], or contact the team via the Hugging Face organization profile.*
|
| 118 |
+
|
| 119 |
+
|