📘 CodingMarble Learn

Bioinformatics: Computers in Biology

Bioinformatics uses computers to store, search and compare biological data. Lab results go into spreadsheets; DNA and protein sequences go into online databases; alignment tools compare sequences to find matches, differences (like SNPs) and relatives; image software measures what a microscope camera sees. Data about people must be kept private and used fairly.

🎬 Step-by-step story

  1. A lab makes many numbers. A spreadsheet puts them in rows and columns and works out the mean for us.
  2. DNA is a chain of 4 letters: A, T, G and C. Computers keep it as plain text in big online databases.
  3. Alignment: slide a short sequence along a long one. Where the most letters match, the sequences line up best.
  4. One letter is different. A single-letter difference between people is a SNP. Matches ÷ length gives % identity.
  5. A microscope camera turns an image into pixels. The computer counts coloured pixels to measure a cell.
  6. Your turn: slide the query and change a letter. Predict the % identity, then check.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why not just use a notebook for lab results?

A notebook cannot recalculate. A spreadsheet updates the mean and graph the moment you fix a number.

How can letters describe a living thing?

DNA really is a chain of four building blocks. We name them A, T, G, C, so the chain becomes text a computer can store.

How does the computer know where two sequences match best?

It tries every position, counts matches and keeps the best score, like sliding the strip.

Is a SNP a mutation that makes you ill?

Usually not. It is just a one-letter difference; most have no effect.

How can a computer measure a cell?

It counts the pixels that belong to the cell and multiplies by the area of one pixel.

What is bioinformatics?

Bioinformatics = biology + computer science + statistics. Living things hold huge amounts of information. One human genome has about 3.2 billion DNA letters. No person can read that by hand, so we use computers.

Bioinformatics helps to: store data safely, search it fast, compare sequences, find genes, and predict what a protein does.

Spreadsheets for lab data

A spreadsheet is a grid of cells in rows and columns. Each row can be one sample; each column one measurement (for example absorbance or colony count).

Sequence databases

A DNA sequence is written with 4 letters: A, T, G, C. A protein sequence uses 20 letters, one per amino acid.

Public databases hold millions of sequences that scientists share freely. Examples: GenBank (USA), ENA (Europe) and DDBJ (Japan) share the same data every day. UniProt holds proteins; PDB holds 3D protein shapes.

Each record has an ID number, the organism, a description and the sequence. A common text format is FASTA: a line starting with > for the name, then the letters.

Sequence alignment

Alignment lines up two sequences to see where they match. The computer slides one sequence along the other and scores each position: a match scores +, a mismatch or gap scores −. The best score wins.

% identity = matching letters ÷ letters compared × 100. High identity often means the genes have a common ancestor.

Tools such as BLAST search a whole database for sequences that look like yours in seconds. Uses: naming an unknown bacterium, finding a gene in another species, tracing a virus.

Genomes, SNPs and proteins

Genomics

A genome is all the DNA of an organism. Programs scan it for start and stop signals to predict genes and count them. Humans have about 20 000 protein-coding genes.

SNPs

A SNP (single nucleotide polymorphism, say "snip") is a place where people differ by one letter. Most SNPs are harmless; some affect disease risk or how a medicine works.

Comparative and functional genomics

Comparing genomes of species shows what is shared and what is new. Functional genomics asks which genes are switched on, where and when.

Proteomics

Proteomics studies all the proteins of a cell. Software predicts a protein's shape from its letters, which helps design medicines.

Digital images in the lab

A camera on a microscope makes a digital image: a grid of tiny squares called pixels. Each pixel stores numbers for brightness or colour.

Image software can count cells, measure size or area, and compare colours. Always add a scale bar (for example 10 µm) and never edit an image in a way that changes the result.

Ethics and digital data

Try it

Write two short words of DNA on paper strips, for example ATGCCTA and ATGACTA. Slide one under the other and count matches at each position. Work out the % identity. Then do the same in the 3D free play.

Key formulas and definitions

Worked examples

1. Absorbance values are 0.42, 0.55, 0.38, 0.61, 0.47 and 0.53. Find the mean.

Sum = 2.96. Mean = 2.96 ÷ 6 ≈ 0.49.

2. Align ATGCCTAG with ATGACTAG. Find % identity.

Compare 8 positions: only position 4 differs (C vs A). Matches = 7. % identity = 7 ÷ 8 × 100 = 87.5%.

3. A cell covers 22 pixels. Each pixel is 0.5 µm × 0.5 µm. Find the cell area.

One pixel = 0.25 µm². Area = 22 × 0.25 = 5.5 µm².

4. Two people's sequences: GATTACA and GATCACA. How many SNPs, and where?

Position 4: T vs C. One SNP.

Common mistakes

Practice quiz

1. Bioinformatics mainly uses computers to:
2. How many letters are used to write DNA?
3. 8 letters compared, 6 match. % identity =
4. A SNP is:
5. A digital image is made of:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

Do I need to code to do bioinformatics?

To start, no: many web tools and spreadsheets are point-and-click. For big projects, languages like Python or R help.

What is the difference between genomics and proteomics?

Genomics studies all the DNA (genes) of an organism; proteomics studies all its proteins.

What is BLAST?

A free tool that compares your sequence with a whole database and lists the most similar sequences with their % identity.

Where this is taught

CBSE (India)Class 12Protein and Gene Manipulation
FrancePremièreBiotechnology (option)
FranceTerminalePart L: working together in the lab

Learn first

Learn next

Related lessons

All Biology lessons