A dataset (SCL2205) for subcellular localisation prediction modelling
Project description
SCL2205: Sub-cellular Localisation Dataset
An installable dataset package for subcellular localisation prediction modelling.
It is suitable for clustering, classification, and generative protein language machine learning, and comprises dataset tracks for the train-valid-test and cross-validation-test (k = 5) model development approaches.
Preprocessing is already done, including homology reduction within and across corresponding splits.
Motivated by the F.A.I.R principle.
Interface: Python package with CLI
Installation:
Package manager: pip install p-scldata. Available as scldata after installation
Example usage:
# Python
>>> import scldata.loader as sdl # load pkg
>>> data_struct = sdl.load() # default, the full dataset structure
>>> df_train = sdl.load("train") # returns the training split
>>> fasta_file = sdl.load('test', fasta=True) # returns a StringIO handle
# CLI
$ scldata # default, returns the help page
$ scldata --split train # return training split in deafault .tsv format
$ scldata --split train --format fasta # returns the full training split in FASTA
$ scldata --info struct # overview of the dataset
$ scldata --help # for other options
Description: This dataset comprises 19074 protein sequences (col 1) and corresponding subcellular localisation labels (col 2), covering 13 classes (nine single-location and four multi-location classes). col 1 serves as the predictor (input), while col 2 is the target (output)
Structure: unarchived and decompressed folder layout
scldata
└── data
├── entries.json # contains the UniProtKB unique "entry" identifier index
├── labels.json # contains the mined UniProtKB "cellular component" location bi-directional index: 13 locations; 9 single and 4 multi
├── scl2205.csv # contains the full dataset in comma-separated-values (.csv) format
└── splits.json # contains the partitioning of the full dataset as index lists of records constituting each partition
Components:
- entries.json:
key=valuepairs;keyis integer index,valueis UniProtKB unique identifier. - labels.json: nested
key=valuepairs;keyis integer index,valueis subcellular location for theindex_to_labelkey-index, and vice versa for thelabel_to_indexkey-index. - scl2205.csv:
- Column 0: Table index; name,
entry; typestr - Column 1: Protein sequence (X variable); name,
seq; typestr - Column 2: Subcellular location (Y variable); name
scl; typestr
- Column 0: Table index; name,
- splits.json
- Abbreviations
cv: cross-validation (the 5-fold cross-validation dataset)fk: foldk; ranges from zero to fourtrn: training splittst: theheldoutevaluation setvld: validation split (for monitoring training) akadevelopmentordiscovery[<int index>, ...]: list of integer indices representing partition members
- Abbreviations
- Classes:
- Cytoplasm (
CYT) - Plastid (
PLA) - Secreted (
SEC) - Mitochondrion (
MIT) - Membrane (
MEM) - Peroxisome (
PER) - Nucleus (
NUC) - Cell projection (
CEP) - ER (
ER) - Cytoplasm;Nucleus (
CYT;NUC) - Centrosome;Cytoplasm;Cytoskeleton;Microtubule organizing center (
CEN;CYT;CYTS;MTOC) - Cytoplasm;Membrane (
CYT;MEM) - Cytoplasm;Cytoskeleton (
CYT;CYTS)
- Cytoplasm (
splits
├── cv
│ ├── f0
│ │ ├── trn = [<int index>, ...] # counts: 15187
│ │ └── vld = [<int index>, ...] # counts: 1256
│ ├── f1
│ │ ├── trn = [<int index>, ...] # counts: 15203
│ │ └── vld = [<int index>, ...] # counts: 1240
│ ├── f2
│ │ ├── trn = [<int index>, ...] # counts: 15185
│ │ └── vld = [<int index>, ...] # counts: 1258
│ ├── f3
│ │ ├── trn = [<int index>, ...] # counts: 15210
│ │ └── vld = [<int index>, ...] # counts: 1233
│ └── f4
│ ├── trn = [<int index>, ...] # counts: 15265
│ └── vld = [<int index>, ...] # counts: 1178
├── vld = [<int index>, ...] # counts: 15183
├── trn = [<int index>, ...] # counts: 1260
└── tst = [<int index>, ...] # counts: 2631
Notes:
- No missing values
Code/software
An open-source Python package for the data, p-scldata, is available on the official Python Package Index (PyPI). Upon installation, the dataset is automatically downloaded, and users can preview the data or load specific partitions programmatically (in the command line or as an import). The package is under active development, with additional features planned for future releases.
Other raw data access information
Other publicly accessible locations of the raw data:
Data was derived from the following sources:
- UniProtKB (release 2022_05; 20230124): https://www.uniprot.org/
Changelog
See CHANGELOG.md for version history.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file p_scldata-2026.2.0.tar.gz.
File metadata
- Download URL: p_scldata-2026.2.0.tar.gz
- Upload date:
- Size: 6.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e7c8a3991b9aea334ac583c36e6610f8a41324d9a5ecc5a10415b9591d743e4
|
|
| MD5 |
cef829b10021af55f3a198813f819326
|
|
| BLAKE2b-256 |
b472b1c8399768cc263d4432abe6727c47a51c96f5aa3b500a9db25fb42c8a4e
|
Provenance
The following attestation bundles were made for p_scldata-2026.2.0.tar.gz:
Publisher:
publish.yaml on ousodaniel/scldata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
p_scldata-2026.2.0.tar.gz -
Subject digest:
2e7c8a3991b9aea334ac583c36e6610f8a41324d9a5ecc5a10415b9591d743e4 - Sigstore transparency entry: 1091011597
- Sigstore integration time:
-
Permalink:
ousodaniel/scldata@f4e9ac7344410b0a55181a057397cc8901e0984f -
Branch / Tag:
refs/tags/v2026.2.0-stable - Owner: https://github.com/ousodaniel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@f4e9ac7344410b0a55181a057397cc8901e0984f -
Trigger Event:
release
-
Statement type:
File details
Details for the file p_scldata-2026.2.0-py3-none-any.whl.
File metadata
- Download URL: p_scldata-2026.2.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7537ab2aa0dd61bbeaf1a3110caeee7598a895b75cdee62588af402d68a89c8
|
|
| MD5 |
37004f72eae78a6704883f9406afff6e
|
|
| BLAKE2b-256 |
fa2faea209afa76915ec1d05badd5ca41b36cc9885d62691060e634d7e4c1244
|
Provenance
The following attestation bundles were made for p_scldata-2026.2.0-py3-none-any.whl:
Publisher:
publish.yaml on ousodaniel/scldata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
p_scldata-2026.2.0-py3-none-any.whl -
Subject digest:
c7537ab2aa0dd61bbeaf1a3110caeee7598a895b75cdee62588af402d68a89c8 - Sigstore transparency entry: 1091011601
- Sigstore integration time:
-
Permalink:
ousodaniel/scldata@f4e9ac7344410b0a55181a057397cc8901e0984f -
Branch / Tag:
refs/tags/v2026.2.0-stable - Owner: https://github.com/ousodaniel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@f4e9ac7344410b0a55181a057397cc8901e0984f -
Trigger Event:
release
-
Statement type: