Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
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.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 81, in _split_generators
                  first_examples = list(islice(pipeline, self.NUM_EXAMPLES_FOR_FEATURES_INFERENCE))
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  fs: fsspec.AbstractFileSystem = fsspec.filesystem("memory")
                                                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/fsspec/registry.py", line 302, in filesystem
                  cls = get_filesystem_class(protocol)
                File "/usr/local/lib/python3.14/site-packages/fsspec/registry.py", line 239, in get_filesystem_class
                  raise ValueError(f"Protocol not known: {protocol}")
              ValueError: Protocol not known: memory
              
              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 71, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/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.

Dataset Card for LucaVirus-OpenVirus-Gene

1. Dataset Summary

LucaVirus-OpenVirus-Gene is a large-scale genomic dataset consisting exclusively of viral nucleotide sequences. It is a specialized subset of the OpenVirus corpus, curated specifically for the pre-training of the LucaVirus-Gene foundation model.

By focusing purely on viral genomes, this dataset provides a high-density corpus of 10.4 million sequences, enabling models to capture the intricate evolutionary patterns, regulatory motifs, and genomic architectures of DNA and RNA viruses.

2. Dataset Statistics

The dataset focuses solely on nucleotide sequences (genomes, genes, and fragments):

Feature Count / Description
Total Sequences 10.4 Million
Sequence Type Nucleotide (DNA/RNA)
obj_type Identifier gene (Exclusive)
Primary Use Pre-training for LucaVirus-Gene

3. Data Structure & Format

3.1 File Organization

The dataset is provided as a compressed .tar archive. Upon extraction, the data is partitioned into three standard machine-learning subsets:

LucaVirus-OpenVirus-Gene/dataset/v1.0/
├── train/          # Training set (primary corpus for genomic 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 viral sequence.
obj_type Sequence Type Set to gene for all entries in this dataset (Nucleotide).
obj_seq Sequence Content Raw nucleotide string (A, T(U), C, G, N).
obj_label Label Metadata, taxonomic info, or functional labels associated with the genome (Annotation, Bio Knowledge).

4. Intended Use

  • Genomic Foundation Modeling: Building models like LucaVirus-Gene that specialize in the "language of genomes."
  • Viral Evolution Studies: Analyzing conserved nucleotide patterns across divergent viral lineages.
  • Regulatory Element Discovery: Identifying viral gene boundaries, promoters, and other non-coding functional motifs.

5. Usage Example

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

import tarfile
import pandas as pd
import os

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

with tarfile.open("LucaVirus-OpenVirus-Gene/dataset.tar.gz", "r:gz") as tar:
    tar.extractall(path="./LucaVirus-OpenVirus-Gene/dataset")
    
# 2. Load a sample from the training set
train_path = "./LucaVirus-OpenVirus-Gene/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)} genomic sequences.")
    print(df[['obj_id', 'obj_seq']].head())

6. Related Resources

This dataset is a core component of the LucaGroup biological modeling ecosystem. - Full Corpus (Gene + Prot): LucaVirus-OpenVirus-Gene-Prot - Protein Subset: LucaVirus-OpenVirus-Prot - Models: Visit the LucaVirus Collection.

7. Citation

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

@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, email to: [YongHe: sanyuan.hy@alibaba-inc.com, heyongcsat@gmail.com], or contact the team via the Hugging Face organization profile.

Downloads last month
15