History of human_interactome_2014
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/human_interactome_2014/__init__.py b/entries/human_interactome_2014/__init__.py
index cad0e5d..174c227 100644
--- a/entries/human_interactome_2014/__init__.py
+++ b/entries/human_interactome_2014/__init__.py
@@ -33,7 +33,7 @@ Other data sets of the CCSB Interactome Database are in the entries `interactome
tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
url = 'https://web.archive.org/web/20150222022503/http://interactome.dfci.harvard.edu/H_sapiens/index.php?page=download'
citation = [('T. Rolland, M. Taşan, B. Charloteaux, S. J. Pevzner, Q. Zhong, N. Sahni, et al., "A proteome-scale map of the human interactome network." Cell 159(5), 1212-1226 (2014)', 'https://doi.org/10.1016/j.cell.2014.10.050')]
-icon_hash = '56a85c8e26855e083a2f794c'
+date_added = '2026-10-25'
upstream_license = None
# The CCSB site is offline; the files are obtained from the Internet Archive.
upstream_prefix = 'https://web.archive.org/web/2014id_/http://interactome.dfci.harvard.edu:80/H_sapiens/download'
[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/human_interactome_2014/__init__.py b/entries/human_interactome_2014/__init__.py
index 83a3857..cad0e5d 100644
--- a/entries/human_interactome_2014/__init__.py
+++ b/entries/human_interactome_2014/__init__.py
@@ -26,8 +26,8 @@ description = """Networks of interactions between human proteins from the proteo
The networks have the following properties:
-- `entrez_id`: the Entrez Gene ID.
-- `name`: the HGNC gene symbol.
+- (Node) `entrez_id`: the Entrez Gene ID.
+- (Node) `name`: the HGNC gene symbol.
Other data sets of the CCSB Interactome Database are in the entries `interactome_vidal` (the earlier human binary map CCSB-HI1/HI-I-05), `yeast_interactome_ccsb` (the yeast binary Y2H maps CCSB-YI1, Ito core and Uetz screen, and literature-curated and gold-standard reference sets), `collins_yeast` (the yeast co-complex associations of Collins et al.) and `celegans_interactomes` (the *C. elegans* interactome networks)."""
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/human_interactome_2014/__init__.py b/entries/human_interactome_2014/__init__.py
index a6db018..83a3857 100644
--- a/entries/human_interactome_2014/__init__.py
+++ b/entries/human_interactome_2014/__init__.py
@@ -51,7 +51,6 @@ def fetch_upstream(force=False):
@coerce_props(vforce={'name': 'string'})
@annotate()
def parse(alts=None):
- global files
name = __name__.split(".")[-1]
for fname, alt, fmt in files:
if alts is not None and alt not in alts:
[entries] New entry: human_interactome_2014 a0af83f
diff --git a/entries/human_interactome_2014/__init__.py b/entries/human_interactome_2014/__init__.py
new file mode 100644
index 0000000..a6db018
--- /dev/null
+++ b/entries/human_interactome_2014/__init__.py
@@ -0,0 +1,72 @@
+#! /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 interactome HI-II-14 and Lit-BM-13 (2014)"
+description = """Networks of interactions between human proteins from the proteome-scale map of the human binary interactome of Rolland et al. (2014), from the Center for Cancer Systems Biology (CCSB) at the Dana-Farber Cancer Institute. In both networks, nodes are proteins (identified by the genes that encode them), and an undirected edge represents a binary (direct) protein-protein interaction. Self-loops are proteins that interact with themselves.
+
+- `HI-II-14`: the binary interactions detected by a systematic high-throughput yeast two-hybrid (Y2H) screen of the pairwise combinations of the products of about 13,000 protein-coding genes ("Space II" of the human ORFeome), each screened twice and verified by pairwise retesting (13,944 interactions among 4,303 proteins).
+- `Lit-BM-13`: binary interactions curated from the literature, supported by at least two pieces of evidence (multiple publications or methods), assembled by the authors for comparison with the systematic map (11,045 interactions among 5,545 proteins).
+
+The networks have the following properties:
+
+- `entrez_id`: the Entrez Gene ID.
+- `name`: the HGNC gene symbol.
+
+Other data sets of the CCSB Interactome Database are in the entries `interactome_vidal` (the earlier human binary map CCSB-HI1/HI-I-05), `yeast_interactome_ccsb` (the yeast binary Y2H maps CCSB-YI1, Ito core and Uetz screen, and literature-curated and gold-standard reference sets), `collins_yeast` (the yeast co-complex associations of Collins et al.) and `celegans_interactomes` (the *C. elegans* interactome networks)."""
+tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
+url = 'https://web.archive.org/web/20150222022503/http://interactome.dfci.harvard.edu/H_sapiens/index.php?page=download'
+citation = [('T. Rolland, M. Taşan, B. Charloteaux, S. J. Pevzner, Q. Zhong, N. Sahni, et al., "A proteome-scale map of the human interactome network." Cell 159(5), 1212-1226 (2014)', 'https://doi.org/10.1016/j.cell.2014.10.050')]
+icon_hash = '56a85c8e26855e083a2f794c'
+upstream_license = None
+# The CCSB site is offline; the files are obtained from the Internet Archive.
+upstream_prefix = 'https://web.archive.org/web/2014id_/http://interactome.dfci.harvard.edu:80/H_sapiens/download'
+files = [('HI-II-14.tsv', 'HI-II-14', None),
+ ('Lit-BM-13.tsv', 'Lit-BM-13', None)]
+archived_urls = {
+ 'HI-II-14.tsv': 'https://web.archive.org/web/20141108180522id_/http://interactome.dfci.harvard.edu:80/H_sapiens/download/HI-II-14.tsv',
+ 'Lit-BM-13.tsv': 'https://web.archive.org/web/20141108200923id_/http://interactome.dfci.harvard.edu:80/H_sapiens/download/Lit-BM-13.tsv'}
+
+def fetch_upstream(force=False):
+ return fetch_archived_files(__name__.split(".")[-1], archived_urls, force,
+ tries=4)
+
+@cache_network()
+@coerce_props(vforce={'name': 'string'})
+@annotate()
+def parse(alts=None):
+ global files
+ name = __name__.split(".")[-1]
+ for fname, alt, fmt in files:
+ if alts is not None and alt not in alts:
+ continue
+ # Columns: Entrez Gene ID A, Symbol A, Entrez Gene ID B, Symbol B
+ with open_upstream_file(name, fname, "r") as f:
+ rows = [l.rstrip("\r\n").split("\t") for l in f][1:]
+ rows = [r for r in rows if len(r) >= 4]
+ symbols = {}
+ for r in rows:
+ symbols[int(r[0])] = r[1]
+ symbols[int(r[2])] = r[3]
+ g = Graph(directed=False)
+ g.vp.entrez_id = g.add_edge_list(numpy.array([(int(r[0]), int(r[2])) for r in rows], dtype="int64"),
+ hashed=True)
+ g.vp.name = g.new_vp("string", vals=[symbols[g.vp.entrez_id[v]]
+ for v in g.vertices()])
+ yield alt, g