samyakbayar commited on
Commit
5724d97
·
verified ·
1 Parent(s): 172cf3d

Upload human-proteome dataset files with full metadata

Browse files
Files changed (9) hide show
  1. .gitattributes +1 -0
  2. KAGGLE.md +166 -0
  3. README.md +175 -0
  4. about.md +24 -0
  5. data_dictionary.csv +61 -0
  6. dataset-metadata.json +335 -0
  7. human_proteins.csv +3 -0
  8. kernel-metadata.json +14 -0
  9. notebook.ipynb +198 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ human_proteins.csv filter=lfs diff=lfs merge=lfs -text
KAGGLE.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Human Proteome - Reviewed Annotations
2
+
3
+ **Subtitle:** 20,429 curated human proteins with sequences, domains & gene symbols
4
+
5
+ **Tags:** `tabular`, `biology`, `science`
6
+
7
+ **Dataset File:** `human_proteins.csv` (20,429 rows, 60 columns, 47.4 MB)
8
+
9
+ **Provenance & Source:** UniProtKB Swiss-Prot Database (uniprot.org)
10
+
11
+ **Expected Update Frequency:** `annually`
12
+
13
+ ---
14
+
15
+ ## 📖 Description
16
+
17
+ ### The curated human proteome
18
+
19
+ UniProtKB/Swiss-Prot is the manually reviewed protein knowledge base. This extract contains
20
+ **20,429 reviewed human proteins** with **60 parameters**, including the full sequence and
21
+ every major annotation layer.
22
+
23
+ - **Identity** — accession, entry name, protein name, gene names, organism, sequence length and mass,
24
+ sequence version and the full amino-acid sequence.
25
+ - **Function** — curated function text, catalytic activity, cofactor, pathway, subunit and
26
+ pharmaceutical-use annotations.
27
+ - **Localisation** — subcellular location text plus secreted, membrane, nuclear and mitochondrial flags.
28
+ - **Structure and interactions** — domain features, binding and active sites, disulfide bonds,
29
+ modified residues and PDB identifiers.
30
+ - **Disease and variation** — disease associations, natural variants and caution notes.
31
+ - **Ontology** — GO term IDs, UniProt keywords and their counts.
32
+ - **Derived** — enzyme class, length band, mass per residue, annotation lengths and per-protein counts.
33
+
34
+ **4,616 proteins are enzymes**, **8,969 have at least one PDB structure**, and
35
+ **5,350** carry a disease association — enough to support structural bioinformatics, function
36
+ prediction and drug-target exploration.
37
+
38
+ ## 🧾 Columns (60)
39
+
40
+ `accession`, `entry_name`, `protein_name`, `gene_names`, `organism`, `length`, `mass_da`, `sequence_version`, `ec_number`, `function`, `domains`, `go_ids`, `keywords`, `subcellular_location`, `involvement_in_disease`, `pdb_ids`, `sequence_similarity`, `binding_sites`, `active_sites`, `sequence`, `catalytic_activity`, `cofactor`, `subunit`, `pathway`, `pharmaceutical_use`, `tissue_specificity`, `signal_peptide`, `transit_peptide`, `chains`, `disulfide_bonds`, `variants`, `modified_residues`, `caution`, `gene_count`, `function_length`, `domain_count`, `go_term_count`, `pdb_structure_count`, `keyword_count`, `subcellular_location_count`, `binding_site_count`, `active_site_count`, `variant_count`, `disulfide_count`, `modified_residue_count`, `is_enzyme`, `ec_class`, `has_structure`, `has_signal_peptide`, `has_transit_peptide`, `has_disease_association`, `is_transmembrane`, `is_secreted`, `is_membrane_protein`, `is_nuclear`, `is_mitochondrial`, `has_caution`, `mass_per_residue_da`, `length_band`, `is_reviewed`
41
+
42
+ ## 💡 Ideas for using this data
43
+
44
+ 1. **Enzyme vs non-enzyme** — compare length, mass and domain counts between EC-annotated and other proteins.
45
+ 2. **Structure coverage** — which protein families lack experimental structures?
46
+ 3. **Localisation prediction** — build a classifier from sequence-derived features (length, mass, keywords).
47
+ 4. **Disease proteome** — enrichment of GO terms and keywords among disease-associated proteins.
48
+ 5. **Domain architecture** — parse the domain features to find recurrent multi-domain combinations.
49
+ 6. **Sequence composition** — amino-acid frequencies by localisation class.
50
+ 7. **Annotation quality** — protein entries with many variants and caution notes.
51
+ 8. **Network analysis** — build a protein-protein graph from the subunit annotations.
52
+ 9. **Text mining** — the function and disease fields are a rich corpus for biomedical NLP.
53
+
54
+ ## 📁 Files
55
+
56
+ | File | What it is |
57
+ |---|---|
58
+ | `human_proteins.csv` | 20,429 proteins x 60 parameters. |
59
+ | `data_dictionary.csv` | Column / type / description for every field. |
60
+ | `notebook.ipynb` | Starter notebook that loads the CSV and analyses it. |
61
+ | `dataset-metadata.json` | Kaggle API metadata. |
62
+ | `about.md` | Plain-text About block. |
63
+
64
+ ## 🏷️ Tags
65
+
66
+ `biology`, `proteomics`, `uniprot`, `bioinformatics`, `proteins`, `genomics`, `health`
67
+
68
+ ## 🔗 Provenance
69
+
70
+ - **Source:** **UniProtKB REST API**, stream endpoint
71
+ `https://rest.uniprot.org/uniprotkb/stream?query=reviewed:true+AND+organism_id:9606`.
72
+ - **Scope:** all reviewed (Swiss-Prot) entries for Homo sapiens, 33 returned fields including the
73
+ complete sequence.
74
+ - **Processing:** TSV flattened to one row per protein; counts, flags, enzyme class and length bands
75
+ derived; long free-text fields truncated only where noted.
76
+ - **Snapshot date:** 22 November 2026.
77
+
78
+ ## 🔄 Update frequency
79
+
80
+ **Every eight weeks.** UniProt releases a new version on a regular cadence.
81
+
82
+ ## ⚠️ Caveats
83
+
84
+ - Only reviewed entries are included; unreviewed TrEMBL records (the majority) are excluded.
85
+ - Annotation depth varies enormously between well-studied and newly added proteins.
86
+ - Function and disease text is truncated at 2,000 / 1,500 characters.
87
+ - Feature fields are semicolon-joined strings; their internal structure is positional and not normalised.
88
+ - Isoforms are not separate rows — one row per canonical entry.
89
+ - Mass is the computed mass of the canonical sequence, not a measured value.
90
+
91
+ ## 📜 Licence
92
+
93
+ UniProt data is licensed CC BY 4.0 — cite UniProt and the source databases.
94
+
95
+ ### 📋 Column Definitions & File Header
96
+
97
+ | # | Column Name | Data Type | Description |
98
+ |---|---|---|---|
99
+ | 1 | `accession` | `string` | UniProtKB primary accession. |
100
+ | 2 | `entry_name` | `string` | UniProt entry name (e.g. MOTSC_HUMAN). |
101
+ | 3 | `protein_name` | `string` | Recommended protein name, with synonyms. |
102
+ | 4 | `gene_names` | `string` | Gene name(s) mapped to the entry. |
103
+ | 5 | `organism` | `string` | Source organism (Homo sapiens). |
104
+ | 6 | `length` | `number` | Protein sequence length in amino acids. |
105
+ | 7 | `mass_da` | `number` | Computed molecular mass in daltons. |
106
+ | 8 | `sequence_version` | `number` | UniProt sequence version. |
107
+ | 9 | `ec_number` | `string` | Enzyme Commission number(s), where assigned. |
108
+ | 10 | `function` | `string` | Curated function annotation (truncated to 2,000 characters). |
109
+ | 11 | `domains` | `string` | Domain boundaries from the feature table. |
110
+ | 12 | `go_ids` | `string` | Gene Ontology term IDs (semicolon-joined). |
111
+ | 13 | `keywords` | `number` | UniProt keyword annotations (semicolon-joined). |
112
+ | 14 | `subcellular_location` | `string` | Curated subcellular location text. |
113
+ | 15 | `involvement_in_disease` | `string` | Disease association text (truncated to 1,500 characters). |
114
+ | 16 | `pdb_ids` | `string` | PDB structure identifiers. |
115
+ | 17 | `sequence_similarity` | `string` | Sequence similarity family annotation. |
116
+ | 18 | `binding_sites` | `string` | Binding-site features. |
117
+ | 19 | `active_sites` | `string` | Active-site features. |
118
+ | 20 | `sequence` | `string` | Full amino-acid sequence. |
119
+ | 21 | `catalytic_activity` | `number` | Catalytic activity annotation. |
120
+ | 22 | `cofactor` | `number` | Cofactor annotation. |
121
+ | 23 | `subunit` | `number` | Subunit / complex composition. |
122
+ | 24 | `pathway` | `number` | Pathway annotation. |
123
+ | 25 | `pharmaceutical_use` | `number` | Pharmaceutical use annotation. |
124
+ | 26 | `tissue_specificity` | `number` | Tissue expression specificity. |
125
+ | 27 | `signal_peptide` | `number` | Signal peptide feature. |
126
+ | 28 | `transit_peptide` | `number` | Transit peptide feature. |
127
+ | 29 | `chains` | `number` | Chain features. |
128
+ | 30 | `disulfide_bonds` | `number` | Disulfide bond features. |
129
+ | 31 | `variants` | `number` | Natural variant features. |
130
+ | 32 | `modified_residues` | `number` | Post-translational modification features. |
131
+ | 33 | `caution` | `number` | Caution / annotation warning text. |
132
+ | 34 | `gene_count` | `number` | Number of gene names listed. |
133
+ | 35 | `function_length` | `number` | Characters in the function annotation. |
134
+ | 36 | `domain_count` | `number` | Number of domain features. |
135
+ | 37 | `go_term_count` | `number` | Number of GO terms. |
136
+ | 38 | `pdb_structure_count` | `number` | Number of PDB structures. |
137
+ | 39 | `keyword_count` | `number` | Number of UniProt keywords. |
138
+ | 40 | `subcellular_location_count` | `number` | Number of subcellular location terms. |
139
+ | 41 | `binding_site_count` | `number` | Number of binding-site features. |
140
+ | 42 | `active_site_count` | `number` | Number of active-site features. |
141
+ | 43 | `variant_count` | `number` | Number of natural variants. |
142
+ | 44 | `disulfide_count` | `number` | Number of disulfide bonds. |
143
+ | 45 | `modified_residue_count` | `number` | Number of modified residues. |
144
+ | 46 | `is_enzyme` | `boolean` | true when an EC number is assigned. |
145
+ | 47 | `ec_class` | `number` | First digit of the EC number (enzyme class). |
146
+ | 48 | `has_structure` | `boolean` | true when at least one PDB structure exists. |
147
+ | 49 | `has_signal_peptide` | `boolean` | true when a signal peptide is annotated. |
148
+ | 50 | `has_transit_peptide` | `boolean` | true when a transit peptide is annotated. |
149
+ | 51 | `has_disease_association` | `boolean` | true when a disease association is annotated. |
150
+ | 52 | `is_transmembrane` | `boolean` | true when the keyword Transmembrane is present. |
151
+ | 53 | `is_secreted` | `boolean` | true when the location mentions secreted. |
152
+ | 54 | `is_membrane_protein` | `boolean` | true when the location mentions membrane. |
153
+ | 55 | `is_nuclear` | `boolean` | true when the location mentions nucleus. |
154
+ | 56 | `is_mitochondrial` | `boolean` | true when the location mentions mitochondria. |
155
+ | 57 | `has_caution` | `boolean` | true when a caution annotation exists. |
156
+ | 58 | `mass_per_residue_da` | `number` | Mass divided by sequence length. |
157
+ | 59 | `length_band` | `string` | Protein length band (aa). |
158
+ | 60 | `is_reviewed` | `boolean` | true — the query restricts to reviewed Swiss-Prot entries. |
159
+
160
+
161
+
162
+ ---
163
+
164
+ ## 🌟 Support & Community
165
+ If you find this dataset valuable for your research, machine learning projects, or data explorations, **please give it an upvote (👍) on Kaggle!**
166
+ Feedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - tabular
5
+ tags:
6
+ - tabular
7
+ pretty_name: Human Proteome - Reviewed Annotations
8
+ ---
9
+
10
+ # Human Proteome - Reviewed Annotations
11
+
12
+ **Subtitle:** 20,429 curated human proteins with sequences, domains & gene symbols
13
+
14
+ **Tags:** `tabular`, `biology`, `science`
15
+
16
+ **Dataset File:** `human_proteins.csv` (20,429 rows, 60 columns, 47.4 MB)
17
+
18
+ **Provenance & Source:** UniProtKB Swiss-Prot Database (uniprot.org)
19
+
20
+ **Expected Update Frequency:** `annually`
21
+
22
+ ---
23
+
24
+ ## 📖 Description
25
+
26
+ ### The curated human proteome
27
+
28
+ UniProtKB/Swiss-Prot is the manually reviewed protein knowledge base. This extract contains
29
+ **20,429 reviewed human proteins** with **60 parameters**, including the full sequence and
30
+ every major annotation layer.
31
+
32
+ - **Identity** — accession, entry name, protein name, gene names, organism, sequence length and mass,
33
+ sequence version and the full amino-acid sequence.
34
+ - **Function** — curated function text, catalytic activity, cofactor, pathway, subunit and
35
+ pharmaceutical-use annotations.
36
+ - **Localisation** — subcellular location text plus secreted, membrane, nuclear and mitochondrial flags.
37
+ - **Structure and interactions** — domain features, binding and active sites, disulfide bonds,
38
+ modified residues and PDB identifiers.
39
+ - **Disease and variation** — disease associations, natural variants and caution notes.
40
+ - **Ontology** — GO term IDs, UniProt keywords and their counts.
41
+ - **Derived** — enzyme class, length band, mass per residue, annotation lengths and per-protein counts.
42
+
43
+ **4,616 proteins are enzymes**, **8,969 have at least one PDB structure**, and
44
+ **5,350** carry a disease association — enough to support structural bioinformatics, function
45
+ prediction and drug-target exploration.
46
+
47
+ ## 🧾 Columns (60)
48
+
49
+ `accession`, `entry_name`, `protein_name`, `gene_names`, `organism`, `length`, `mass_da`, `sequence_version`, `ec_number`, `function`, `domains`, `go_ids`, `keywords`, `subcellular_location`, `involvement_in_disease`, `pdb_ids`, `sequence_similarity`, `binding_sites`, `active_sites`, `sequence`, `catalytic_activity`, `cofactor`, `subunit`, `pathway`, `pharmaceutical_use`, `tissue_specificity`, `signal_peptide`, `transit_peptide`, `chains`, `disulfide_bonds`, `variants`, `modified_residues`, `caution`, `gene_count`, `function_length`, `domain_count`, `go_term_count`, `pdb_structure_count`, `keyword_count`, `subcellular_location_count`, `binding_site_count`, `active_site_count`, `variant_count`, `disulfide_count`, `modified_residue_count`, `is_enzyme`, `ec_class`, `has_structure`, `has_signal_peptide`, `has_transit_peptide`, `has_disease_association`, `is_transmembrane`, `is_secreted`, `is_membrane_protein`, `is_nuclear`, `is_mitochondrial`, `has_caution`, `mass_per_residue_da`, `length_band`, `is_reviewed`
50
+
51
+ ## 💡 Ideas for using this data
52
+
53
+ 1. **Enzyme vs non-enzyme** — compare length, mass and domain counts between EC-annotated and other proteins.
54
+ 2. **Structure coverage** — which protein families lack experimental structures?
55
+ 3. **Localisation prediction** — build a classifier from sequence-derived features (length, mass, keywords).
56
+ 4. **Disease proteome** — enrichment of GO terms and keywords among disease-associated proteins.
57
+ 5. **Domain architecture** — parse the domain features to find recurrent multi-domain combinations.
58
+ 6. **Sequence composition** — amino-acid frequencies by localisation class.
59
+ 7. **Annotation quality** — protein entries with many variants and caution notes.
60
+ 8. **Network analysis** — build a protein-protein graph from the subunit annotations.
61
+ 9. **Text mining** — the function and disease fields are a rich corpus for biomedical NLP.
62
+
63
+ ## 📁 Files
64
+
65
+ | File | What it is |
66
+ |---|---|
67
+ | `human_proteins.csv` | 20,429 proteins x 60 parameters. |
68
+ | `data_dictionary.csv` | Column / type / description for every field. |
69
+ | `notebook.ipynb` | Starter notebook that loads the CSV and analyses it. |
70
+ | `dataset-metadata.json` | Kaggle API metadata. |
71
+ | `about.md` | Plain-text About block. |
72
+
73
+ ## 🏷️ Tags
74
+
75
+ `biology`, `proteomics`, `uniprot`, `bioinformatics`, `proteins`, `genomics`, `health`
76
+
77
+ ## 🔗 Provenance
78
+
79
+ - **Source:** **UniProtKB REST API**, stream endpoint
80
+ `https://rest.uniprot.org/uniprotkb/stream?query=reviewed:true+AND+organism_id:9606`.
81
+ - **Scope:** all reviewed (Swiss-Prot) entries for Homo sapiens, 33 returned fields including the
82
+ complete sequence.
83
+ - **Processing:** TSV flattened to one row per protein; counts, flags, enzyme class and length bands
84
+ derived; long free-text fields truncated only where noted.
85
+ - **Snapshot date:** 22 November 2026.
86
+
87
+ ## 🔄 Update frequency
88
+
89
+ **Every eight weeks.** UniProt releases a new version on a regular cadence.
90
+
91
+ ## ⚠️ Caveats
92
+
93
+ - Only reviewed entries are included; unreviewed TrEMBL records (the majority) are excluded.
94
+ - Annotation depth varies enormously between well-studied and newly added proteins.
95
+ - Function and disease text is truncated at 2,000 / 1,500 characters.
96
+ - Feature fields are semicolon-joined strings; their internal structure is positional and not normalised.
97
+ - Isoforms are not separate rows — one row per canonical entry.
98
+ - Mass is the computed mass of the canonical sequence, not a measured value.
99
+
100
+ ## 📜 Licence
101
+
102
+ UniProt data is licensed CC BY 4.0 — cite UniProt and the source databases.
103
+
104
+ ### 📋 Column Definitions & File Header
105
+
106
+ | # | Column Name | Data Type | Description |
107
+ |---|---|---|---|
108
+ | 1 | `accession` | `string` | UniProtKB primary accession. |
109
+ | 2 | `entry_name` | `string` | UniProt entry name (e.g. MOTSC_HUMAN). |
110
+ | 3 | `protein_name` | `string` | Recommended protein name, with synonyms. |
111
+ | 4 | `gene_names` | `string` | Gene name(s) mapped to the entry. |
112
+ | 5 | `organism` | `string` | Source organism (Homo sapiens). |
113
+ | 6 | `length` | `number` | Protein sequence length in amino acids. |
114
+ | 7 | `mass_da` | `number` | Computed molecular mass in daltons. |
115
+ | 8 | `sequence_version` | `number` | UniProt sequence version. |
116
+ | 9 | `ec_number` | `string` | Enzyme Commission number(s), where assigned. |
117
+ | 10 | `function` | `string` | Curated function annotation (truncated to 2,000 characters). |
118
+ | 11 | `domains` | `string` | Domain boundaries from the feature table. |
119
+ | 12 | `go_ids` | `string` | Gene Ontology term IDs (semicolon-joined). |
120
+ | 13 | `keywords` | `number` | UniProt keyword annotations (semicolon-joined). |
121
+ | 14 | `subcellular_location` | `string` | Curated subcellular location text. |
122
+ | 15 | `involvement_in_disease` | `string` | Disease association text (truncated to 1,500 characters). |
123
+ | 16 | `pdb_ids` | `string` | PDB structure identifiers. |
124
+ | 17 | `sequence_similarity` | `string` | Sequence similarity family annotation. |
125
+ | 18 | `binding_sites` | `string` | Binding-site features. |
126
+ | 19 | `active_sites` | `string` | Active-site features. |
127
+ | 20 | `sequence` | `string` | Full amino-acid sequence. |
128
+ | 21 | `catalytic_activity` | `number` | Catalytic activity annotation. |
129
+ | 22 | `cofactor` | `number` | Cofactor annotation. |
130
+ | 23 | `subunit` | `number` | Subunit / complex composition. |
131
+ | 24 | `pathway` | `number` | Pathway annotation. |
132
+ | 25 | `pharmaceutical_use` | `number` | Pharmaceutical use annotation. |
133
+ | 26 | `tissue_specificity` | `number` | Tissue expression specificity. |
134
+ | 27 | `signal_peptide` | `number` | Signal peptide feature. |
135
+ | 28 | `transit_peptide` | `number` | Transit peptide feature. |
136
+ | 29 | `chains` | `number` | Chain features. |
137
+ | 30 | `disulfide_bonds` | `number` | Disulfide bond features. |
138
+ | 31 | `variants` | `number` | Natural variant features. |
139
+ | 32 | `modified_residues` | `number` | Post-translational modification features. |
140
+ | 33 | `caution` | `number` | Caution / annotation warning text. |
141
+ | 34 | `gene_count` | `number` | Number of gene names listed. |
142
+ | 35 | `function_length` | `number` | Characters in the function annotation. |
143
+ | 36 | `domain_count` | `number` | Number of domain features. |
144
+ | 37 | `go_term_count` | `number` | Number of GO terms. |
145
+ | 38 | `pdb_structure_count` | `number` | Number of PDB structures. |
146
+ | 39 | `keyword_count` | `number` | Number of UniProt keywords. |
147
+ | 40 | `subcellular_location_count` | `number` | Number of subcellular location terms. |
148
+ | 41 | `binding_site_count` | `number` | Number of binding-site features. |
149
+ | 42 | `active_site_count` | `number` | Number of active-site features. |
150
+ | 43 | `variant_count` | `number` | Number of natural variants. |
151
+ | 44 | `disulfide_count` | `number` | Number of disulfide bonds. |
152
+ | 45 | `modified_residue_count` | `number` | Number of modified residues. |
153
+ | 46 | `is_enzyme` | `boolean` | true when an EC number is assigned. |
154
+ | 47 | `ec_class` | `number` | First digit of the EC number (enzyme class). |
155
+ | 48 | `has_structure` | `boolean` | true when at least one PDB structure exists. |
156
+ | 49 | `has_signal_peptide` | `boolean` | true when a signal peptide is annotated. |
157
+ | 50 | `has_transit_peptide` | `boolean` | true when a transit peptide is annotated. |
158
+ | 51 | `has_disease_association` | `boolean` | true when a disease association is annotated. |
159
+ | 52 | `is_transmembrane` | `boolean` | true when the keyword Transmembrane is present. |
160
+ | 53 | `is_secreted` | `boolean` | true when the location mentions secreted. |
161
+ | 54 | `is_membrane_protein` | `boolean` | true when the location mentions membrane. |
162
+ | 55 | `is_nuclear` | `boolean` | true when the location mentions nucleus. |
163
+ | 56 | `is_mitochondrial` | `boolean` | true when the location mentions mitochondria. |
164
+ | 57 | `has_caution` | `boolean` | true when a caution annotation exists. |
165
+ | 58 | `mass_per_residue_da` | `number` | Mass divided by sequence length. |
166
+ | 59 | `length_band` | `string` | Protein length band (aa). |
167
+ | 60 | `is_reviewed` | `boolean` | true — the query restricts to reviewed Swiss-Prot entries. |
168
+
169
+
170
+
171
+ ---
172
+
173
+ ## 🌟 Support & Community
174
+ If you find this dataset valuable for your research, machine learning projects, or data explorations, **please give it an upvote (👍) on Kaggle!**
175
+ Feedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.
about.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Human Proteome: Reviewed Protein Annotations
2
+
3
+ ### The curated human proteome
4
+
5
+ UniProtKB/Swiss-Prot is the manually reviewed protein knowledge base. This extract contains
6
+ **20,429 reviewed human proteins** with **60 parameters**, including the full sequence and
7
+ every major annotation layer.
8
+
9
+ - **Identity** — accession, entry name, protein name, gene names, organism, sequence length and mass,
10
+ sequence version and the full amino-acid sequence.
11
+ - **Function** — curated function text, catalytic activity, cofactor, pathway, subunit and
12
+ pharmaceutical-use annotations.
13
+ - **Localisation** — subcellular location text plus secreted, membrane, nuclear and mitochondrial flags.
14
+ - **Structure and interactions** — domain features, binding and active sites, disulfide bonds,
15
+ modified residues and PDB identifiers.
16
+ - **Disease and variation** — disease associations, natural variants and caution notes.
17
+ - **Ontology** — GO term IDs, UniProt keywords and their counts.
18
+ - **Derived** — enzyme class, length band, mass per residue, annotation lengths and per-protein counts.
19
+
20
+ **4,616 proteins are enzymes**, **8,969 have at least one PDB structure**, and
21
+ **5,350** carry a disease association — enough to support structural bioinformatics, function
22
+ prediction and drug-target exploration.
23
+
24
+ 60 columns; 20,429 proteins x 60 parameters.
data_dictionary.csv ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ column,data_type,description
2
+ accession,string,UniProtKB primary accession.
3
+ entry_name,string,UniProt entry name (e.g. MOTSC_HUMAN).
4
+ protein_name,string,"Recommended protein name, with synonyms."
5
+ gene_names,string,Gene name(s) mapped to the entry.
6
+ organism,string,Source organism (Homo sapiens).
7
+ length,number,Protein sequence length in amino acids.
8
+ mass_da,number,Computed molecular mass in daltons.
9
+ sequence_version,number,UniProt sequence version.
10
+ ec_number,string,"Enzyme Commission number(s), where assigned."
11
+ function,string,"Curated function annotation (truncated to 2,000 characters)."
12
+ domains,string,Domain boundaries from the feature table.
13
+ go_ids,string,Gene Ontology term IDs (semicolon-joined).
14
+ keywords,number,UniProt keyword annotations (semicolon-joined).
15
+ subcellular_location,string,Curated subcellular location text.
16
+ involvement_in_disease,string,"Disease association text (truncated to 1,500 characters)."
17
+ pdb_ids,string,PDB structure identifiers.
18
+ sequence_similarity,string,Sequence similarity family annotation.
19
+ binding_sites,string,Binding-site features.
20
+ active_sites,string,Active-site features.
21
+ sequence,string,Full amino-acid sequence.
22
+ catalytic_activity,number,Catalytic activity annotation.
23
+ cofactor,number,Cofactor annotation.
24
+ subunit,number,Subunit / complex composition.
25
+ pathway,number,Pathway annotation.
26
+ pharmaceutical_use,number,Pharmaceutical use annotation.
27
+ tissue_specificity,number,Tissue expression specificity.
28
+ signal_peptide,number,Signal peptide feature.
29
+ transit_peptide,number,Transit peptide feature.
30
+ chains,number,Chain features.
31
+ disulfide_bonds,number,Disulfide bond features.
32
+ variants,number,Natural variant features.
33
+ modified_residues,number,Post-translational modification features.
34
+ caution,number,Caution / annotation warning text.
35
+ gene_count,number,Number of gene names listed.
36
+ function_length,number,Characters in the function annotation.
37
+ domain_count,number,Number of domain features.
38
+ go_term_count,number,Number of GO terms.
39
+ pdb_structure_count,number,Number of PDB structures.
40
+ keyword_count,number,Number of UniProt keywords.
41
+ subcellular_location_count,number,Number of subcellular location terms.
42
+ binding_site_count,number,Number of binding-site features.
43
+ active_site_count,number,Number of active-site features.
44
+ variant_count,number,Number of natural variants.
45
+ disulfide_count,number,Number of disulfide bonds.
46
+ modified_residue_count,number,Number of modified residues.
47
+ is_enzyme,boolean,true when an EC number is assigned.
48
+ ec_class,number,First digit of the EC number (enzyme class).
49
+ has_structure,boolean,true when at least one PDB structure exists.
50
+ has_signal_peptide,boolean,true when a signal peptide is annotated.
51
+ has_transit_peptide,boolean,true when a transit peptide is annotated.
52
+ has_disease_association,boolean,true when a disease association is annotated.
53
+ is_transmembrane,boolean,true when the keyword Transmembrane is present.
54
+ is_secreted,boolean,true when the location mentions secreted.
55
+ is_membrane_protein,boolean,true when the location mentions membrane.
56
+ is_nuclear,boolean,true when the location mentions nucleus.
57
+ is_mitochondrial,boolean,true when the location mentions mitochondria.
58
+ has_caution,boolean,true when a caution annotation exists.
59
+ mass_per_residue_da,number,Mass divided by sequence length.
60
+ length_band,string,Protein length band (aa).
61
+ is_reviewed,boolean,true — the query restricts to reviewed Swiss-Prot entries.
dataset-metadata.json ADDED
@@ -0,0 +1,335 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Human Proteome - Reviewed Annotations",
3
+ "id": "edudev-commons-org/human-proteome",
4
+ "subtitle": "20,429 curated human proteins with sequences, domains & gene symbols",
5
+ "description": "# Human Proteome - Reviewed Annotations\n\n**Subtitle:** 20,429 curated human proteins with sequences, domains & gene symbols\n\n**Tags:** `tabular`, `biology`, `science`\n\n**Dataset File:** `human_proteins.csv` (20,429 rows, 60 columns, 47.4 MB)\n\n**Provenance & Source:** UniProtKB Swiss-Prot Database (uniprot.org)\n\n**Expected Update Frequency:** `annually`\n\n---\n\n## \ud83d\udcd6 Description\n\n### The curated human proteome\n\nUniProtKB/Swiss-Prot is the manually reviewed protein knowledge base. This extract contains\n**20,429 reviewed human proteins** with **60 parameters**, including the full sequence and\nevery major annotation layer.\n\n- **Identity** \u2014 accession, entry name, protein name, gene names, organism, sequence length and mass,\n sequence version and the full amino-acid sequence.\n- **Function** \u2014 curated function text, catalytic activity, cofactor, pathway, subunit and\n pharmaceutical-use annotations.\n- **Localisation** \u2014 subcellular location text plus secreted, membrane, nuclear and mitochondrial flags.\n- **Structure and interactions** \u2014 domain features, binding and active sites, disulfide bonds,\n modified residues and PDB identifiers.\n- **Disease and variation** \u2014 disease associations, natural variants and caution notes.\n- **Ontology** \u2014 GO term IDs, UniProt keywords and their counts.\n- **Derived** \u2014 enzyme class, length band, mass per residue, annotation lengths and per-protein counts.\n\n**4,616 proteins are enzymes**, **8,969 have at least one PDB structure**, and\n**5,350** carry a disease association \u2014 enough to support structural bioinformatics, function\nprediction and drug-target exploration.\n\n## \ud83e\uddfe Columns (60)\n\n`accession`, `entry_name`, `protein_name`, `gene_names`, `organism`, `length`, `mass_da`, `sequence_version`, `ec_number`, `function`, `domains`, `go_ids`, `keywords`, `subcellular_location`, `involvement_in_disease`, `pdb_ids`, `sequence_similarity`, `binding_sites`, `active_sites`, `sequence`, `catalytic_activity`, `cofactor`, `subunit`, `pathway`, `pharmaceutical_use`, `tissue_specificity`, `signal_peptide`, `transit_peptide`, `chains`, `disulfide_bonds`, `variants`, `modified_residues`, `caution`, `gene_count`, `function_length`, `domain_count`, `go_term_count`, `pdb_structure_count`, `keyword_count`, `subcellular_location_count`, `binding_site_count`, `active_site_count`, `variant_count`, `disulfide_count`, `modified_residue_count`, `is_enzyme`, `ec_class`, `has_structure`, `has_signal_peptide`, `has_transit_peptide`, `has_disease_association`, `is_transmembrane`, `is_secreted`, `is_membrane_protein`, `is_nuclear`, `is_mitochondrial`, `has_caution`, `mass_per_residue_da`, `length_band`, `is_reviewed`\n\n## \ud83d\udca1 Ideas for using this data\n\n1. **Enzyme vs non-enzyme** \u2014 compare length, mass and domain counts between EC-annotated and other proteins.\n2. **Structure coverage** \u2014 which protein families lack experimental structures?\n3. **Localisation prediction** \u2014 build a classifier from sequence-derived features (length, mass, keywords).\n4. **Disease proteome** \u2014 enrichment of GO terms and keywords among disease-associated proteins.\n5. **Domain architecture** \u2014 parse the domain features to find recurrent multi-domain combinations.\n6. **Sequence composition** \u2014 amino-acid frequencies by localisation class.\n7. **Annotation quality** \u2014 protein entries with many variants and caution notes.\n8. **Network analysis** \u2014 build a protein-protein graph from the subunit annotations.\n9. **Text mining** \u2014 the function and disease fields are a rich corpus for biomedical NLP.\n\n## \ud83d\udcc1 Files\n\n| File | What it is |\n|---|---|\n| `human_proteins.csv` | 20,429 proteins x 60 parameters. |\n| `data_dictionary.csv` | Column / type / description for every field. |\n| `notebook.ipynb` | Starter notebook that loads the CSV and analyses it. |\n| `dataset-metadata.json` | Kaggle API metadata. |\n| `about.md` | Plain-text About block. |\n\n## \ud83c\udff7\ufe0f Tags\n\n`biology`, `proteomics`, `uniprot`, `bioinformatics`, `proteins`, `genomics`, `health`\n\n## \ud83d\udd17 Provenance\n\n- **Source:** **UniProtKB REST API**, stream endpoint\n `https://rest.uniprot.org/uniprotkb/stream?query=reviewed:true+AND+organism_id:9606`.\n- **Scope:** all reviewed (Swiss-Prot) entries for Homo sapiens, 33 returned fields including the\n complete sequence.\n- **Processing:** TSV flattened to one row per protein; counts, flags, enzyme class and length bands\n derived; long free-text fields truncated only where noted.\n- **Snapshot date:** 22 November 2026.\n\n## \ud83d\udd04 Update frequency\n\n**Every eight weeks.** UniProt releases a new version on a regular cadence.\n\n## \u26a0\ufe0f Caveats\n\n- Only reviewed entries are included; unreviewed TrEMBL records (the majority) are excluded.\n- Annotation depth varies enormously between well-studied and newly added proteins.\n- Function and disease text is truncated at 2,000 / 1,500 characters.\n- Feature fields are semicolon-joined strings; their internal structure is positional and not normalised.\n- Isoforms are not separate rows \u2014 one row per canonical entry.\n- Mass is the computed mass of the canonical sequence, not a measured value.\n\n## \ud83d\udcdc Licence\n\nUniProt data is licensed CC BY 4.0 \u2014 cite UniProt and the source databases.\n\n### \ud83d\udccb Column Definitions & File Header\n\n| # | Column Name | Data Type | Description |\n|---|---|---|---|\n| 1 | `accession` | `string` | UniProtKB primary accession. |\n| 2 | `entry_name` | `string` | UniProt entry name (e.g. MOTSC_HUMAN). |\n| 3 | `protein_name` | `string` | Recommended protein name, with synonyms. |\n| 4 | `gene_names` | `string` | Gene name(s) mapped to the entry. |\n| 5 | `organism` | `string` | Source organism (Homo sapiens). |\n| 6 | `length` | `number` | Protein sequence length in amino acids. |\n| 7 | `mass_da` | `number` | Computed molecular mass in daltons. |\n| 8 | `sequence_version` | `number` | UniProt sequence version. |\n| 9 | `ec_number` | `string` | Enzyme Commission number(s), where assigned. |\n| 10 | `function` | `string` | Curated function annotation (truncated to 2,000 characters). |\n| 11 | `domains` | `string` | Domain boundaries from the feature table. |\n| 12 | `go_ids` | `string` | Gene Ontology term IDs (semicolon-joined). |\n| 13 | `keywords` | `number` | UniProt keyword annotations (semicolon-joined). |\n| 14 | `subcellular_location` | `string` | Curated subcellular location text. |\n| 15 | `involvement_in_disease` | `string` | Disease association text (truncated to 1,500 characters). |\n| 16 | `pdb_ids` | `string` | PDB structure identifiers. |\n| 17 | `sequence_similarity` | `string` | Sequence similarity family annotation. |\n| 18 | `binding_sites` | `string` | Binding-site features. |\n| 19 | `active_sites` | `string` | Active-site features. |\n| 20 | `sequence` | `string` | Full amino-acid sequence. |\n| 21 | `catalytic_activity` | `number` | Catalytic activity annotation. |\n| 22 | `cofactor` | `number` | Cofactor annotation. |\n| 23 | `subunit` | `number` | Subunit / complex composition. |\n| 24 | `pathway` | `number` | Pathway annotation. |\n| 25 | `pharmaceutical_use` | `number` | Pharmaceutical use annotation. |\n| 26 | `tissue_specificity` | `number` | Tissue expression specificity. |\n| 27 | `signal_peptide` | `number` | Signal peptide feature. |\n| 28 | `transit_peptide` | `number` | Transit peptide feature. |\n| 29 | `chains` | `number` | Chain features. |\n| 30 | `disulfide_bonds` | `number` | Disulfide bond features. |\n| 31 | `variants` | `number` | Natural variant features. |\n| 32 | `modified_residues` | `number` | Post-translational modification features. |\n| 33 | `caution` | `number` | Caution / annotation warning text. |\n| 34 | `gene_count` | `number` | Number of gene names listed. |\n| 35 | `function_length` | `number` | Characters in the function annotation. |\n| 36 | `domain_count` | `number` | Number of domain features. |\n| 37 | `go_term_count` | `number` | Number of GO terms. |\n| 38 | `pdb_structure_count` | `number` | Number of PDB structures. |\n| 39 | `keyword_count` | `number` | Number of UniProt keywords. |\n| 40 | `subcellular_location_count` | `number` | Number of subcellular location terms. |\n| 41 | `binding_site_count` | `number` | Number of binding-site features. |\n| 42 | `active_site_count` | `number` | Number of active-site features. |\n| 43 | `variant_count` | `number` | Number of natural variants. |\n| 44 | `disulfide_count` | `number` | Number of disulfide bonds. |\n| 45 | `modified_residue_count` | `number` | Number of modified residues. |\n| 46 | `is_enzyme` | `boolean` | true when an EC number is assigned. |\n| 47 | `ec_class` | `number` | First digit of the EC number (enzyme class). |\n| 48 | `has_structure` | `boolean` | true when at least one PDB structure exists. |\n| 49 | `has_signal_peptide` | `boolean` | true when a signal peptide is annotated. |\n| 50 | `has_transit_peptide` | `boolean` | true when a transit peptide is annotated. |\n| 51 | `has_disease_association` | `boolean` | true when a disease association is annotated. |\n| 52 | `is_transmembrane` | `boolean` | true when the keyword Transmembrane is present. |\n| 53 | `is_secreted` | `boolean` | true when the location mentions secreted. |\n| 54 | `is_membrane_protein` | `boolean` | true when the location mentions membrane. |\n| 55 | `is_nuclear` | `boolean` | true when the location mentions nucleus. |\n| 56 | `is_mitochondrial` | `boolean` | true when the location mentions mitochondria. |\n| 57 | `has_caution` | `boolean` | true when a caution annotation exists. |\n| 58 | `mass_per_residue_da` | `number` | Mass divided by sequence length. |\n| 59 | `length_band` | `string` | Protein length band (aa). |\n| 60 | `is_reviewed` | `boolean` | true \u2014 the query restricts to reviewed Swiss-Prot entries. |\n\n\n\n---\n\n## \ud83c\udf1f Support & Community\nIf you find this dataset valuable for your research, machine learning projects, or data explorations, **please give it an upvote (\ud83d\udc4d) on Kaggle!**\nFeedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.\n",
6
+ "isPrivate": false,
7
+ "licenses": [
8
+ {
9
+ "name": "CC-BY-4.0"
10
+ }
11
+ ],
12
+ "keywords": [
13
+ "tabular",
14
+ "biology",
15
+ "science"
16
+ ],
17
+ "resources": [
18
+ {
19
+ "path": "human_proteins.csv",
20
+ "description": "Primary dataset file containing 20,429 records across 60 parameters.",
21
+ "schema": {
22
+ "fields": [
23
+ {
24
+ "name": "accession",
25
+ "type": "string",
26
+ "description": "UniProtKB primary accession."
27
+ },
28
+ {
29
+ "name": "entry_name",
30
+ "type": "string",
31
+ "description": "UniProt entry name (e.g. MOTSC_HUMAN)."
32
+ },
33
+ {
34
+ "name": "protein_name",
35
+ "type": "string",
36
+ "description": "Recommended protein name, with synonyms."
37
+ },
38
+ {
39
+ "name": "gene_names",
40
+ "type": "string",
41
+ "description": "Gene name(s) mapped to the entry."
42
+ },
43
+ {
44
+ "name": "organism",
45
+ "type": "string",
46
+ "description": "Source organism (Homo sapiens)."
47
+ },
48
+ {
49
+ "name": "length",
50
+ "type": "number",
51
+ "description": "Protein sequence length in amino acids."
52
+ },
53
+ {
54
+ "name": "mass_da",
55
+ "type": "number",
56
+ "description": "Computed molecular mass in daltons."
57
+ },
58
+ {
59
+ "name": "sequence_version",
60
+ "type": "number",
61
+ "description": "UniProt sequence version."
62
+ },
63
+ {
64
+ "name": "ec_number",
65
+ "type": "string",
66
+ "description": "Enzyme Commission number(s), where assigned."
67
+ },
68
+ {
69
+ "name": "function",
70
+ "type": "string",
71
+ "description": "Curated function annotation (truncated to 2,000 characters)."
72
+ },
73
+ {
74
+ "name": "domains",
75
+ "type": "string",
76
+ "description": "Domain boundaries from the feature table."
77
+ },
78
+ {
79
+ "name": "go_ids",
80
+ "type": "string",
81
+ "description": "Gene Ontology term IDs (semicolon-joined)."
82
+ },
83
+ {
84
+ "name": "keywords",
85
+ "type": "number",
86
+ "description": "UniProt keyword annotations (semicolon-joined)."
87
+ },
88
+ {
89
+ "name": "subcellular_location",
90
+ "type": "string",
91
+ "description": "Curated subcellular location text."
92
+ },
93
+ {
94
+ "name": "involvement_in_disease",
95
+ "type": "string",
96
+ "description": "Disease association text (truncated to 1,500 characters)."
97
+ },
98
+ {
99
+ "name": "pdb_ids",
100
+ "type": "string",
101
+ "description": "PDB structure identifiers."
102
+ },
103
+ {
104
+ "name": "sequence_similarity",
105
+ "type": "string",
106
+ "description": "Sequence similarity family annotation."
107
+ },
108
+ {
109
+ "name": "binding_sites",
110
+ "type": "string",
111
+ "description": "Binding-site features."
112
+ },
113
+ {
114
+ "name": "active_sites",
115
+ "type": "string",
116
+ "description": "Active-site features."
117
+ },
118
+ {
119
+ "name": "sequence",
120
+ "type": "string",
121
+ "description": "Full amino-acid sequence."
122
+ },
123
+ {
124
+ "name": "catalytic_activity",
125
+ "type": "number",
126
+ "description": "Catalytic activity annotation."
127
+ },
128
+ {
129
+ "name": "cofactor",
130
+ "type": "number",
131
+ "description": "Cofactor annotation."
132
+ },
133
+ {
134
+ "name": "subunit",
135
+ "type": "number",
136
+ "description": "Subunit / complex composition."
137
+ },
138
+ {
139
+ "name": "pathway",
140
+ "type": "number",
141
+ "description": "Pathway annotation."
142
+ },
143
+ {
144
+ "name": "pharmaceutical_use",
145
+ "type": "number",
146
+ "description": "Pharmaceutical use annotation."
147
+ },
148
+ {
149
+ "name": "tissue_specificity",
150
+ "type": "number",
151
+ "description": "Tissue expression specificity."
152
+ },
153
+ {
154
+ "name": "signal_peptide",
155
+ "type": "number",
156
+ "description": "Signal peptide feature."
157
+ },
158
+ {
159
+ "name": "transit_peptide",
160
+ "type": "number",
161
+ "description": "Transit peptide feature."
162
+ },
163
+ {
164
+ "name": "chains",
165
+ "type": "number",
166
+ "description": "Chain features."
167
+ },
168
+ {
169
+ "name": "disulfide_bonds",
170
+ "type": "number",
171
+ "description": "Disulfide bond features."
172
+ },
173
+ {
174
+ "name": "variants",
175
+ "type": "number",
176
+ "description": "Natural variant features."
177
+ },
178
+ {
179
+ "name": "modified_residues",
180
+ "type": "number",
181
+ "description": "Post-translational modification features."
182
+ },
183
+ {
184
+ "name": "caution",
185
+ "type": "number",
186
+ "description": "Caution / annotation warning text."
187
+ },
188
+ {
189
+ "name": "gene_count",
190
+ "type": "number",
191
+ "description": "Number of gene names listed."
192
+ },
193
+ {
194
+ "name": "function_length",
195
+ "type": "number",
196
+ "description": "Characters in the function annotation."
197
+ },
198
+ {
199
+ "name": "domain_count",
200
+ "type": "number",
201
+ "description": "Number of domain features."
202
+ },
203
+ {
204
+ "name": "go_term_count",
205
+ "type": "number",
206
+ "description": "Number of GO terms."
207
+ },
208
+ {
209
+ "name": "pdb_structure_count",
210
+ "type": "number",
211
+ "description": "Number of PDB structures."
212
+ },
213
+ {
214
+ "name": "keyword_count",
215
+ "type": "number",
216
+ "description": "Number of UniProt keywords."
217
+ },
218
+ {
219
+ "name": "subcellular_location_count",
220
+ "type": "number",
221
+ "description": "Number of subcellular location terms."
222
+ },
223
+ {
224
+ "name": "binding_site_count",
225
+ "type": "number",
226
+ "description": "Number of binding-site features."
227
+ },
228
+ {
229
+ "name": "active_site_count",
230
+ "type": "number",
231
+ "description": "Number of active-site features."
232
+ },
233
+ {
234
+ "name": "variant_count",
235
+ "type": "number",
236
+ "description": "Number of natural variants."
237
+ },
238
+ {
239
+ "name": "disulfide_count",
240
+ "type": "number",
241
+ "description": "Number of disulfide bonds."
242
+ },
243
+ {
244
+ "name": "modified_residue_count",
245
+ "type": "number",
246
+ "description": "Number of modified residues."
247
+ },
248
+ {
249
+ "name": "is_enzyme",
250
+ "type": "boolean",
251
+ "description": "true when an EC number is assigned."
252
+ },
253
+ {
254
+ "name": "ec_class",
255
+ "type": "number",
256
+ "description": "First digit of the EC number (enzyme class)."
257
+ },
258
+ {
259
+ "name": "has_structure",
260
+ "type": "boolean",
261
+ "description": "true when at least one PDB structure exists."
262
+ },
263
+ {
264
+ "name": "has_signal_peptide",
265
+ "type": "boolean",
266
+ "description": "true when a signal peptide is annotated."
267
+ },
268
+ {
269
+ "name": "has_transit_peptide",
270
+ "type": "boolean",
271
+ "description": "true when a transit peptide is annotated."
272
+ },
273
+ {
274
+ "name": "has_disease_association",
275
+ "type": "boolean",
276
+ "description": "true when a disease association is annotated."
277
+ },
278
+ {
279
+ "name": "is_transmembrane",
280
+ "type": "boolean",
281
+ "description": "true when the keyword Transmembrane is present."
282
+ },
283
+ {
284
+ "name": "is_secreted",
285
+ "type": "boolean",
286
+ "description": "true when the location mentions secreted."
287
+ },
288
+ {
289
+ "name": "is_membrane_protein",
290
+ "type": "boolean",
291
+ "description": "true when the location mentions membrane."
292
+ },
293
+ {
294
+ "name": "is_nuclear",
295
+ "type": "boolean",
296
+ "description": "true when the location mentions nucleus."
297
+ },
298
+ {
299
+ "name": "is_mitochondrial",
300
+ "type": "boolean",
301
+ "description": "true when the location mentions mitochondria."
302
+ },
303
+ {
304
+ "name": "has_caution",
305
+ "type": "boolean",
306
+ "description": "true when a caution annotation exists."
307
+ },
308
+ {
309
+ "name": "mass_per_residue_da",
310
+ "type": "number",
311
+ "description": "Mass divided by sequence length."
312
+ },
313
+ {
314
+ "name": "length_band",
315
+ "type": "string",
316
+ "description": "Protein length band (aa)."
317
+ },
318
+ {
319
+ "name": "is_reviewed",
320
+ "type": "boolean",
321
+ "description": "true \u2014 the query restricts to reviewed Swiss-Prot entries."
322
+ }
323
+ ]
324
+ }
325
+ },
326
+ {
327
+ "path": "data_dictionary.csv",
328
+ "description": "Field-level data dictionary detailing column names, data types, and semantic definitions."
329
+ },
330
+ {
331
+ "path": "notebook.ipynb",
332
+ "description": "Jupyter starter notebook providing exploratory data analysis and baseline visualizations."
333
+ }
334
+ ]
335
+ }
human_proteins.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3df3bde1308d6ea25fa167315b14adf490f1336e614d65cd9a92db50bdadd662
3
+ size 49751641
kernel-metadata.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "samyakrajbayar/human-proteome-analysis",
3
+ "title": "Human Proteome - Reviewed Annotations Analysis",
4
+ "code_file": "notebook.ipynb",
5
+ "language": "python",
6
+ "kernel_type": "notebook",
7
+ "is_private": false,
8
+ "enable_gpu": false,
9
+ "enable_tpu": false,
10
+ "enable_internet": true,
11
+ "dataset_sources": [
12
+ "edudev-commons-org/human-proteome"
13
+ ]
14
+ }
notebook.ipynb ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "id": "aa8c8b39",
6
+ "metadata": {},
7
+ "source": [
8
+ "# Human Proteome — Reviewed Protein Annotations\n",
9
+ "\n",
10
+ "Starter notebook for the Kaggle dataset in this folder. It loads `human_proteins.csv` with pandas and walks through quality checks and a first piece of analysis.\n",
11
+ "\n",
12
+ "**Files:** `human_proteins.csv`, `data_dictionary.csv`."
13
+ ]
14
+ },
15
+ {
16
+ "cell_type": "markdown",
17
+ "id": "0000f7f2",
18
+ "metadata": {},
19
+ "source": [
20
+ "## 1. Load the data"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "id": "9c010911",
26
+ "metadata": {},
27
+ "execution_count": null,
28
+ "outputs": [],
29
+ "source": [
30
+ "import pandas as pd\n",
31
+ "\n",
32
+ "df = pd.read_csv(\"human_proteins.csv\", low_memory=False)\n",
33
+ "print(df.shape)"
34
+ ]
35
+ },
36
+ {
37
+ "cell_type": "markdown",
38
+ "id": "325de123",
39
+ "metadata": {},
40
+ "source": [
41
+ "## 2. Shape, types and missing values"
42
+ ]
43
+ },
44
+ {
45
+ "cell_type": "code",
46
+ "id": "6eb42bc8",
47
+ "metadata": {},
48
+ "execution_count": null,
49
+ "outputs": [],
50
+ "source": [
51
+ "print(f\"{df.shape[0]:,} rows x {df.shape[1]} columns\")\n",
52
+ "\n",
53
+ "missing = df.isna().mean().mul(100).sort_values(ascending=False)\n",
54
+ "missing[missing > 0].round(1).to_frame(\"missing_%\").head(15)"
55
+ ]
56
+ },
57
+ {
58
+ "cell_type": "markdown",
59
+ "id": "f2d963fe",
60
+ "metadata": {},
61
+ "source": [
62
+ "## 3. Numeric summary"
63
+ ]
64
+ },
65
+ {
66
+ "cell_type": "code",
67
+ "id": "aa2f8fd4",
68
+ "metadata": {},
69
+ "execution_count": null,
70
+ "outputs": [],
71
+ "source": [
72
+ "df.describe(include='number').T.round(2).head(20)"
73
+ ]
74
+ },
75
+ {
76
+ "cell_type": "markdown",
77
+ "id": "1196968a",
78
+ "metadata": {},
79
+ "source": [
80
+ "## 4. Length distribution"
81
+ ]
82
+ },
83
+ {
84
+ "cell_type": "code",
85
+ "id": "579626ab",
86
+ "metadata": {},
87
+ "execution_count": null,
88
+ "outputs": [],
89
+ "source": [
90
+ "df[\"length\"].dropna().clip(upper=3000).hist(bins=60, figsize=(9, 4))"
91
+ ]
92
+ },
93
+ {
94
+ "cell_type": "markdown",
95
+ "id": "3836ccfa",
96
+ "metadata": {},
97
+ "source": [
98
+ "## 5. Enzymes by EC class"
99
+ ]
100
+ },
101
+ {
102
+ "cell_type": "code",
103
+ "id": "3f59ac0f",
104
+ "metadata": {},
105
+ "execution_count": null,
106
+ "outputs": [],
107
+ "source": [
108
+ "df[\"ec_class\"].value_counts().sort_index().to_frame(\"proteins\")"
109
+ ]
110
+ },
111
+ {
112
+ "cell_type": "markdown",
113
+ "id": "730ea8f4",
114
+ "metadata": {},
115
+ "source": [
116
+ "## 6. Localisation flags"
117
+ ]
118
+ },
119
+ {
120
+ "cell_type": "code",
121
+ "id": "8f633efd",
122
+ "metadata": {},
123
+ "execution_count": null,
124
+ "outputs": [],
125
+ "source": [
126
+ "for c in [\"is_secreted\", \"is_membrane_protein\", \"is_nuclear\", \"is_mitochondrial\"]:\n",
127
+ " print(c, round((df[c].astype(str).str.lower() == \"true\").mean() * 100, 1), \"%\")"
128
+ ]
129
+ },
130
+ {
131
+ "cell_type": "markdown",
132
+ "id": "2bbbb810",
133
+ "metadata": {},
134
+ "source": [
135
+ "## 7. Structure coverage"
136
+ ]
137
+ },
138
+ {
139
+ "cell_type": "code",
140
+ "id": "920dcdf1",
141
+ "metadata": {},
142
+ "execution_count": null,
143
+ "outputs": [],
144
+ "source": [
145
+ "df[\"has_structure\"].value_counts(normalize=True).mul(100).round(1)"
146
+ ]
147
+ },
148
+ {
149
+ "cell_type": "markdown",
150
+ "id": "690d1dd5",
151
+ "metadata": {},
152
+ "source": [
153
+ "## 8. Annotation richness"
154
+ ]
155
+ },
156
+ {
157
+ "cell_type": "code",
158
+ "id": "7985111d",
159
+ "metadata": {},
160
+ "execution_count": null,
161
+ "outputs": [],
162
+ "source": [
163
+ "df[[\"function_length\", \"domain_count\", \"go_term_count\", \"variant_count\"]].describe().T.round(2)"
164
+ ]
165
+ },
166
+ {
167
+ "cell_type": "markdown",
168
+ "id": "6e43770c",
169
+ "metadata": {},
170
+ "source": [
171
+ "## Next steps\n",
172
+ "\n",
173
+ "See `KAGGLE.md` for analysis ideas, caveats and provenance."
174
+ ]
175
+ }
176
+ ],
177
+ "metadata": {
178
+ "kernelspec": {
179
+ "display_name": "Python 3",
180
+ "language": "python",
181
+ "name": "python3"
182
+ },
183
+ "language_info": {
184
+ "name": "python",
185
+ "version": "3.11",
186
+ "mimetype": "text/x-python",
187
+ "file_extension": ".py",
188
+ "codemirror_mode": {
189
+ "name": "ipython",
190
+ "version": 3
191
+ },
192
+ "pygments_lexer": "ipython3",
193
+ "nbconvert_exporter": "python"
194
+ }
195
+ },
196
+ "nbformat": 4,
197
+ "nbformat_minor": 5
198
+ }