Alle Storys
Keine Story von Technische Universität München mehr verpassen.

Technische Universität München

Artificial intelligence deciphers genetic instructions: Deep learning algorithms reveal the rules of gene regulation


Corporate Communications Center

Phone: +49 89 289 10510 - e-mail: - web:

This text on the web:

High resolution image:


Artificial intelligence deciphers genetic instructions

Deep learning algorithms reveal the rules of gene regulation

With the help of artificial intelligence (AI) a German-American team of scientists deciphered some of the more elusive instructions encoded in DNA. Their neural network trained on high-resolution maps of protein-DNA interactions uncovers subtle DNA sequence patterns throughout the genome, thus providing a deeper understanding of how these sequences are organized to regulate genes.

Artificial intelligence algorithms are extremely powerful at fitting massive and complex datasets. But their interpretation, rationalizing how the machine performs specific predictions when presented a given input, is notoriously hard. This black box behavior hampers wide acceptation of AI in medical diagnostics, where justifications matter, and restrain their utility in natural sciences where understanding mechanisms is the goal.

Now, an interdisciplinary team of biologists and computational researchers from the Technical University of Munich, the Stowers Institute for Medical Research and the Stanford University has shown that applying neural networks, such as those used for facial recognition, together with newly developed model interpretation techniques can be used to decipher complex instructions encoded in DNA.

One of the big unsolved problems in biology is the genome’s second code, its regulatory code. The DNA bases encode not only the instructions for how to build proteins, but also when and where to make these proteins in an organism.

The regulatory code is read by proteins called transcription factors that bind to short stretches of DNA called motifs. However, how particular combinations and arrangements of motifs specify regulatory activity is an extremely complex problem that has been hard to pin down.

DNA binding experiments and computational modeling going hand in hand

The key was to perform transcription factor-DNA binding experiments and computational modeling at the highest possible resolution, down to the level of individual DNA bases. The increased resolution allowed the team not only to train highly accurate neural network models, but also to extract the key elements and patterns from the models, including transcription factor binding motifs and the combinatorial rules by which they function together as code.

“Neural networks are black boxes, but they can be interrogated digitally. So, with a large number of virtual experiments we figured out the rules the neural net learned” says first author Dr. Žiga Avsec, member of the group of Julien Gagneur, professor of computational molecular medicine at the Technical University of Munich. Together with Anshul Kundaje, professor at the Stanford University, he created the first version of the model when he visited Stanford as a guest scientist.

Applied to master regulators of stem cell differentiation and confirmed experimentally by CRISPR genomic edition, the approach revealed complex rules involving a precise positioning along the DNA double helix and specific ordering of events.

“This was extremely satisfying,” says project leader Julia Zeitlinger, investigator at the Stowers Institute and professor at the University of Kansas Medical Center, “as the results fit beautifully with existing experimental results, and also revealed novel insights that surprised us.”

A pattern becomes visible: how Nanog binds to DNA

For example, the researchers found that a well-studied transcription factor called Nanog binds cooperatively to DNA when multiples of its motif are present in a periodic fashion such that they appear on the same side of the spiraling DNA helix.

“There has been a long trail of experimental evidence that such motif periodicity sometimes exists in the regulatory code,” Zeitlinger says. However, the exact circumstances were elusive, and Nanog had not been a suspect. Discovering that Nanog has such a pattern, and seeing additional details of its interactions, was surprising because we did not specifically search for this pattern.”

“This is the key advantage of using neural networks for this task. A classic computational model is built on hand-crafted, rigid rules to ensure that it can be interpreted”, says Avsec. “However, biology is extremely rich and complicated. By abandoning the need to interpret individual parameters, we can train much more flexible and nuanced models that capture any biological phenomena, including those yet unknown.“

A powerful bottom-up approach

This neural net model – named BPNet for Base Pair Network – is a powerful bottom-up approach similar to facial recognition in images, where a neural network first detects edges in the pixels, then learns how edges form facial elements like the eye, nose or mouth, and finally how facial elements together form a face.

Instead of learning from pixels, BPNet learns from the raw DNA sequence and learns to detect sequence motifs and eventually the higher-order rules by which the elements predict the base-resolution binding data.

Both the Zeitlinger Lab and the Kundaje Lab are already using BPNet to reliably identify binding motifs for other cell types, relate motifs to biophysical parameters and learn other structural features in the genome such as those associated with DNA packaging. To enable other scientists to use BPNet and adapt it for their own needs, the researchers have made the entire software framework available with documentation and tutorials.

“This work is a technological tour-de-force,” says Julien Gagneur. ”It combines deep learning modeling of genome-wide assays down to single-nucleotide resolutions, together with advanced explainable AI techniques allowing to interpret what "the black box” has learned. The methodology will help biologist studying the full regulatory grammar.”


Base-resolution models of transcription factor binding reveal soft motif syntax

Žiga Avsec, Melanie Weilert, Avanti Shrikumar, Sabrina Krueger, Amr Alexandari, Khyati Dalal, Robin Fropf, Charles McAnany, Julien Gagneur, Anshul Kundaje, and Julia Zeitlinger

nature genetics, Feb. 18, 2021 – DOI: 10.1038/s41588-021-00782-6

More information:

This work was supported by in part by the Stowers Institute for Medical Research and the National Human Genome Research Institute and National Institute of General Medical Sciences of the National Institutes of Health (NIH). Additional support included the German Federal Ministry of Education and Research and a Stanford BioX Fellowship and Howard Hughes Medical Institute International Student Research Fellowship.

Gene sequencing was performed at the Stowers Institute for Medical Research and the University of Kansas Medical Center Genomics Core supported by the NIH awards from the National Institute of Child Health and Human Development and the National Institute of General Medical Sciences.

High resolution image:


Prof. Dr. Julien Gagneur

Professorship of Computational Molecular Medicine

Technical University of Munich

Grillparzerstr. 16, 81675 Munich, Germany

Tel.: +49 89 4140 4350 – E-mail:


The Technical University of Munich (TUM) is one of Europe’s leading research universities, with more than 600 professors, 45,000 students, and 11,000 academic and non-academic staff. Its focus areas are the engineering sciences, natural sciences, life sciences and medicine, combined with economic and social sciences. TUM acts as an entrepreneurial university that promotes talents and creates value for society. In that it profits from having strong partners in science and industry. It is represented worldwide with the TUM Asia campus in Singapore as well as offices in Beijing, Brussels, Mumbai, San Francisco, and São Paulo. Nobel Prize winners and inventors such as Rudolf Diesel, Carl von Linde, and Rudolf Mößbauer have done research at TUM. In 2006, 2012, and 2019 it won recognition as a German "Excellence University." In international rankings, TUM regularly places among the best universities in Germany.

Weitere Storys: Technische Universität München
Weitere Storys: Technische Universität München
  • 12.02.2021 – 09:43

    New synthetic peptides could attenuate atherosclerosis

    Corporate Communications Center phone: +49 8161 5403 - email: - web: This text on the web: NEWS RELEASE New synthetic peptides could attenuate atherosclerosis Synthetic “mini” receptors block atherosclerosis Atherosclerosis, a lipid-triggered chronic inflammatory disease of our arteries, is the main cause of strokes and ...

  • 11.02.2021 – 15:37

    Captured lithium: Neutrons show effective lithium and electrolyte distribution in lithium-ion cells

    TECHNICAL UNIVERSITY OF MUNICH Corporate Communications Center Phone: +49 89 289 10510 - e-mail: - web: This text on the web: High resolution images: NEWS RELEASE Captured lithium Neutrons show effective lithium and electrolyte distribution ...

  • 22.01.2021 – 11:47

    Largest database on Covid-19 measures available online

    TECHNICAL UNIVERSITY OF MUNICH Corporate Communications Center phone: +49 89 289 22798 - email: - web: NEWS RELEASE Largest database on Covid-19 measures available online 50,000 political decisions from 195 countries open to analysis An international research group has built the world’s largest database on political decisions related to the coronavirus pandemic. With CoronaNet data on ...