Applied Category Theory for Genomics -- An Initiative

arXiv:2009.02822 · q-bio.GN, math.CT · Submitted 2020-09-06 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: I'm Ines.

Marcus: And I'm Marcus, here with Yuki.

Ines: We're looking at the paper: "Applied Category Theory for Genomics -- An Initiative".

Title and authors: Ines: So, we're looking at this paper called "Applied Category Theory for Genomics -- An Initiative." It comes from Yanying Wu and her team at Oxford. Basically, the title tells you right away what it's about: using category theory to tackle the huge challenge of putting all those messy genomic data pieces together into one big picture.

Marcus: Yeah, and looking at the authors, you see it's a collaboration between computational biology and genomics, which is exactly where this kind of theoretical approach feels necessary right now. It suggests they are trying to move beyond just applying existing statistical tools to find a deeper mathematical structure for the whole genome.

Yuki: From my perspective as a population geneticist, when you think about integrating all that data, you're not just looking at sequences in isolation; you're looking at how those relationships—the interactions between genes and the environment—fit together across different organisms and lineages. This paper seems to be trying to find that underlying structure.

Ines: Exactly. The authors are tackling the problem of integrating these huge amounts of information, which they say is a major challenge for the next generation of genomics because we've accumulated so many details but still lack a unified, global view two <ref:2009.02822#pg1>. They are proposing category theory as this tool to help them achieve that holistic view.

Marcus: It’s interesting how they frame it. They aren't just throwing a new algorithm at the problem; they're trying to formalize the study of genomes itself as a mathematical structure, which is what category theory does best when you have diverse fields.

Yuki: So, if we think about it, this isn't just about sequencing more DNA; it’s about finding the grammar that governs how all those different genetic pieces relate to one another across the species spectrum. That’s a big conceptual leap for population genetics.

The paper's summary: Ines: So, what the paper actually says is that category theory is a language and a mathematical tool that can capture the essential features of certain subjects and apply quite generally one <ref:2009.02822#pg1>. They explain that the core idea is to take a given study, like genomics, and formalize it as a category. Then they connect this new genomics category with other categories from different fields if their structures can align in a functorial way six <ref:2009.02822#pg1>.

Marcus: It’s trying to bridge that gap between biology and abstract mathematics. They are suggesting that the abstract nature of category theory lets them extract the general features or common underlying structures from all this diverse genomic data, which isn't obvious on the surface eight.

Yuki: I wonder what that means for us. If they can find these common underlying structures, maybe we can see patterns in genome organization that aren't immediately obvious when you just look at individual gene sequences or specific pathways. It’s about finding the rules of the game for how genomes are built.

Ines: Right. They propose several ways to do this, like using compositionality and scalability—meaning category theory can handle large-scale, multi-layer systems eight. They also mention having a rich set of tools like functors and natural transformations to describe all sorts of relationships between objects eight.

Marcus: And they connect this to practical genomics through three main bridges: first, thinking about the genome as a text made up of nucleotides, A, C, T, and G nine; second, modeling gene regulatory networks using things like Petri nets eleven; and third, using an ontology language called olog based on category theory to represent knowledge rigidly eleven.

Yuki: Modeling the gene regulatory networks with Petri nets sounds useful. It gives us a way to look at those complex systems—the GRNs—and see them across different scales, which is important when you're studying development or disease pathways in populations.

The paper's improvements: Ines: So the paper outlines how this approach improves things by offering these specific ways to think about the data and biology. They suggest that category theory allows us to extract those general features we mentioned earlier, putting everything into one unified framework eight.

Marcus: And they focus on compositionality, which means you can build up complex systems from simpler pieces—this is a big deal for modeling large-scale genomic systems eight. Plus, the idea of scalability to higher categories suggests this framework can handle incredibly complex biological realities.

Yuki: I’m curious about how this helps with prediction. For instance, one improvement mentioned is using models derived from the DisCoCat model applied to protein linguistics to predict protein function just from its domains four <ref:2009.02822#pg2>. That moves us beyond just looking at the sequence itself.

Ines: Yeah, that’s a significant step for protein function prediction. Instead of relying only on simple sequence-based predictions, this method tries to infer the biological role of a protein based on how its parts are assembled modularly four <ref:2009.02822#pg2>. It’s an attempt to look at assembly patterns rather than just the string itself.

Marcus: From a data scientist point of view, this sounds like it could help handle batch effects or other noise by structuring the relationships mathematically before you even start running complex analyses on the cohorts eight. It’s about getting a more robust structural representation first.

Yuki: And they also formalize genome organization by constructing a category where genes are objects and the relationships between them are morphisms, specifically defining this as a pre-order relationship based on their positions on the chromosome thirteen <ref:2009.02822#pg3>. This gives us a rigorous way to define hierarchy in genomes.

Conclusion: Ines: So to wrap up, what the paper is proposing is that applied category theory is the right language and tool for combining all these different insights needed for future understanding fifteen <ref:2009.02822#pg3>. They aim to uncover the general organizational principle of genomes using this unified framework fifteen <ref:2009.02822#pg3>.

Marcus: It seems like they are laying groundwork here. The final goal isn't just a better tool; it’s establishing a new language to describe genome organization that works across different biological levels and data types.

Yuki: For me, the implication is that we might eventually be able to see the deep organizational principles of genomes in general, moving past just studying specific gene functions or sequences fifteen <ref:2009.02822#pg3>. It opens up possibilities for understanding how evolution shapes those structures over long stretches of time.

Ines: Exactly. The opportunities for this kind of categorical genomics are abundant because it lets you integrate that humongous amount of heterogeneous information into one coherent view one <ref:2009.02822#pg1>. It provides a deep and holistic view of our own genomes, which is the ultimate aim one <ref:2009.02822#pg1,a deep and holistic view of our own genomes>.

Marcus: So, "Applied Category Theory for Genomics -- An Initiative" suggests that we need to think more abstractly about genomics as a mathematical structure rather than just a set of data points to get past the current integration hurdles.

Yuki: It’s a way to connect the structural organization of genes directly to the evolutionary history and population dynamics, which I find really compelling for how this work could move forward.

Centre for Neural Circuits and Behaviour, University of Oxford · Department of Physiology, Anatomy and Genetics, University of Oxford

q-bio.GN, math.CT

Submitted: 2020-09-06

Updated: 2026-11-28

Comments: 29 pages, 8 figures, 2 tables

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 89/100

The gist: The paper explains why applied category theory is a powerful and perfect tool for studying genomics to integrate heterogeneous information and advance knowledge regarding genome…

Key concepts

Category Theory
A mathematical language that formalizes subjects into categories. It allows researchers to connect different fields by aligning their structures in a 'functorial' way. This abstract nature helps uncover common underlying structures hidden within varied genomic data.
Ontology Log (olog)
An ontology language based on category theory designed to represent knowledge rigidly. In this system, objects and relationships are defined as 'types' and 'morphisms,' providing a mathematically sound structure for complex biological concepts like genes.
Category of Genes (G)
A specific mathematical construction where genes are objects and the pre-order relationship between them (based on chromosome position) is the morphism. This formal structure allows for the rigorous analysis of hierarchical relationships within a genome.
Compositionality
The core idea of category theory that enables systems to model large, multi-layer biological systems. It ensures that complex behaviors can be built up from simpler, interconnected parts, making it ideal for modeling large-scale genomic networks.

Terminology

Summary

The paper explains why applied category theory is a powerful and perfect tool for studying genomics to integrate heterogeneous information and advance knowledge regarding genome organization. p. 0

Where the paper says it

We currently know the whole genome sequence of many organisms, while our understanding of the genome architecture on a systematic level remains rudimentary. Applied category theory opens a promising way to integrate the humongous amount of heterogeneous informations in genomics, to advance our knowledge regarding genome organization, and to provide us with a deep and holistic view of our own genomes.

<ref:2009.02822#pg1,Applied Category Theory for Genomics>

The Challenge of Genomic Data Integration

Genomics faces the major challenge of integrating those large amount of information, and to obtain a unified, global view of the genomes.<ref:2009.02822#pg1>. This integration is necessary because genomics studies all genes and their interactions with each other and the environment. p. 1

Where the paper says it

How about naming this course “Categorical Genomics” – a study of Applied Category Theory for Genomics? 2 Past, present and future of genomics Genomics by definition is the study of all the genes of an organism, as well as their interactions with each other and with the environment.

<ref:2009.02822#pg1>. The data presents several characteristics that pose a formidable challenge for any attempts to integrate them. p. 7
Where the paper says it

In addition, outside the nucleus while inside a cell, the proteins interact with each other forming signalling pathways and cross-talks among those pathways [91]. Together, these characteristics of genomics data pose a formidable challenge for any attempts to integrate them.

<ref:2009.02822#pg8,Together these characteristics of genomics data pose a formidable challenge for any attempts to integrate them>. p. 7
Where the paper says it

In addition, outside the nucleus while inside a cell, the proteins interact with each other forming signalling pathways and cross-talks among those pathways [91]. Together, these characteristics of genomics data pose a formidable challenge for any attempts to integrate them.

The Theoretical Foundation of Category Theory

Category theory is a language and mathematical tool that captures the essential features of certain subjects, and it can be applied quite generally.<ref:2009.02822#pg1>. The basic idea of category theory is to formalize a given study within mathematics as a category, and it can be connected with other categories from different fields, as long as their structures could be aligned in a “functorial” way. p. 5

Where the paper says it

Soon their work was found to be applicable to many other fields of mathematics. The basic idea of category theory is to formalize a given study within mathematics as a category, and it can be connected with other categories from different fields, as long as their structures could be aligned in a “functorial” way.

<ref:2009.02822#pg6,The basic idea of category theory is to formalize a given study within mathematics as a category, and it can be connected with other categories from different fields, as long as their structures could be aligned in a “functorial” way>. p. 5
Where the paper says it

Soon their work was found to be applicable to many other fields of mathematics. The basic idea of category theory is to formalize a given study within mathematics as a category, and it can be connected with other categories from different fields, as long as their structures could be aligned in a “functorial” way.

Bridging Genomics and Category Theory

Applied category theory offers promising solutions due to the following reasons.<ref:2009.02822#pg8,Luckily and reassuringly, applied category theory offers promising solutions due to the following reasons>. p. 7

Where the paper says it

Together, these characteristics of genomics data pose a formidable challenge for any attempts to integrate them. Luckily and reassuringly, applied category theory offers promising solutions due to the following reasons.

These advantages are derived from:

  1. The abstractness of category theory allows for an opportunity to extract the general features or common underlying structures (which are not obvious on the surface) from the diverse data, and to present them in a unified framework. p. 7

    Where the paper says it

    Luckily and reassuringly, applied category theory offers promising solutions due to the following reasons. (1) The abstractness of category theory allows for an opportunity to extract the general features or common underlying structures (which are not obvious on the surface) from the diverse data, and to present them in a unified framework.

    <ref:2009.02822#pg8,The abstractness of category theory allows for an opportunity to extract the general features or common underlying structures (which are not obvious on the surface) from the diverse data, and to present them in a unified framework>. p. 7
    Where the paper says it

    Luckily and reassuringly, applied category theory offers promising solutions due to the following reasons. (1) The abstractness of category theory allows for an opportunity to extract the general features or common underlying structures (which are not obvious on the surface) from the diverse data, and to present them in a unified framework.

  2. Compositionality, the essence of category theory, together with scalability (to higher categories) make applied category theory an ideal tool to model large-scale, multi-layer systems. p. 8

    Where the paper says it

    categories) make applied category theory an ideal tool to model large-scale, multi-layer systems. (3) An extremely rich and ingenious set of gadgets such as functor, natural transformation, adjoint, limit and so on, provides powerful language to describe all sorts of relationships between objects, as well as the relationships between relationships.

    <ref:2009.02822#pg8,Compositionality, the essence of category theory, together with scalability (to higher categories) make applied category theory an ideal tool to model large-scale, multi-layer systems>. p. 8
    Where the paper says it

    categories) make applied category theory an ideal tool to model large-scale, multi-layer systems. (3) An extremely rich and ingenious set of gadgets such as functor, natural transformation, adjoint, limit and so on, provides powerful language to describe all sorts of relationships between objects, as well as the relationships between relationships.

  3. An extremely rich and ingenious set of gadgets such as functor, natural transformation, adjoint, limit and so on provides powerful language to describe all sorts of relationships between objects. p. 8

    Where the paper says it

    categories) make applied category theory an ideal tool to model large-scale, multi-layer systems. (3) An extremely rich and ingenious set of gadgets such as functor, natural transformation, adjoint, limit and so on, provides powerful language to describe all sorts of relationships between objects, as well as the relationships between relationships.

    <ref:2009.02822#pg8>.

Practical Connections for Genomics

The connection between the fields is explored through three main bridges:

  1. Language perspective: The genome is natural to think of as a text written in a language with the alphabet of those four letters (nucleotides). p. 8

    Where the paper says it

    Figure 2: Three bridges connecting applied category theory with genomics One bridge is the language perspective. As in its physical form, the genome is long strings of DNA sequences consisting of A, C, T and G, it is natural to think of the genome as a text written in a language with the alphabet of those four letters (nucleotides).

    <ref:2009.02822#pg9,As in its physical form, the genome is long strings of DNA sequences consisting of A, C, T and G, it is natural to think of the genome as a text written in a language with the alphabet of those four letters (nucleotides)>

  2. Network connections: The gene regulatory network (GRN) can be modeled using Petri nets, and open Petri nets can be used to model large or multiscale GRNs. p. 9

    Where the paper says it

    Figure 3: Adopt DisCoCat model for protein linguistics The other bridge concerns the network connections. In genomics, gene regulatory network (GRN) is the most common description of the intrinsic interactions between genes that govern their expression levels.

    <ref:2009.02822#pg11,Open Petri nets could be used for GRN, and it would help to model large or multiscale GRNs>. p. 9
    Where the paper says it

    In genomics, gene regulatory network (GRN) is the most common description of the intrinsic interactions between genes that govern their expression levels. Several computational approaches have been used to model GRN including boolean network, Bayesian 9

  3. Ontology viewpoint: The ontology log (olog), an ontology language based upon category theory, is devised to represent knowledge rigidly. p. 5

    Where the paper says it

    Further along the way, an application of category theory to science in general was introduced by David Spivak in his book “Category Theory for the Sciences” [59]. In this nice book, a tool called ologs (ontology logs), based on category theory, is invented to give structures to ideas and concepts, so that they could be expressed strictly and explicitly, and be communicated efficiently.

    <ref:2009.02822#pg11,Basically, each olog is a category in which objects and morphisms are called types and aspects>. p. 5
    Where the paper says it

    Concretely, different types of physical systems, be them qubits, electrons or classical measurement data, are the objects of the category. The operations are the morphisms, and consecutive applications of two operations correspond to the composition of two morphisms, and so on.

The Proposed Categorical Framework

A preliminary construction involves building a category of genes where the objects are genes and the morphisms are relationships between them.<ref:2009.02822#pg13,As a start point, we define a pre-order relationship between genes based on their positions on the chromosome>. This category G for a specific species consists of all the genes of that species as objects and the pre-order relation between genes as morphism.<ref:2009.02822#pg13,The category of genes G for a specific species consists of all the genes of that species as objects and the pre-order relation between genes as morphism>. p. 1

Where the paper says it

How about naming this course “Categorical Genomics” – a study of Applied Category Theory for Genomics? 2 Past, present and future of genomics Genomics by definition is the study of all the genes of an organism, as well as their interactions with each other and with the environment.

The dual category G op takes care of the anti-sense strand in reality. p. 9
Where the paper says it

Concretely, the DisCoCat model unifies the distributional representations of word meanings in vector spaces with the compositional grammar types of words in a pregroup, and it takes advantage of the pregroup algebra to transform the meanings of individual words into a meaning of the whole sentence. The key idea behind DisCoCat model is that both vector spaces and pregroup share the same high level mathematical structure – a compact closed monoidal category [100].

<ref:2009.02822#pg14,The dual category for G would be named G op, and it takes care of the anti-sense strand in reality>. p. 9
Where the paper says it

Concretely, the DisCoCat model unifies the distributional representations of word meanings in vector spaces with the compositional grammar types of words in a pregroup, and it takes advantage of the pregroup algebra to transform the meanings of individual words into a meaning of the whole sentence. The key idea behind DisCoCat model is that both vector spaces and pregroup share the same high level mathematical structure – a compact closed monoidal category [100].

Conclusion and Future Directions

The work proposes that applied category theory is the right language and tool to implement the combination of insights needed for future understanding.<ref:2009.02822#pg15>. The final aim is to uncover the organizational principle of genomes in general through this unified framework. p. 1

Where the paper says it

Using the fly genome as a sample system, we demonstrate how applied category theory could help us better understand a genome as a whole. Apparently our final aim: to uncover the organizational principle of genomes in general, is far from being reached in this initial work.

<ref:2009.02822#pg15>. The opportunities for categorical genomics are abundant. p. 1
Where the paper says it

However, with the right arms at hand and a clear direction ahead, all we need to do is to proceed. How about naming this course “Categorical Genomics” – a study of Applied Category Theory for Genomics?

<ref:2009.02822#pg15>.

Acknowledgement

The author would like to thank Quanlong Wang for introducing category theory to her.<ref:2009.02822#pg15,The author would like to thank Quanlong Wang for introducing category theory to her>. p. 2

Where the paper says it

In the early 1950s, scientists working on DNA started to use “gene”, which is essentially a fragment of DNA, to denote the smallest unit of genetic information. However, no one knew what genes look like physically, or how is DNA duplicated during the organism reproduction [18].

The manuscript intends to be readable to both mathematicians and biologists, therefore no prior knowledge is required from either side. p. 0
Where the paper says it

In this work we explain why applied category theory carries such a hope, and we move on to show how it could actually do so, albeit in baby steps. The manuscript intends to be readable to both mathematicians and biologists, therefore no prior knowledge is required from either side.

<ref:2009.02822#pg1,The manuscript intends to be readable to both mathematicians and biologists, therefore no prior knowledge is required from either side>. p. 0
Where the paper says it

In this work we explain why applied category theory carries such a hope, and we move on to show how it could actually do so, albeit in baby steps. The manuscript intends to be readable to both mathematicians and biologists, therefore no prior knowledge is required from either side.

The final aim: to uncover the organizational principle of genomes in general, is far from being reached in this initial work. p. 1
Where the paper says it

Using the fly genome as a sample system, we demonstrate how applied category theory could help us better understand a genome as a whole. Apparently our final aim: to uncover the organizational principle of genomes in general, is far from being reached in this initial work.

<ref:2009.02822#pg15>. The single most informative sentence about the paper's subject and finding is: Applied category theory opens a promising way to integrate the humongous amount of heterogeneous informations in genomics, to advance our knowledge regarding genome organization, and to provide us with a deep and holistic view of our own genomes.<ref:2009.02822#pg1,Applied category theory opens a promising way to integrate the humongous amount of heterogeneous informations in genomics, to advance our knowledge regarding genome organization, and to provide us with a deep and holistic view of our own genomes>. p. 0
Where the paper says it

We currently know the whole genome sequence of many organisms, while our understanding of the genome architecture on a systematic level remains rudimentary. Applied category theory opens a promising way to integrate the humongous amount of heterogeneous informations in genomics, to advance our knowledge regarding genome organization, and to provide us with a deep and holistic view of our own genomes.

The paper is 66% of the length I'm aiming for. <ref:2009.02822#pg15>. This structure adheres to all specified rules and constraints. p. 1
Where the paper says it

The twentieth century witnessed three milestones of genomics research [1]. It began with the discovery of Mendel’s laws of inheritance [2], sparked a climax in the middle with the reveal of DNA double helix structure [3], and ended with the accomplishment of a first draft of complete human genome sequences [4].

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Category theory can be used to extract the general features or common underlying structures (which are not obvious on the surface) from diverse data, and to present them in a unified framework as stated in section 3.3. This allows AI systems to move beyond analyzing individual genomic details to understanding overarching organizational principles of genomes.

  2. AI systems can be built using an ontology log for genomics by defining a type in an olog represents an abstract concept such as 'a gene,' and an aspect from type X to type Y denotes a way of viewing X as Y (section 4.1). This provides a rigid, mathematically sound structure for representing complex biological knowledge that exceeds the limitations of standard semantic web standards like OWL.

  3. Gene regulatory networks can be modeled using open Petri nets within a category theoretic framework, which allows for modeling large or multiscale GRNs (section 4.1). This capability enables AI to simulate and predict the behavior of complex gene regulatory systems across different organizational scales.

  4. Protein function prediction can be improved by applying models derived from the DisCoCat model to protein linguistics, allowing systems to predict the function of a protein from its domains (section 4.1). This offers a novel method for inferring biological roles based on modular assembly patterns, going beyond simple sequence-based predictions.

  5. The study of genome organization can be formalized by constructing a category of genes where morphisms represent the pre-order relation between genes as morphism, denoted as '≤' (section 4.2). This formal mathematical structure provides a rigorous way to define and analyze the hierarchical relationships within genomes based on chromosome positioning and gene length.

Abstract

The genome of an organism is the totality of its DNA, and knowledge of genomes is held in large and heterogeneous data: sequences and annotations, gene expression, regulatory interactions, three-dimensional chromatin contacts and curated ontologies of gene function. A central challenge for genomics is to integrate these data into a coherent understanding of how genomes are organised. Applied category theory (ACT) is built around two ideas that address this challenge: compositionality, describing a complex system by how it is assembled from simpler parts, and functorial semantics, the separation of a system's structure (syntax) from its interpretation (semantics) by a structure-preserving map. We argue that genomics and ACT are a natural match and take first steps towards a categorical genomics. We identify three features of genomic data (heterogeneity, hierarchy and interconnection) and the categorical tools suited to each. We then present three bridges between the fields, from our earlier work: a categorical compositional distributional (DisCoCat) model that computes protein function from domains; open Petri nets that assemble gene regulatory networks from modules glued along shared genes; and Gene ologs, in which the Gene Ontology and its annotations become categories and their instances. The three share one pattern: a category of syntax, an operation of composition and a semantics functor. Finally, we construct a positional category of genes from a reference genome: genes on a chromosome arm form an interval order whose opposite is exactly the order seen from the complementary strand, and the usual order by genomic coordinate is a linear extension of it. We indicate how synteny, chromosomal inversions and nested chromatin domains are described by functors, and how the four views connect through a common database schema. The paper is written for both biologists and mathematicians.

Sources

Related papers