File size: 2,427 Bytes
553c6d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ed25394
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
---
tags:
- biology
- rna
- utr
- pretraining
configs:
- config_name: c5UTRGen
  data_files:
  - split: train
    path: c5UTRGen/train.csv
  - split: validation
    path: c5UTRGen/validation.csv
  - split: test
    path: c5UTRGen/test.csv
- config_name: c3UTRGen
  data_files:
  - split: train
    path: c3UTRGen/train.csv
  - split: validation
    path: c3UTRGen/validation.csv
  - split: test
    path: c3UTRGen/test.csv
---

# cUTRGen paired pretraining data

Paired coding sequences (CDSs) and natural untranslated regions (UTRs) used for c5UTRGen and c3UTRGen pretraining, validation and independent testing. Each row contains one CDS–UTR pair. Sequences use the DNA alphabet (A, C, G, T) in 5′ to 3′ transcript orientation.

## Files and sample counts

| Directory | Training pairs | Validation pairs | Independent test pairs | Columns |
|---|---:|---:|---:|---|
| `c5UTRGen/` | 885,219 | 2,786 | 4,183 | `cds,five_prime_utr` |
| `c3UTRGen/` | 801,331 | 2,977 | 4,434 | `cds,three_prime_utr` |

Each directory contains `train.csv`, `validation.csv` and `test.csv`. The `test` split is the independent test set. Training sets retain one-to-many CDS–UTR relationships. Validation sets support model selection; independent test sets support final evaluation.

## Fields

- `cds`: coding sequence paired with the UTR.
- `five_prime_utr`: natural 5′ UTR paired with the CDS in c5UTRGen records.
- `three_prime_utr`: natural 3′ UTR paired with the CDS in c3UTRGen records.

In validation and test files, c5UTRGen CDSs contain up to the first 240 nt and 5′ UTRs up to the last 256 nt. c3UTRGen CDSs contain up to the last 228 nt and 3′ UTRs up to the first 256 nt.

## Download

From the cloned code repository root:

```python
from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="ZhweCheng/cUTRGen",
    repo_type="dataset",
    local_dir="../cUTRGen_data",
)
```

For one model only, add `allow_patterns=["c5UTRGen/*"]` or `allow_patterns=["c3UTRGen/*"]`.

The `datasets` library can also read either configuration:

```python
from datasets import load_dataset

train = load_dataset("ZhweCheng/cUTRGen", "c5UTRGen", split="train", streaming=True)
```

Use `"c3UTRGen"` for the 3′ UTR data and `"validation"` or `"test"` for the other splits.

Code: [HIM-AIM/cUTRGen](https://github.com/HIM-AIM/cUTRGen). Model weights: [ZhweCheng/cUTRGen](https://huggingface.co/ZhweCheng/cUTRGen).