✦ScienexySCIENCE KNOWLEDGE LIBRARY
topic · SCI-CS-006-006

Biological Data and Its Computational Representation

Biological data and their computational representation concern how information about genes, genomes, RNA molecules, proteins, molecular structures, cells, organisms, and biological processes is converted into structured digital forms suitable for storage, processing, analysis, modelling, and scientific communication. Correct representation requires appropriate data structures, file formats, identifiers, metadata, validation rules, and an understanding of the biological meaning of each measurement.

Explanation

Conceptual Foundation

Biological observations originate from experiments, computational predictions, clinical measurements, field studies, and scientific databases. Computers cannot interpret biological meaning directly from an unstructured observation; the information must first be represented in a suitable digital form. For example, DNA can be represented as a sequence of nucleotide symbols, gene expression as a numerical matrix, and protein structures as collections of three-dimensional atomic coordinates. A correct computational representation preserves essential biological meaning while allowing efficient analysis.

Major Biological Data Types

Data TypeDescriptionCommon SymbolsComputational RepresentationScientific UsesImportant Considerations

Nucleotide Sequence Data

Represents DNA or RNA as an ordered sequence of nucleotide symbols.

  • A: Adenine

  • C: Cytosine

  • G: Guanine

  • T: Thymine, commonly used in DNA sequences

  • U: Uracil, commonly used in RNA sequences

A character string or sequence object, commonly stored in formats such as FASTA or FASTQ.

  • Sequence alignment

  • Genome assembly

  • Gene identification

  • Mutation analysis

  • Comparative genomics

Sequence orientation, ambiguous nucleotide symbols, sequence quality, organism identity, and reference coordinates must be interpreted correctly.

Protein Sequence Data

Represents a protein as an ordered chain of amino-acid residues.

A sequence of one-letter amino-acid codes, often stored in FASTA format.

  • Protein similarity searching

  • Domain identification

  • Protein family classification

  • Functional prediction

  • Evolutionary analysis

Amino-acid sequences do not directly provide a complete description of protein conformation, post-translational modifications, or biological activity.

Gene Expression Data

Represents the measured abundance of transcripts or other expression-related quantities across genes, samples, or experimental conditions.

A numerical matrix in which rows may represent genes and columns may represent biological samples.

  • Differential gene-expression analysis

  • Clustering

  • Dimensionality reduction

  • Cell-type characterization

  • Pathway analysis

The numerical values may represent raw counts, normalized counts, transformed expression values, or other measurements. These representations are not interchangeable.

Genomic Variant Data

Represents differences between an observed genome and a specified reference sequence or another defined comparison.

Variant records containing genomic location, reference allele, alternate allele, and associated annotations.

  • Genetic variation analysis

  • Population genomics

  • Disease association research

  • Comparative genetics

  • Evolutionary analysis

Genome assembly version, coordinate convention, reference allele, alternate allele, and sample metadata must be recorded.

Protein Structural Data

Represents the three-dimensional organization of proteins and other biological macromolecules.

Atomic coordinates, residue identifiers, chain information, and associated structural annotations.

  • Structural comparison

  • Protein modelling

  • Molecular interaction analysis

  • Structure visualization

  • Conformational investigation

Coordinate systems, missing residues, alternate conformations, experimental resolution, and model confidence influence interpretation.

Molecular Interaction Data

Represents relationships among proteins, genes, metabolites, regulatory elements, or other molecular components.

Tables, graphs, networks, or structured interaction records.

  • Protein interaction networks

  • Gene regulatory networks

  • Pathway analysis

  • Network-based functional investigation

An interaction record must be interpreted according to the type of relationship, experimental evidence, confidence, and biological context.

Biological Image Data

Represents observations from microscopy, histology, medical imaging, and other imaging technologies.

Pixel or voxel arrays with image metadata, spatial dimensions, and acquisition information.

  • Cell segmentation

  • Tissue classification

  • Microscopy image analysis

  • Spatial biological investigation

Resolution, calibration, staining, image acquisition settings, and preprocessing affect the interpretation of measurements.

Clinical and Phenotypic Data

Represents observable characteristics, disease-related information, physiological measurements, and clinical observations.

Structured tables, coded clinical records, controlled vocabularies, and linked metadata.

  • Genotype–phenotype analysis

  • Clinical research

  • Biomarker studies

  • Population-level investigation

Data privacy, consent, measurement definitions, missing values, population characteristics, and clinical coding systems are essential.

Computational Representations

RepresentationExplanationExampleAdvantagesLimitations

Strings

Used for ordered symbolic sequences such as DNA, RNA, and proteins.

ATGCGTAC

  • Simple and intuitive representation of molecular sequences.

  • Suitable for sequence comparison, searching, and indexing.

  • A plain string does not automatically preserve sample metadata, quality information, or genomic coordinates.

Arrays and Matrices

Used for numerical measurements, expression profiles, and structured experimental datasets.

A gene-expression matrix with genes as rows and samples as columns.

  • Supports efficient numerical computation.

  • Compatible with statistical analysis and machine learning.

  • The meaning of rows, columns, units, normalization, and missing values must be documented.

Tables and Records

Used to organize genomic features, variants, sample information, annotations, and experimental observations.

A table containing gene identifiers, chromosome locations, and functional descriptions.

  • Supports filtering, sorting, joining, and database operations.

  • Can preserve multiple descriptive attributes for each biological entity.

  • Complex biological relationships may be difficult to represent using isolated flat tables.

Graphs and Networks

Used to represent relationships among genes, proteins, metabolites, organisms, or biological pathways.

A protein interaction network in which nodes represent proteins and edges represent reported interactions.

  • Represents complex relationships and network topology.

  • Supports connectivity and network-based analysis.

  • Network meaning depends on the definition, direction, confidence, and evidence of each edge.

Three-Dimensional Coordinates

Used to describe molecular structures through spatial coordinates of atoms or other structural components.

A protein structure containing the Cartesian coordinates of its atoms.

  • Enables geometric analysis and molecular visualization.

  • Supports structural comparison and interaction studies.

  • Coordinates alone do not fully describe molecular dynamics, environmental conditions, or uncertainty.

Images and Multidimensional Arrays

Used to represent microscopy, medical imaging, and spatial molecular measurements.

A three-dimensional microscopy image represented as a voxel array.

  • Preserves spatial information.

  • Supports image-processing and spatial analysis methods.

  • Large image datasets require substantial storage and careful calibration.

Biological Data Formats

FormatPurposeTypical StructureCommon UseImportant Note

FASTA

Stores nucleotide or protein sequences with descriptive header lines.

A header beginning with the greater-than symbol followed by one or more sequence lines.

Sequence storage, sequence alignment, and similarity searching.

Basic FASTA files do not normally preserve per-base sequencing quality scores.

FASTQ

Stores nucleotide sequence reads together with corresponding per-base quality information.

Four logical lines per record: identifier, sequence, separator, and quality string.

High-throughput sequencing data processing and quality assessment.

The quality string uses an encoding scheme whose interpretation depends on the FASTQ specification and platform conventions.

GenBank

Stores nucleotide sequence records together with biological annotations and associated metadata.

Sequence retrieval, feature annotation, and molecular research.

It can include information about genes, coding sequences, references, and other annotated features.

GFF3

Represents genomic features such as genes, transcripts, exons, and other annotated regions.

Genome annotation and feature-coordinate analysis.

Coordinate conventions, feature relationships, and attribute fields must be interpreted according to the specification.

BED

Represents genomic intervals and associated feature information.

Genome browser tracks, interval comparison, and genomic region analysis.

BED commonly uses zero-based, half-open coordinates, which differ from some other biological formats.

VCF

Represents genetic variants and associated information.

Variant storage, filtering, and genomic variation analysis.

Reference genome information, variant normalization, and genotype interpretation are essential.

PDB and mmCIF

Represent three-dimensional macromolecular structures.

Protein structure visualization, structural comparison, and molecular modelling.

The two formats differ in organization and capabilities; mmCIF supports richer structural information and is central to the modern PDB archive.

SAM and BAM

Represent sequence alignment records, with BAM being a compressed binary representation of SAM.

Storage and analysis of reads aligned to reference genomes.

Alignment flags, reference coordinates, mapping quality, and optional tags have defined meanings.

Metadata And Data Provenance

Definition

Metadata describes the context, origin, structure, and interpretation of a dataset, while provenance records how the data were generated, processed, transformed, and analyzed.

Essential Metadata

  • Organism or biological source.

  • Sample identifier and sample type.

  • Tissue, cell type, or environmental origin where applicable.

  • Experimental condition and treatment information.

  • Collection date or relevant time point.

  • Sequencing, imaging, or measurement platform.

  • Reference genome or database version where applicable.

  • Units, coordinate conventions, and measurement definitions.

  • Preprocessing procedures and quality-control information.

  • Software versions and analytical parameters.

Importance

Without appropriate metadata and provenance, researchers may be unable to reproduce an analysis, compare datasets correctly, or interpret the biological meaning of a measurement.

Data Quality And Validation

AspectDescription

Completeness

Determine whether essential fields, sequence regions, sample measurements, and metadata are missing.

Validity

Check whether values, identifiers, symbols, and records conform to the expected biological and technical format.

Consistency

Check whether the same biological entity is represented consistently across records, datasets, and reference resources.

Accuracy

Evaluate whether recorded measurements and annotations adequately represent the underlying biological observations.

Uniqueness

Identify duplicate records, repeated identifiers, and redundant observations that could distort analysis.

Provenance

Verify where the data originated and which transformations or processing steps were applied.

Computational Data Lifecycle

  • Data acquisition from experiments, repositories, or computational predictions.

  • Data validation and quality assessment.

  • Conversion into appropriate computational representations.

  • Storage in files, databases, or structured data systems.

  • Preprocessing, normalization, and transformation where scientifically justified.

  • Computational analysis and statistical evaluation.

  • Visualization and biological interpretation.

  • Documentation, preservation, and responsible data sharing.

Example or application

A worked example has not yet been added.

Definition

Biological Data

Biological data are recorded observations, measurements, sequences, structures, annotations, or other information describing biological entities, processes, and systems.

Computational Representation

A computational representation is a structured digital encoding of information that allows computer systems and analytical algorithms to store, process, compare, and interpret data.

Key Principle

A computational representation must preserve the biological meaning and relevant context of the original observation rather than merely converting it into a digital format.

Purpose

  • To understand the major forms of biological information and how they are represented digitally.

  • To select appropriate data structures and file formats for different biological datasets.

  • To preserve biological meaning, metadata, measurement units, and coordinate information during data processing.

  • To develop reliable methods for validating, organizing, and integrating biological data.

  • To prepare learners for practical work involving sequence files, expression matrices, variant records, and molecular structures.

Importance

  • Correct data representation is essential because algorithms depend on the structure and meaning of their input.

  • Inappropriate formats or misunderstood coordinate conventions can produce serious errors in genomic analysis.

  • Metadata allows researchers to interpret biological measurements within their experimental and organismal context.

  • Standardized formats improve interoperability among databases, software tools, and research institutions.

  • Data provenance and quality assessment are necessary for scientific reproducibility and reliable interpretation.

  • Understanding different data structures enables learners to choose appropriate computational approaches for complex biological datasets.

Worked Examples

Example TitleBiological ObservationComputational RepresentationInterpretation

Representing a DNA Sequence

A DNA fragment contains the nucleotide sequence ATGCGTAC.

Type

String

Value

ATGCGTAC

The ordered characters represent nucleotide identities. The sequence can be compared with reference sequences, but its biological function cannot be established from the short string alone.

Representing Gene Expression

Three genes are measured in two experimental samples.

Rows

  • Gene_A

  • Gene_B

  • Gene_C

Columns

  • Sample_1

  • Sample_2

Values

    • 120

    • 250

    • 80

    • 75

    • 300

    • 140

The matrix organizes numerical measurements by gene and sample. The values must be identified as a particular measurement type, such as raw read counts, before statistical interpretation.

Representing a Genomic Variant

A nucleotide at a defined genomic position differs from the reference sequence.

Chromosome

ExampleChromosome

Position

1050

Reference Allele

A

Alternate Allele

G

The record describes a possible A-to-G substitution at the specified position. Actual genomic coordinates require a defined reference assembly and valid chromosome identifier.

Learning Outcomes

  • Explain how different biological data types are represented computationally.

  • Distinguish sequence data, numerical matrices, genomic variants, molecular structures, and biological networks.

  • Identify the purpose and major characteristics of common bioinformatics file formats.

  • Explain why metadata, provenance, and standardized identifiers are essential.

  • Recognize data-quality problems that may affect computational analysis.

  • Select a suitable computational representation for a basic biological research problem.

Practical Skills

  • Create and inspect a basic FASTA file.

  • Recognize the structure of a FASTQ record.

  • Distinguish nucleotide sequence data from protein sequence data.

  • Load a small numerical expression matrix and identify its rows, columns, and values.

  • Inspect a basic genomic feature or variant record.

  • Identify essential metadata required to interpret a biological dataset.

  • Validate sequence characters and detect simple formatting errors.

Common Misconceptions

MisconceptionCorrection

All biological data can be stored effectively as plain text.

Different data types require different representations. Molecular structures, images, numerical matrices, and genomic intervals often require specialized formats or structured data systems.

A sequence file contains all information about the biological sample.

Sequence files may not contain essential experimental metadata, sample context, or complete provenance.

Raw read counts and normalized expression values are interchangeable.

They represent different measurement forms and require appropriate analytical interpretation.

A genomic coordinate is meaningful without specifying a reference assembly.

Coordinates depend on the reference genome and coordinate convention being used.

A structurally valid file must contain scientifically accurate information.

Correct formatting does not guarantee that the underlying biological measurements or annotations are accurate.

Limitations

  • No single data format is appropriate for every type of biological information.

  • Converting between formats can result in information loss if the target format cannot represent all original attributes.

  • Different databases may use different identifiers, annotation conventions, or reference versions.

  • Large-scale sequencing and imaging datasets can require substantial storage and computational resources.

  • Missing metadata can make otherwise valid data difficult or impossible to interpret correctly.

  • Data preprocessing can introduce bias if transformations are selected without understanding the measurement process.

Self Assessment

  • How is a nucleotide sequence represented computationally?

  • What information does FASTQ preserve that basic FASTA generally does not?

  • Why are genomic coordinate systems and reference assemblies important?

  • How does a gene-expression matrix organize biological measurements?

  • What is the difference between data and metadata?

  • Why is data provenance necessary for reproducible bioinformatics research?

Related Topics

  • Introduction to Bioinformatics

  • Biological Information Flow and the Central Dogma

  • Biological Databases and Data Resources

  • Bioinformatics Research Workflows

  • Computational Biology vs. Bioinformatics

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • NCBI: GenBank and Sequence Read Archive documentation.
  • EMBL-EBI Training: Biological data formats and sequence analysis.
  • The Sequence Alignment/Map Format Specification: SAM/BAM documentation.
  • VCF Specification: Variant Call Format documentation.
  • Pevsner, J. Bioinformatics and Functional Genomics. Wiley.
  • Mount, D. W. Bioinformatics: Sequence and Genome Analysis. Cold Spring Harbor Laboratory Press.

Suggest a correction or source · More in Bioinformatics