logo Netzschleuder network catalog, repository, and centrifuge

History of arabidopsis_interactome

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/arabidopsis_interactome/__init__.py b/entries/arabidopsis_interactome/__init__.py
index f61e94e..4ebcbda 100644
--- a/entries/arabidopsis_interactome/__init__.py
+++ b/entries/arabidopsis_interactome/__init__.py
@@ -32,7 +32,7 @@ The network has the following properties:
 tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
 url = 'https://web.archive.org/web/20150115212311/http://interactome.dfci.harvard.edu/A_thaliana/index.php?page=download'
 citation = [('Arabidopsis Interactome Mapping Consortium, "Evidence for network evolution in an Arabidopsis interactome map." Science 333(6042), 601-607 (2011)', 'https://doi.org/10.1126/science.1203877')]
-icon_hash = '56a85c8e26855e083a2f7949'
+date_added = '2026-10-25'
 upstream_license = None
 # The CCSB site is offline; the file is obtained from the Internet Archive.
 upstream_prefix = 'https://web.archive.org/web/2014id_/http://interactome.dfci.harvard.edu/A_thaliana/doc'
[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/arabidopsis_interactome/__init__.py b/entries/arabidopsis_interactome/__init__.py
index a0462ab..f61e94e 100644
--- a/entries/arabidopsis_interactome/__init__.py
+++ b/entries/arabidopsis_interactome/__init__.py
@@ -23,12 +23,12 @@ description = """A network of protein-protein interactions of the plant *Arabido
 
 The network has the following properties:
 
-- `name`: the AGI locus of the protein (e.g. "AT1G05410").
-- `main_screen` (edges): whether the interaction was found in the main AI-1 Y2H screen (AI1_M).
-- `repeat_screen` (edges): whether the interaction was found in the repeat of the Y2H screen (AI1_R).
-- `lci` (edges): whether the interaction is reported in the literature, from the curated interaction databases.
-- `lci_binary` (edges): whether the literature-curated interaction is binary (direct).
-- `lci_core` (edges): whether the binary literature-curated interaction is supported by at least two publications or two experimental methods."""
+- (Node) `name`: the AGI locus of the protein (e.g. "AT1G05410").
+- (Edge) `main_screen` (edges): whether the interaction was found in the main AI-1 Y2H screen (AI1_M).
+- (Edge) `repeat_screen` (edges): whether the interaction was found in the repeat of the Y2H screen (AI1_R).
+- (Edge) `lci` (edges): whether the interaction is reported in the literature, from the curated interaction databases.
+- (Edge) `lci_binary` (edges): whether the literature-curated interaction is binary (direct).
+- (Edge) `lci_core` (edges): whether the binary literature-curated interaction is supported by at least two publications or two experimental methods."""
 tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
 url = 'https://web.archive.org/web/20150115212311/http://interactome.dfci.harvard.edu/A_thaliana/index.php?page=download'
 citation = [('Arabidopsis Interactome Mapping Consortium, "Evidence for network evolution in an Arabidopsis interactome map." Science 333(6042), 601-607 (2011)', 'https://doi.org/10.1126/science.1203877')]
[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/arabidopsis_interactome/__init__.py b/entries/arabidopsis_interactome/__init__.py
index 7001239..a0462ab 100644
--- a/entries/arabidopsis_interactome/__init__.py
+++ b/entries/arabidopsis_interactome/__init__.py
@@ -48,7 +48,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: arabidopsis_interactome by Tiago de Paula Peixoto 5fe5329
diff --git a/entries/arabidopsis_interactome/__init__.py b/entries/arabidopsis_interactome/__init__.py
new file mode 100644
index 0000000..7001239
--- /dev/null
+++ b/entries/arabidopsis_interactome/__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 = "Arabidopsis interactome AI-1 (2011)"
+description = """A network of protein-protein interactions of the plant *Arabidopsis thaliana*, from the Arabidopsis Interactome Mapping Consortium (Dreze et al., 2011), as distributed by the Center for Cancer Systems Biology (CCSB, Dana-Farber Cancer Institute). It combines Arabidopsis Interactome version 1 (AI-1), a binary interaction map obtained with a high-throughput yeast two-hybrid (Y2H) screen of the pairwise combinations of a set of about 8,000 cloned protein-coding genes ("space 1"), with interactions curated from the literature (LCI). Nodes are proteins, identified by their Arabidopsis Genome Initiative (AGI) gene locus, and an undirected edge connects two proteins that interact according to at least one of the sources, which are indicated by edge properties. The network has 11,374 interactions among 4,866 proteins; the 5,664 interactions of the main Y2H screen involve 2,661 proteins. Self-loops are proteins interacting with themselves.
+
+The network has the following properties:
+
+- `name`: the AGI locus of the protein (e.g. "AT1G05410").
+- `main_screen` (edges): whether the interaction was found in the main AI-1 Y2H screen (AI1_M).
+- `repeat_screen` (edges): whether the interaction was found in the repeat of the Y2H screen (AI1_R).
+- `lci` (edges): whether the interaction is reported in the literature, from the curated interaction databases.
+- `lci_binary` (edges): whether the literature-curated interaction is binary (direct).
+- `lci_core` (edges): whether the binary literature-curated interaction is supported by at least two publications or two experimental methods."""
+tags = ['Biological', 'Protein interactions', 'Unweighted', 'Metadata']
+url = 'https://web.archive.org/web/20150115212311/http://interactome.dfci.harvard.edu/A_thaliana/index.php?page=download'
+citation = [('Arabidopsis Interactome Mapping Consortium, "Evidence for network evolution in an Arabidopsis interactome map." Science 333(6042), 601-607 (2011)', 'https://doi.org/10.1126/science.1203877')]
+icon_hash = '56a85c8e26855e083a2f7949'
+upstream_license = None
+# The CCSB site is offline; the file is obtained from the Internet Archive.
+upstream_prefix = 'https://web.archive.org/web/2014id_/http://interactome.dfci.harvard.edu/A_thaliana/doc'
+files = [('AI_interactions.xls', None, None)]
+archived_urls = {'AI_interactions.xls':
+                 'https://web.archive.org/web/20141008190519id_/http://interactome.dfci.harvard.edu/A_thaliana/doc/AI_interactions.xls'}
+
+def fetch_upstream(force=False):
+    return fetch_archived_files(__name__.split(".")[-1], archived_urls, force,
+                                tries=4)
+
+@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, "rb") as f:
+            rows = list(read_xls(f).values())[0]
+        # Header: ida, idb, main_screen, repeat_screen, lci, lci_binary,
+        # lci_core
+        header = rows[0]
+        assert list(header[:7]) == ["ida", "idb", "main_screen", "repeat_screen",
+                                    "lci", "lci_binary", "lci_core"]
+        g = Graph(directed=False)
+        eprops = [g.new_ep("bool") for i in range(5)]
+        for i, p in enumerate(eprops):
+            g.ep[header[2 + i]] = p
+        g.vp.name = g.add_edge_list(((cell_str(r[0]), cell_str(r[1]),
+                                      *[bool(x) for x in r[2:7]])
+                                     for r in rows[1:] if r[0] is not None),
+                                    hashed=True, hash_type="string",
+                                    eprops=eprops)
+        yield alt, g