ligeti commited on
Commit
a7772ee
·
verified ·
1 Parent(s): c11000f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -40
README.md CHANGED
@@ -68,46 +68,42 @@ configs:
68
  ---
69
  # Dataset Card for `neuralbioinfo/PhaStyle-SequenceDB`
70
 
71
- ## Dataset Summary
72
-
73
- The `PhaStyle-SequenceDB` dataset consists of phage sequences labeled with their corresponding lifestyles (virulent or temperate). The dataset is split into four key subsets:
74
- - **BACPHLIP training set**: 1868 sequences for model training
75
- - **BACPHLIP validation set**: 394 Escherichia coli sequences for validation
76
- - **EXTREMOPHILE set**: 16 sequences from extreme environments
77
- - **ESCHERICHIA set**: Guelin collection + 100 randomly selected high-quality temperate phages
78
-
79
- This dataset is specifically designed to aid in training and evaluating genomic models, such as ProkBERT, for phage lifestyle prediction.
80
-
81
- ## Dataset Structure
82
-
83
-
84
-
85
- <img src="https://github.com/nbrg-ppcu/PhaStyle/blob/main/assets/figure_01.jpg?raw=true" alt="Dataset Structure" width="600"/>
86
-
87
-
88
- *Figure 1: The dataset used in the ProkBERT PhaStyle study. Phage sequences from multiple independent data sources were segmented into 512bp and 1022bp fragments for training and testing models on phage lifestyle prediction. The dataset consists of the BACPHLIP training and validation sets, Escherichia phages (from the Guelin collection), and phages from extreme environments.*
89
-
90
-
91
- The structure of the dataset is explained visually in the following figure:
92
-
93
-
94
- - **BACPHLIP Training Set**: This subset consists of **1,868 phage sequences** collected from non-Escherichia phages. The sequences are carefully labeled as virulent or temperate, and the dataset was constructed using the high-quality annotations from the **BACPHLIP** study. These sequences are used to train the ProkBERT model for lifestyle prediction.
95
-
96
- - **BACPHLIP Validation Set**: Comprising **246 Escherichia phage sequences**, this validation set is used to test the performance of the model after training. The sequences are also labeled based on their lifestyle and are critical for evaluating the generalization capability of the ProkBERT model on Escherichia species.
97
-
98
- - **ESCHERICHIA (Guelin collection + 100 high-quality phages)**: This dataset contains **394 Escherichia phages**, which includes the Guelin collection and an additional 100 randomly selected, high-quality temperate phages. The sequences are segmented into smaller chunks (512bp and 1022bp), representing real-world metagenome assemblies, often fragmented.
99
-
100
- - **EXTREMOPHILE Phage Set**: This test dataset consists of **16 bacteriophages** isolated from extreme environments like deep-sea, acidic environments, and arsenic-rich microbial mats. It represents underexplored environments, making it essential for testing how well the models generalize to novel phages outside the commonly studied species.
101
-
102
-
103
- ## Data Fields
104
-
105
- - **sequence_id**: Unique identifier for each sequence.
106
- - **dataset**: The specific dataset the sequence belongs to (e.g., ESCHERICHIA, EXTREMOPHILE, BACPHLIP_TRAINING).
107
- - **description**: Additional details about the sequence, such as its classification or length.
108
- - **label**: Indicates the lifestyle of the phage (virulent or temperate).
109
- - **y**: Numerical encoding of the lifestyle (1 for virulent, 0 for temperate).
110
- - **sequence**: The nucleotide sequence of the phage.
111
 
112
  ## Dataset Creation
113
 
 
68
  ---
69
  # Dataset Card for `neuralbioinfo/PhaStyle-SequenceDB`
70
 
71
+ # phastyle Sequence Database
72
+
73
+ A collection of bacteriophage nucleotide sequences and metadata for training and evaluating phage lifestyle prediction models. Available splits support both **strict-holdout** and **standard-holdout** experiments.
74
+
75
+ ## Dataset Features
76
+
77
+ | Name | Type | Description |
78
+ |---------------------|---------|------------------------------------------------------------------|
79
+ | `sequence_id` | `int64` | Unique integer identifier for each sequence |
80
+ | `dataset` | `string`| Source collection name (see “Splits” below) |
81
+ | `class_label` | `string`| Lifestyle label: `"temperate"` or `"virulent"` |
82
+ | `y` | `int64` | Binary label: `0` = temperate, `1` = virulent |
83
+ | `source_fasta_id` | `string`| Original FASTA record ID |
84
+ | `orientation` | `string`| Strand orientation: `"forward"` or `"reverse_complement"` |
85
+ | `test_fastaid` | `string`| FASTA ID used in the test split (if applicable) |
86
+ | `L_seq` | `int64` | Sequence length in base pairs |
87
+ | `source_description`| `string`| Free‐text description of isolate or environment |
88
+ | `Genome type` | `string`| “dsDNA”, “ssDNA”, etc. |
89
+ | `Family` | `string`| Taxonomic family |
90
+ | `subds_seqid` | `int64` | Sub‐dataset sequence index (internal use) |
91
+ | `sequence` | `string`| Nucleotide sequence |
92
+
93
+ ## Splits
94
+
95
+ - **BACPHLIP_TRAINING** (1,798 examples, 116 MB)
96
+ - Used for **strict-holdout** training (excludes any *Escherichia*-infecting phages or 80 % ANI to test set).
97
+ - **BACPHLIP_VALIDATION** (316 examples, 25 MB)
98
+ - *Escherichia* phages held out for validation in the strict-holdout setting.
99
+ - **BACPHLIP_ALL** (2,114 examples, 142 MB)
100
+ - Used for **standard-holdout** training (no ANI or host exclusions).
101
+ - **ESCHERICHIA** (394 examples, 22 MB)
102
+ - Guelin collection: experimentally validated *Escherichia* phages.
103
+ - **BASEL** (412 examples, 27 MB)
104
+ - BASEL collection: environmental *E. coli* isolates.
105
+ - **EXTREMOPHILE** (16 examples, 0.8 MB)
106
+ - Phages from deep‐sea, acidic, and arsenic‐rich environments.
 
 
 
 
107
 
108
  ## Dataset Creation
109