History of kinophosphatome
The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.
[entries] Add the date when each entry was added, and remove icon_hash beff7c9
The dates are those of the commits that first added the entries' files (2020-08-11 for the entries of the initial commit); renamed entries keep the date of their first name. Changed: none
diff --git a/entries/kinophosphatome/__init__.py b/entries/kinophosphatome/__init__.py
index bb5e814..bc19ca6 100644
--- a/entries/kinophosphatome/__init__.py
+++ b/entries/kinophosphatome/__init__.py
@@ -35,7 +35,7 @@ The networks have the following properties:
tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
url = 'https://doi.org/10.1093/bioinformatics/btp517'
citation = [('G. Scardoni, M. Petterlini, C. Laudanna, "Analyzing biological network parameters with CentiScaPe." Bioinformatics 25(21), 2857-2859 (2009)', 'https://doi.org/10.1093/bioinformatics/btp517')]
-icon_hash = '5da4f8e948da354f03d1945e'
+date_added = '2026-10-25'
upstream_license = None
# Supplementary data of the article, from the Internet Archive (the
# publisher's site refuses automated downloads)
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) bc3dbbd
The lists of properties at the end of the descriptions marked edge properties with "Edge" but left node properties unmarked, or grouped them in "Nodes: `a`, ...; `b`, ..." items, so the kind of a property was often unclear. Every item now starts with (Node), (Edge) or (Graph), followed by the property names, a colon and the explanation, one item per property or group of properties; qualifications (kinds of nodes, networks) follow the names in parentheses. Properties that were only named got a short explanation, and a few items that named the wrong kind of property were corrected.
diff --git a/entries/kinophosphatome/__init__.py b/entries/kinophosphatome/__init__.py
index d743d22..bb5e814 100644
--- a/entries/kinophosphatome/__init__.py
+++ b/entries/kinophosphatome/__init__.py
@@ -28,7 +28,8 @@ The kino-phosphatome network analyzed in the article, with 549 proteins (406 kin
The networks have the following properties:
-- Nodes: `name`, the HGNC symbol of the gene encoding the protein; `kind`, `kinase` or `phosphatase` for the 549 proteins of the kino-phosphatome network (Table S4 of the article), empty otherwise (LMTK2, which is marked both as a kinase and as a phosphatase in the table, is given as a phosphatase, consistent with the counts of the article).[^icon]
+- (Node) `name`: the HGNC symbol of the gene encoding the protein.
+- (Node) `kind`: `kinase` or `phosphatase` for the 549 proteins of the kino-phosphatome network (Table S4 of the article), empty otherwise (LMTK2, which is marked both as a kinase and as a phosphatase in the table, is given as a phosphatase, consistent with the counts of the article).[^icon]
[^icon]: Description obtained in part from the [ICON](https://icon.colorado.edu) project."""
tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
[entries] Remove unneeded code from the entries 2c69f19
Unneeded "global files" statements, unused imports and variables, f-strings without placeholders, duplicate keys in foodweb_little_rock (keeping the order and the values used), and the second definition of get_lines() in twitter_higgs. Nothing changes in the networks or descriptions. Changed: none
diff --git a/entries/kinophosphatome/__init__.py b/entries/kinophosphatome/__init__.py
index e6339e3..d743d22 100644
--- a/entries/kinophosphatome/__init__.py
+++ b/entries/kinophosphatome/__init__.py
@@ -57,7 +57,6 @@ def fetch_upstream(force=False):
@coerce_props()
@annotate()
def parse(alts=None):
- global files
name = __name__.split(".")[-1]
for fnames, alt, fmt in files:
if alts is not None and alt not in alts:
[entries] New entry: kinophosphatome 3043ec7
diff --git a/entries/kinophosphatome/__init__.py b/entries/kinophosphatome/__init__.py
new file mode 100644
index 0000000..e6339e3
--- /dev/null
+++ b/entries/kinophosphatome/__init__.py
@@ -0,0 +1,91 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Affero General Public License along
+# with this program. If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+
+title = "Human protein interactome and kino-phosphatome (2009)"
+description = """Networks of interactions among human proteins, from the supplementary data of the article by G. Scardoni, M. Petterlini and C. Laudanna introducing CentiScaPe, a Cytoscape plugin for computing node centralities. Nodes represent human proteins (identified by their HGNC gene symbols), and an undirected edge means that the two proteins are known to interact, according to the public protein interaction databases HPRD, BIND, DIP, IntAct, MINT and BioGRID, from which the data were compiled. There are two networks:
+
+- `global`: the global human protein interactome compiled by the authors (the file `GLOBAL-HGNC.sif`), with 11,120 proteins and 84,776 interactions, including 2,500 self-interactions.
+- `kinophosphatome_core`: a sub-network of the human kino-phosphatome, i.e. of the network of interactions among human protein kinases and phosphatases, containing the 97 proteins (82 kinases and 15 phosphatases) whose values of all the centralities computed by CentiScaPe (degree, betweenness, closeness, eccentricity, radiality, stress and centroid value) are above the average of the kino-phosphatome network, and the 962 interactions among them.
+
+The kino-phosphatome network analyzed in the article, with 549 proteins (406 kinases and 143 phosphatases, listed in its Table S4) and 3,844 interactions, is not included in the supplementary data; it can be approximated as the sub-network of the global interactome induced by the proteins marked as kinases or phosphatases, but that sub-network has 3,777 interactions (including 244 self-interactions), and 6 of the 549 proteins do not occur in the global interactome.
+
+The networks have the following properties:
+
+- Nodes: `name`, the HGNC symbol of the gene encoding the protein; `kind`, `kinase` or `phosphatase` for the 549 proteins of the kino-phosphatome network (Table S4 of the article), empty otherwise (LMTK2, which is marked both as a kinase and as a phosphatase in the table, is given as a phosphatase, consistent with the counts of the article).[^icon]
+
+[^icon]: Description obtained in part from the [ICON](https://icon.colorado.edu) project."""
+tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
+url = 'https://doi.org/10.1093/bioinformatics/btp517'
+citation = [('G. Scardoni, M. Petterlini, C. Laudanna, "Analyzing biological network parameters with CentiScaPe." Bioinformatics 25(21), 2857-2859 (2009)', 'https://doi.org/10.1093/bioinformatics/btp517')]
+icon_hash = '5da4f8e948da354f03d1945e'
+upstream_license = None
+# Supplementary data of the article, from the Internet Archive (the
+# publisher's site refuses automated downloads)
+archived_urls = {
+ "btp517_Supplementary_Data.zip": "https://web.archive.org/web/20220420053608id_/https://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/bioinformatics/25/21/10.1093_bioinformatics_btp517/2/btp517_Supplementary_Data.zip?Expires=1653456961&Signature=Q9WeFfQ6p0n8FHVZlVQk0nZY6tVSDyygK~C36-xx3IDhszlAEJ7l~pLdXz2N9WgXa45gt-qGrwlt8aKa~pfLTBYmSwiRtdGGpXsDs4QBj8os8cD8jLFRfRhfjtVy8D3cYpPln3I4bB6PXqw0PNoRrLxvB3FhXqhjEBJsf5LZRuAiDsBjRTm-FXJ9IPqfGhSRnzhQ8iFyA78IZnbdbSP0P2R5zDqRoHh6Ewgai6UieGC614Lev5w8IWp2Wn550WSIY92jxF~qgd4u~rxeuGOELbWcB7M2TbOZivykeJ7hkLdKw62L5BEn0ueICF2wIXc2qm9e0R2kr8PrF1gFCCvCYQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA"
+}
+upstream_prefix = None
+files = [(("btp517_Supplementary_Data.zip:bioinf-2009-0193-File021.sif",
+ "btp517_Supplementary_Data.zip:bioinf-2009-0193-File013.xls"),
+ "global", None),
+ (("btp517_Supplementary_Data.zip:bioinf-2009-0193-File020.sif",
+ "btp517_Supplementary_Data.zip:bioinf-2009-0193-File013.xls"),
+ "kinophosphatome_core", None)]
+
+def fetch_upstream(force=False):
+ return fetch_archived_files(__name__.split(".")[-1], archived_urls,
+ force=force, tries=6)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+ global files
+ name = __name__.split(".")[-1]
+ for fnames, alt, fmt in files:
+ if alts is not None and alt not in alts:
+ continue
+
+ # Table S4: kinases and phosphatases of the kino-phosphatome network
+ with open_upstream_file(name, fnames[1], "rb") as f:
+ rows = list(read_xls(f).values())[0]
+ assert rows[0][0].startswith("Table S4")
+ kind = {}
+ for r in rows[1:]:
+ if not r[0]:
+ continue
+ k = cell_str(r[1]) or cell_str(r[2])
+ kind[cell_str(r[0])] = {"protein kinase": "kinase",
+ "phosphatase": "phosphatase"}[k]
+
+ with open_upstream_file(name, fnames[0], "r") as f:
+ edges = []
+ for line in f:
+ line = line.split()
+ if not line:
+ continue
+ assert len(line) == 3 and line[1] == "pp"
+ edges.append((line[0], line[2]))
+ g = Graph(directed=False)
+ g.vp.name = g.add_edge_list(edges, hashed=True, hash_type="string")
+ g.vp.kind = g.new_vp("string")
+ for v in g.vertices():
+ g.vp.kind[v] = kind.get(g.vp.name[v], "")
+ yield alt, g