DNA sequences, RNA measurements, proteins and tissue images each offer a different view of biology. Before studying models trained on these data, I find it useful to understand what is measured, how the measurement is produced and what information it preserves or leaves out.

These are my notes as I look into the different biological data modalities while exploring what it takes to train a genomics model.

DNA and genomics

DNA contains an organism's genomic sequence, written using the bases adenine (A), cytosine (C), guanine (G) and thymine (T). It includes protein-coding genes, noncoding regions, regulatory elements, repetitive regions and other genomic features.

DNA sequencing reads physical fragments from a biological sample. In whole-genome sequencing (WGS), reads are used to reconstruct information across the genome. Whole-exome sequencing (WES) concentrates on protein-coding exons; targeted panels focus on selected regions. Reads are aligned to a reference or assembled, and differences may be described as variants.

The resulting data may take several forms: FASTQ for reads and their quality scores, FASTA for assembled or reference sequences, and VCF for called genetic variants.

DNA captures sequence and variation, but it does not by itself reveal which genes are active in a particular cell, tissue or condition. Most cells share broadly the same inherited genome yet exhibit very different functions. Tumors may also acquire somatic mutations.

RNA: sequence, structure and function

RNA is synthesized from DNA through transcription and uses uracil (U) in place of thymine (T). Messenger RNA carries coding information, while noncoding RNAs include molecules involved in regulation, processing, structure and catalysis.

An RNA sequence specifies the nucleotides of a molecule. Base pairing can cause that molecule to fold into secondary and tertiary structures that affect its function. The same nucleotide sequence can behave differently depending on cellular conditions and binding partners.

RNA sequences may be obtained from RNA sequencing and curated transcript databases. Structural information comes from approaches including chemical probing, crystallography, cryo-electron microscopy and nuclear magnetic resonance. Representations include transcript sequences and annotations, secondary-structure pairing maps and atomic coordinate files.

A model trained on RNA sequence is not necessarily learning how much RNA is present in a cell. That is the distinction between RNA sequence modeling and transcriptomics.

Transcriptomics: which RNAs are expressed?

Transcriptomics measures RNA abundance in a sample. In bulk RNA-seq, RNA from many cells is pooled, producing an aggregate profile. Single-cell RNA-seq measures individual cells, revealing heterogeneity in cell types and states. Spatial transcriptomics also relates expression to tissue location, at resolutions that vary by assay.

Typical sequencing workflows capture RNA, convert it into a sequenceable library, read the fragments and quantify transcripts or genes computationally. The processed data is often a gene-by-sample or gene-by-cell matrix of counts or normalized expression measurements. Spatial assays also carry position information.

Unlike genomic DNA, expression is dynamic. It reflects cell identity, activation, environmental exposure, disease, perturbations and technical factors. Measurements are affected by sampling, dropout, library preparation and batch effects.

For biological AI, it matters whether the input is a sequence of nucleotides or a vector of measured expression values: these encode different things even though both concern RNA.

Proteins: sequence, structure and activity

Proteins are chains of amino acids. Their sequences affect folding, stability, interactions and biological function. A protein's activity also depends on context, including partners, post-translational modifications and the cellular environment.

Protein sequences are obtained from experimentally characterized proteins or inferred from coding sequences, and are commonly stored in databases such as UniProt. Protein abundance and modifications can be measured by mass spectrometry-based proteomics. Three-dimensional structures may be determined using X-ray crystallography, cryo-electron microscopy or NMR.

The representations are different: an amino-acid FASTA sequence, an abundance table from proteomics or a PDB/mmCIF atomic structure file.

Sequence is much more abundant than experimentally measured structure or function. It is therefore useful to distinguish models that learn protein sequence representations from models that predict geometry or experimentally measurable biological activity.

Pathology and histology: tissue morphology

Pathology images capture tissue architecture, cell morphology and the spatial organization of disease. Tissue collected during biopsy or surgery is prepared, sectioned, stained and examined. With hematoxylin and eosin (H&E) staining, nuclei and surrounding tissue are visually differentiated.

Digitizing the slide produces a whole-slide image (WSI), often extremely large. Machine learning systems typically extract smaller image patches or tiles and may combine those representations for slide-level or patient-level tasks.

These images provide a phenotype-level view of multiple biological processes acting together. They do not directly measure the molecular mechanisms responsible for an observed pattern. Appearance can also vary because of staining, tissue preparation, scanners and institution-specific practices.

This distinction matters when connecting pathology models to clinical outcomes: tile, slide, specimen and patient are not interchangeable units.

Functional genomics: measuring molecular activity

DNA tells us which sequences are present; functional genomics measures aspects of what those sequences and their regulatory machinery are doing.

Examples include ATAC-seq for chromatin accessibility, ChIP-seq for protein–DNA occupancy, RNA-seq for RNA abundance and CRISPR perturbation experiments that measure responses to deliberate genetic changes. Some assays yield genome-aligned signal tracks (for example, bigWig), others yield peak lists, count matrices or perturbation-response tables.

These measurements are conditional on cell type, assay, time point and environment. They can connect genetic sequence to observed molecular activity, but an observed association is not automatically a causal mechanism.

A sequence-to-function model may take DNA as input while learning from functional-genomics measurements as supervision. Specifying inputs and targets separately avoids confusing what was observed with what was predicted.

Genetic potential versus the current biological state

One distinction I find useful in cancer biology is between measurements that describe what could happen and measurements that help us understand what is happening now.

Inherited, or germline, DNA variants can tell us about predisposition to cancer before a tumor develops. But DNA is not simply “pre-cancer” data. Sequencing a tumor can reveal acquired, or somatic, mutations that are central to the disease itself. Those mutations may help explain how the cancer developed and which pathways or treatments are relevant. DNA describes the genetic changes present, but not necessarily how they are being expressed at the time of measurement.

RNA expression, protein abundance and activity, and pathology provide more direct views of the tumor's current state. RNA can show which genes are being transcribed, proteins can indicate which molecular products and signaling processes are present, and pathology can reveal the resulting cellular and tissue morphology. These are dynamic, context-dependent measurements, influenced by factors such as treatment, the tumor microenvironment and when and where the sample was taken.

This is not a strict division between cause and effect: DNA changes can arise during disease, while RNA and protein patterns can be both causes and consequences of biological processes. And observing a pattern in a tumor does not establish why it arose. Functional perturbations and longitudinal measurements are often needed to test a causal explanation.

For modeling, the distinction helps define the question. Are we predicting susceptibility, characterizing an existing tumor, or predicting response to treatment? Different modalities provide different evidence for each task, and pairing them can connect genetic variation with the biological state it helps produce.

How the modalities connect

Distinct biological measurements across DNA, RNA, proteins and tissues.

A useful simplified picture is:

DNA sequence
   │ transcription
   ▼
RNA molecules ───────► RNA expression measurements
   │ translation
   ▼
Protein sequences ───► structure, abundance, interactions, activity
   │
   └──────────────► cellular and tissue phenotypes
                       └── pathology imaging

This is a simplified view of how these different types of biological information connect.

Each modality has a different unit of observation, resolution, noise profile and missingness pattern. These differences affect model inputs, supervision and evaluation.

Diagrams generated using AI.