logo Netzschleuder network catalog, repository, and centrifuge

History of hint_interactomes

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 by Tiago de Paula Peixoto 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/hint_interactomes/__init__.py b/entries/hint_interactomes/__init__.py
index e83e332..282192c 100644
--- a/entries/hint_interactomes/__init__.py
+++ b/entries/hint_interactomes/__init__.py
@@ -39,7 +39,7 @@ The networks have the following properties:
 tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
 url = 'https://hint.yulab.org/download'
 citation = [('J. Das, H. Yu, "HINT: High-quality protein interactomes and their applications in understanding human disease." BMC Systems Biology 6, 92 (2012)', 'https://doi.org/10.1186/1752-0509-6-92')]
-icon_hash = '56a85c8e26855e083a2f794d'
+date_added = '2026-10-25'
 upstream_license = None
 upstream_prefix = 'https://hint.yulab.org/download-raw/2026-07'
 species = {'human': 'HomoSapiens', 'mouse': 'MusMusculus',
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) by Tiago de Paula Peixoto 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/hint_interactomes/__init__.py b/entries/hint_interactomes/__init__.py
index 584a1ef..e83e332 100644
--- a/entries/hint_interactomes/__init__.py
+++ b/entries/hint_interactomes/__init__.py
@@ -31,11 +31,11 @@ The organisms are: `human` (*Homo sapiens*), `mouse` (*Mus musculus*), `rat` (*R
 
 The networks have the following properties:
 
-- `name`: the UniProt accession of the protein.
-- `gene`: the gene name (empty if not available).
-- `evidence` (edges): the supporting evidence, a list separated by "|" of entries "PubMed ID:PSI-MI method code:HT or LC:binary or co-complex".
-- `in_pdb` (edges): whether the interaction is supported by a structure in the Protein Data Bank.
-- `pdb_ids` (edges): the PDB structures and chains supporting the interaction (empty if none)."""
+- (Node) `name`: the UniProt accession of the protein.
+- (Node) `gene`: the gene name (empty if not available).
+- (Edge) `evidence` (edges): the supporting evidence, a list separated by "|" of entries "PubMed ID:PSI-MI method code:HT or LC:binary or co-complex".
+- (Edge) `in_pdb` (edges): whether the interaction is supported by a structure in the Protein Data Bank.
+- (Edge) `pdb_ids` (edges): the PDB structures and chains supporting the interaction (empty if none)."""
 tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
 url = 'https://hint.yulab.org/download'
 citation = [('J. Das, H. Yu, "HINT: High-quality protein interactomes and their applications in understanding human disease." BMC Systems Biology 6, 92 (2012)', 'https://doi.org/10.1186/1752-0509-6-92')]
[entries] Remove unneeded code from the entries by Tiago de Paula Peixoto 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/hint_interactomes/__init__.py b/entries/hint_interactomes/__init__.py
index 7a7b890..584a1ef 100644
--- a/entries/hint_interactomes/__init__.py
+++ b/entries/hint_interactomes/__init__.py
@@ -61,7 +61,6 @@ def fetch_upstream(force=False):
 @coerce_props()
 @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: hint_interactomes by Tiago de Paula Peixoto 1ddda28
diff --git a/entries/hint_interactomes/__init__.py b/entries/hint_interactomes/__init__.py
new file mode 100644
index 0000000..7a7b890
--- /dev/null
+++ b/entries/hint_interactomes/__init__.py
@@ -0,0 +1,90 @@
+#! /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 *
+import csv
+
+title = "HINT high-quality protein interactomes (2026)"
+description = """Networks of high-quality protein-protein interactions of ten organisms, from HINT (High-quality INTeractomes), a database of the Yu lab (Cornell University) that compiles interactions from several public databases and filters them for quality. An interaction is included if it was found in a high-throughput (HT) study that validated its screen with orthogonal assays (studies are inspected manually), or if it was reported by at least two independent small-scale, literature-curated (LC) publications. Post-translational modifications are not considered interactions. This is the HINT release of July 2026.
+
+For each organism there are two networks. In both, nodes are proteins (UniProt entries), and an undirected edge connects two proteins that interact:
+
+- `<organism>_binary`: binary interactions, i.e. direct physical contacts between two proteins (e.g. from yeast two-hybrid assays).
+- `<organism>_cocomplex`: co-complex associations, i.e. two proteins found in the same protein complex (e.g. by affinity purification followed by mass spectrometry), which need not be in direct contact. Not available for rice.
+
+The organisms are: `human` (*Homo sapiens*), `mouse` (*Mus musculus*), `rat` (*Rattus norvegicus*), `fly` (*Drosophila melanogaster*), `worm` (*Caenorhabditis elegans*), `yeast` (*Saccharomyces cerevisiae*), `fission_yeast` (*Schizosaccharomyces pombe*), `arabidopsis` (*Arabidopsis thaliana*), `rice` (*Oryza sativa*) and `ecoli` (*Escherichia coli*). Self-loops are proteins that interact with themselves (homodimers).
+
+The networks have the following properties:
+
+- `name`: the UniProt accession of the protein.
+- `gene`: the gene name (empty if not available).
+- `evidence` (edges): the supporting evidence, a list separated by "|" of entries "PubMed ID:PSI-MI method code:HT or LC:binary or co-complex".
+- `in_pdb` (edges): whether the interaction is supported by a structure in the Protein Data Bank.
+- `pdb_ids` (edges): the PDB structures and chains supporting the interaction (empty if none)."""
+tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
+url = 'https://hint.yulab.org/download'
+citation = [('J. Das, H. Yu, "HINT: High-quality protein interactomes and their applications in understanding human disease." BMC Systems Biology 6, 92 (2012)', 'https://doi.org/10.1186/1752-0509-6-92')]
+icon_hash = '56a85c8e26855e083a2f794d'
+upstream_license = None
+upstream_prefix = 'https://hint.yulab.org/download-raw/2026-07'
+species = {'human': 'HomoSapiens', 'mouse': 'MusMusculus',
+           'rat': 'RattusNorvegicus', 'fly': 'DrosophilaMelanogaster',
+           'worm': 'CaenorhabditisElegans', 'yeast': 'SaccharomycesCerevisiae',
+           'fission_yeast': 'SchizosaccharomycesPombe',
+           'arabidopsis': 'ArabidopsisThaliana', 'rice': 'OryzaSativa',
+           'ecoli': 'EscherichiaColi'}
+files = [(f'{s}_{k}_hq.txt', f'{alt}_{kind}', None)
+         for alt, s in species.items()
+         for k, kind in [('binary', 'binary'), ('cocomp', 'cocomplex')]
+         if not (alt == 'rice' and k == 'cocomp')]
+
+def fetch_upstream(force=False):
+    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+                                force)
+
+@cache_network()
+@coerce_props()
+@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
+        with open_upstream_file(name, fname, "r") as f:
+            reader = csv.reader(f, delimiter="\t")
+            header = next(reader)
+            assert header[:5] == ["Uniprot_A", "Uniprot_B", "Gene_A", "Gene_B",
+                                  "pmid:method:quality:type"]
+            rows = list(reader)
+        genes = {}
+        for r in rows:
+            genes[r[0]] = r[2]
+            genes[r[1]] = r[3]
+        g = Graph(directed=False)
+        g.ep.evidence = g.new_ep("string")
+        g.ep.in_pdb = g.new_ep("bool")
+        g.ep.pdb_ids = g.new_ep("string")
+        g.vp.name = g.add_edge_list(((r[0], r[1], r[4], r[7] == "True", r[8])
+                                     for r in rows),
+                                    hashed=True, hash_type="string",
+                                    eprops=[g.ep.evidence, g.ep.in_pdb,
+                                            g.ep.pdb_ids])
+        g.vp.gene = g.new_vp("string", vals=[genes[g.vp.name[v]]
+                                              for v in g.vertices()])
+        yield alt, g