DOI: 10.5281/zenodo.8135208
title: PFAM Protein Families Dataset for Machine Learning

description: A cleaned dataset of protein sequences and protein families for classification. The dataset is exported from PFAM as of June 2023 and curated to achieve the following characteristics: only protein families included with &gt;=100 sequences families with &gt;2000 sequences are truncated and only represented by 2000 sequences (chosen randomly) only proteins with sequence lengths between 100 and 1000 amino acid sequences are form PDB; chains are concatenated only if not similar The dataset is not balanced, numbers of sequences per family in PFAM and in in dataset are: <pre><code>families: 62, sequences: 46872 total (in PFAM) -&gt; included (in dataset) Number in family ALLERGEN: 122 -&gt; 122 Number in family APOPTOSIS: 381 -&gt; 381 Number in family BIOSYNTHETIC PROTEIN: 346 -&gt; 346 Number in family BIOTIN BINDING PROTEIN: 165 -&gt; 165 Number in family BLOOD CLOTTING: 138 -&gt; 138 Number in family CALCIUM BINDING PROTEIN: 135 -&gt; 135 Number in family CELL ADHESION: 1116 -&gt; 1116 Number in family CELL CYCLE: 511 -&gt; 511 Number in family CHAPERONE: 964 -&gt; 964 Number in family CONTRACTILE PROTEIN: 158 -&gt; 158 Number in family CYTOKINE: 191 -&gt; 191 Number in family DE NOVO PROTEIN: 253 -&gt; 253 Number in family DNA BINDING PROTEIN: 1008 -&gt; 1008 Number in family ELECTRON TRANSPORT: 841 -&gt; 841 Number in family FLUORESCENT PROTEIN: 348 -&gt; 348 Number in family GENE REGULATION: 607 -&gt; 607 Number in family HORMONE: 272 -&gt; 272 Number in family HORMONE GROWTH FACTOR: 159 -&gt; 159 Number in family HORMONE RECEPTOR: 121 -&gt; 121 Number in family HYDROLASE: 19551 -&gt; 2000 Number in family HYDROLASE ANTIBIOTIC: 120 -&gt; 120 Number in family HYDROLASE HYDROLASE INHIBITOR: 2890 -&gt; 2000 Number in family HYDROLASE INHIBITOR: 315 -&gt; 315 Number in family IMMUNE SYSTEM: 3333 -&gt; 2000 Number in family IMMUNOGLOBULIN: 155 -&gt; 155 Number in family ISOMERASE: 2457 -&gt; 2000 Number in family ISOMERASE ISOMERASE INHIBITOR: 139 -&gt; 139 Number in family LECTIN: 139 -&gt; 139 Number in family LIGASE: 1780 -&gt; 1780 Number in family LIGASE LIGASE INHIBITOR: 163 -&gt; 163 Number in family LIPID BINDING PROTEIN: 421 -&gt; 421 Number in family LIPID TRANSPORT: 115 -&gt; 115 Number in family LUMINESCENT PROTEIN: 221 -&gt; 221 Number in family LYASE: 4150 -&gt; 2000 Number in family LYASE LYASE INHIBITOR: 298 -&gt; 298 Number in family MEMBRANE PROTEIN: 1338 -&gt; 1338 Number in family METAL BINDING PROTEIN: 951 -&gt; 951 Number in family METAL TRANSPORT: 409 -&gt; 409 Number in family MOTOR PROTEIN: 195 -&gt; 195 Number in family OXIDOREDUCTASE: 11531 -&gt; 2000 Number in family OXIDOREDUCTASE OXIDOREDUCTASE INHIBITOR: 766 -&gt; 766 Number in family OXYGEN STORAGE: 127 -&gt; 127 Number in family OXYGEN STORAGE TRANSPORT: 260 -&gt; 260 Number in family OXYGEN TRANSPORT: 414 -&gt; 414 Number in family PHOTOSYNTHESIS: 173 -&gt; 173 Number in family PLANT PROTEIN: 255 -&gt; 255 Number in family PROTEIN BINDING: 1613 -&gt; 1613 Number in family PROTEIN TRANSPORT: 693 -&gt; 693 Number in family RECEPTOR: 108 -&gt; 108 Number in family REPLICATION: 161 -&gt; 161 Number in family RNA BINDING PROTEIN: 546 -&gt; 546 Number in family SIGNALING PROTEIN: 2312 -&gt; 2000 Number in family STRUCTURAL PROTEIN: 869 -&gt; 869 Number in family SUGAR BINDING PROTEIN: 1250 -&gt; 1250 Number in family TOXIN: 546 -&gt; 546 Number in family TRANSCRIPTION REGULATION: 3283 -&gt; 2000 Number in family TRANSFERASE: 14724 -&gt; 2000 Number in family TRANSFERASE INHIBITOR: 126 -&gt; 126 Number in family TRANSFERASE TRANSFERASE INHIBITOR: 2465 -&gt; 2000 Number in family TRANSLATION: 370 -&gt; 370 Number in family TRANSPORT PROTEIN: 2782 -&gt; 2000 Number in family VIRAL PROTEIN: 2150 -&gt; 2000</code></pre> Files: families.csv: list of protein families with frequencies pfam_46872x62.csv: full dataset with amino acid sequences as string (one-letter code) pfam-trn-xy.csv: training dataset with amino acid sequences as tokens (1..25) and padded to a common length of 1000 with padding token 26 (to ensure zero-padding, it might be necessary to change token 26-&gt;0): <pre><code> Amino acid | Token | Description -------------------------------- C | 1 | Cysteine S | 2 | Serine T | 3 | Threonine A | 4 | Alanine G | 5 | Glycine P | 6 | Proline D | 7 | Aspartic acid E | 8 | Glutamic acid Q | 9 | Glutamine N | 10 | Asparagine H | 11 | Histidine R | 12 | Arginine K | 13 | Lysine M | 14 | Methionine I | 15 | Isoleucine L | 16 | Leucine V | 17 | Valine W | 18 | Tryptophan Y | 19 | Tyrosine F | 20 | Phenylalanine B | 21 | Aspartic acid or Asparagine Z | 22 | Glutamic acid or Glutamine J | 23 | Leucine or Isoleucine U | 24 | Selenocysteine X | 25 | Unknown amino acid . | 26 | padding token</code></pre> pfam-trn-labels.csv: plain-text labels for training data pfam-tst-xy.csv pfam-tst-labels.csv: test data pfam-balanced-trn-xy.csv pfam-balanced-trn-labels.csv: pfam-balanced-tst-xy.csv pfam-balanced-tst-labels.csv: balanced datasets, created by oversampling.
description: {"references": ["Pfam: The protein families database in 2021 J. Mistry, S. Chuguransky, L. Williams, M. Qureshi, G.A. Salazar, E.L.L. Sonnhammer, S.C.E. Tosatto, L. Paladin, S. Raj, L.J. Richardson, R.D. Finn, A. Bateman Nucleic Acids Research (2020) doi: 10.1093/nar/gkaa913"]}