History of yeast_exosome
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/yeast_exosome/__init__.py b/entries/yeast_exosome/__init__.py
index f42a362..d006a47 100644
--- a/entries/yeast_exosome/__init__.py
+++ b/entries/yeast_exosome/__init__.py
@@ -30,7 +30,7 @@ url = 'https://bitbucket.org/maucantor/unodf_analyses'
citation = [('N. J. Krogan et al., "Global landscape of protein complexes in the yeast Saccharomyces cerevisiae." Nature 440, 637-643 (2006)', 'https://doi.org/10.1038/nature04670'),
('S. Orchard et al., "Protein interaction data curation: the International Molecular Exchange (IMEx) consortium." Nature Methods 9, 345-350 (2012)', 'https://doi.org/10.1038/nmeth.1931'),
('M. Cantor, M. M. Pires, F. M. D. Marquitti, R. L. G. Raimundo, E. Sebastián-González, P. P. Coltri, S. I. Perez, D. R. Barneche, D. Y. C. Brandt, K. Nunes, F. G. Daura-Jorge, S. R. Floeter, P. R. Guimarães Jr., "Nestedness across biological scales." PLoS ONE 12(2), e0171691 (2017)', 'https://doi.org/10.1371/journal.pone.0171691')]
-icon_hash = None
+date_added = '2026-10-25'
upstream_license = None
upstream_prefix = 'https://bitbucket.org/maucantor/unodf_analyses/raw/cef0977496fcb93ec72d20d8c37f0dd46b9f18be/data'
files = [('mol_yeast_nuclearexosome.txt', None, None)]
[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/yeast_exosome/__init__.py b/entries/yeast_exosome/__init__.py
index 6cb842e..f42a362 100644
--- a/entries/yeast_exosome/__init__.py
+++ b/entries/yeast_exosome/__init__.py
@@ -23,8 +23,8 @@ description = """Weighted network of physical interactions among the proteins of
The network has the following properties:
-- Nodes: `name`, the UniProt accession of the protein (e.g. "P38792").
-- Edges: `weight`, the reliability score of the interaction."""
+- (Node) `name`: the UniProt accession of the protein (e.g. "P38792").
+- (Edge) `weight`: the reliability score of the interaction."""
tags = ['Biological', 'Protein interactions', 'Weighted', 'Metadata']
url = 'https://bitbucket.org/maucantor/unodf_analyses'
citation = [('N. J. Krogan et al., "Global landscape of protein complexes in the yeast Saccharomyces cerevisiae." Nature 440, 637-643 (2006)', 'https://doi.org/10.1038/nature04670'),
[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/yeast_exosome/__init__.py b/entries/yeast_exosome/__init__.py
index 0c47370..6cb842e 100644
--- a/entries/yeast_exosome/__init__.py
+++ b/entries/yeast_exosome/__init__.py
@@ -43,7 +43,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: yeast_exosome 049b6ac
diff --git a/entries/yeast_exosome/__init__.py b/entries/yeast_exosome/__init__.py
new file mode 100644
index 0000000..0c47370
--- /dev/null
+++ b/entries/yeast_exosome/__init__.py
@@ -0,0 +1,69 @@
+#! /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 = 'Yeast nuclear exosome protein interactions (2006)'
+description = """Weighted network of physical interactions among the proteins of the nuclear exosome, the 3'-5' exonuclease complex, of the budding yeast *Saccharomyces cerevisiae*. The data were compiled by M. Cantor and collaborators for a study of nestedness across levels of biological organization, and are distributed in the repository of that study (file `mol_yeast_nuclearexosome.txt`). They retrieved the interactions among 44 exosome proteins from the IMEx consortium databases, mostly from the large-scale affinity purification and mass spectrometry study of protein complexes of N. J. Krogan and collaborators. Nodes are proteins, and an undirected edge connects two proteins with evidence of a physical association between them, weighted by the reliability score of the interaction, which combines the available experimental evidence and ranges from 0 (no evidence) to 1 (strong support), i.e. an estimate of the probability that the interaction is correct. The source lists each interaction in both directions, with the same score; here each appears once.
+
+The network has the following properties:
+
+- Nodes: `name`, the UniProt accession of the protein (e.g. "P38792").
+- Edges: `weight`, the reliability score of the interaction."""
+tags = ['Biological', 'Protein interactions', 'Weighted', 'Metadata']
+url = 'https://bitbucket.org/maucantor/unodf_analyses'
+citation = [('N. J. Krogan et al., "Global landscape of protein complexes in the yeast Saccharomyces cerevisiae." Nature 440, 637-643 (2006)', 'https://doi.org/10.1038/nature04670'),
+ ('S. Orchard et al., "Protein interaction data curation: the International Molecular Exchange (IMEx) consortium." Nature Methods 9, 345-350 (2012)', 'https://doi.org/10.1038/nmeth.1931'),
+ ('M. Cantor, M. M. Pires, F. M. D. Marquitti, R. L. G. Raimundo, E. Sebastián-González, P. P. Coltri, S. I. Perez, D. R. Barneche, D. Y. C. Brandt, K. Nunes, F. G. Daura-Jorge, S. R. Floeter, P. R. Guimarães Jr., "Nestedness across biological scales." PLoS ONE 12(2), e0171691 (2017)', 'https://doi.org/10.1371/journal.pone.0171691')]
+icon_hash = None
+upstream_license = None
+upstream_prefix = 'https://bitbucket.org/maucantor/unodf_analyses/raw/cef0977496fcb93ec72d20d8c37f0dd46b9f18be/data'
+files = [('mol_yeast_nuclearexosome.txt', None, None)]
+
+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
+ weights = {}
+ with open_upstream_file(name, fname, "r") as f:
+ for line in f:
+ p = line.split()
+ if len(p) < 3:
+ continue
+ u, v = p[0].strip('"'), p[1].strip('"')
+ w = float(p[2])
+ key = tuple(sorted((u, v)))
+ if key in weights and weights[key] != w:
+ raise ValueError(f"inconsistent weights for {key}")
+ weights[key] = w
+ g = Graph(directed=False)
+ g.ep.weight = g.new_ep("double")
+ vmap = g.add_edge_list([(u, v, w) for (u, v), w in weights.items()],
+ hashed=True, hash_type="string",
+ eprops=[g.ep.weight])
+ g.vp.name = vmap
+ yield alt, g