A self-paced course for university students. Learn how to ask a biological question, choose tools, interpret results, and document an analysis someone else can repeat.
Bioinformatics uses computing and statistics to study biological data. A research question guides the analysis. The data determine which tools make sense, and the evidence determines how far the conclusion can go.
For example, a student might ask whether a treatment changes gene expression in human airway cells. They would check which samples belong together, compare gene counts, and explain which patterns they observed and how much uncertainty remains.
Five modules take you from reading biological data to presenting a small research study. Each module introduces a concept and shows where to practice it.
Learning outcomes
Explain how genes, transcripts, proteins, and biological measurements relate to one another.
Identify common file formats and select a tool by its input and expected output.
Run and document a small computational analysis using example data.
Interpret a result, explain its limitations, and cite the dataset and methods.
Before you begin. Basic biology and familiarity with tables are useful. Start with the foundations if those topics are new to you. The browser labs provide a starting point for learning code.
Bioinformatics foundations
Bioinformatics uses computing and statistics to organize biological data, compare observations, and test ideas. Start with what a file represents, then ask which conclusions it can support.
1. Connect DNA, RNA, and proteins
Explain how a genome location, an RNA transcript, and a protein record describe different parts of a biological system.
A genome is an organism’s complete DNA sequence. Transcription makes RNA from a DNA template. For a protein-coding gene, translation uses the instructions in a messenger RNA to build an amino acid chain. Some genes produce functional RNA as their end product. In humans and plants, RNA splicing can join exons in different combinations, so one gene can have several transcript records.
A reference genome provides a shared coordinate system, and a genome annotation labels features such as genes, transcripts, and exons. A position is meaningful together with the organism, assembly, and chromosome. At the human HBB locus, a genome browser can show exon locations, a transcript record can show the spliced RNA, and a protein database can describe the beta-globin chain. NHGRI teaching guide · Ensembl HBB record
Where would you look for an exon boundary?
Use the genome annotation or the transcript track in a genome browser. Record which assembly and transcript you are viewing because they define the coordinates and exon boundaries you will report.
Distinguish raw data from a processed result and identify what you need to know about samples before comparing them.
Inspect the reads. A FASTQ file contains sequence reads and base-quality estimates. A FastQC report can flag issues such as low-quality positions or adapter sequence for investigation.
Map and summarize. An alignment places reads against a reference sequence and can be stored in SAM or BAM. In a typical RNA-seq workflow, a counting tool summarizes alignments into a table with genes and samples.
Compare samples. The sample sheet records the condition, biological source, and any relevant handling differences. For a statistical analysis such as DESeq2, supply raw counts with the sample information. The method accounts for differences in sequencing depth within its model.
In the public Airway example, four human airway cell lines each contribute an untreated and a treated sample. That pairing lets you compare the two conditions within each cell line. Sequencing the same library twice is technical replication. Sampling independent biological sources helps you estimate biological variation. FastQC documentation · DESeq2 guide · Airway study records
Does twice the raw count mean twice the expression?
Raw counts depend on the number of reads collected in each sample. Check the sequencing depth, the comparison design, and the method used to normalize counts before interpreting the difference. A statistical comparison also needs evidence about variation across samples.
Distinguish experimental observations, curated annotations, and predictions, then document how you reached a conclusion.
Use the accession, a persistent identifier for a database record, to find the exact entry. GEO records link a study and its samples. UniProtKB describes proteins and labels the evidence behind annotations. A reviewed UniProtKB entry has been examined by curators and can contain both experimental and computational evidence. The RCSB PDB record 2HHB identifies a structure determined with X-ray diffraction. For each claim, record the method or reference that supports it. UniProtKB evidence and curation · RCSB PDB record 2HHB
In a reproducible analysis, a classmate can locate your inputs, rerun the steps, and understand why you interpreted the output as you did. Keep a short analysis record with the research question, source accessions or files, reference assembly when relevant, tool versions, parameters, and the exact command or notebook. Save the result alongside a note about its main limitation. Reproducible computational research
What would support a protein function inferred from sequence similarity?
Sequence similarity can suggest a function worth investigating. Look for direct evidence in the record or linked papers, such as an experiment measuring the proposed activity in that protein.
A tool has an input, a method, and an output you can check. A workflow joins tools together and records the decisions that make their outputs comparable.
Look up a known record
Use a stable identifier in a database such as UniProtKB. Record the accession and the evidence attached to the annotation.
Compare biological data
Choose the method that fits the question. Sequence similarity, read counts, and predicted structures answer different questions.
Check what you produced
After each step, open the output and verify sample names, units, and any missing values before using it in the next step.
Which tool would you start with for a known protein accession?
Start with a record lookup such as UniProtKB. You can inspect its sequence and annotations before deciding whether an alignment or a structure viewer would help.
A short report should let a reader follow the path from your question to your evidence. Include the data source, the method, and a figure or table that supports the result.
State a question that your available data can answer.
Describe the samples or records and document the tool, settings, and inputs.
Report one main observation with its units, conditions, and comparison.
Explain one limitation and what extra evidence could resolve it.
What would you save so someone can repeat the work?
Save the input file or stable accession, the script or tool settings, the software version, and the original output. Include a short README describing the order of the steps.
Start with a browser exercise or open a tool lesson. Each activity gives you data to work with and an output to check.
Python and R notebook
Run an exercise on a small fictional dataset in your browser. Edit the starter code, inspect the output, then check that your solution works on a second example.
Output
Ready to run. The first run downloads the selected language runtime.
Show a hint
Each run starts with a fresh set of variables. The code runs on your device using Pyodide or WebR.
Run a workflow
Start with a known dataset, run each step, and save an output you can explain.
Compare sequences and build a tree
Start with a public Arabidopsis protein in NCBI BLAST. Then practice alignment and tree building with five fictional classroom sequences.
Open the prefilled Protein BLAST form for NP_171609.1. Set the organism to Arabidopsis thaliana before running the search. Compare the reported percent identity and query coverage.
Choose two classroom records below and run a global alignment. A vertical bar marks identical letters and a dash marks a gap.
Build a tree from all five records. Compare its groupings with the pairwise alignment and save the Newick file.
This example groups similar records using UPGMA, an average-distance method that assumes an equal rate of change. The result illustrates clustering for these fictional records.
Compare paired RNA-seq samples
Use four genes and eight published samples from a human airway smooth muscle experiment. Each cell line has an untreated sample and a dexamethasone-treated sample.
Check the sample table and find the two conditions for each cell line.
Normalize raw counts using each sample’s total library size. This gives counts per million reads counted, or CPM.
Calculate the log₂ treated-to-untreated CPM ratio for each pair. Average the four ratios for each gene and download the report.
Positive ratios indicate higher expression after treatment on average. This small subset is a descriptive comparison. Use the full DESeq2 script for a statistical analysis.
Interactive data explorer
Zoom into a human gene, rotate a measured protein structure, or compare RNA read counts from a published study.
Genome browser
Explore HBB-201, a transcript of the human hemoglobin beta gene. The filled blocks are exons. The line connects them across the intervening introns.
HBB-201Chromosome 11 · GRCh38
Starting view shows exons 1–3 on the reverse strand.
Rotate the measured structure of human deoxyhemoglobin (PDB 2HHB). Each trace connects successive alpha carbons in one chain. Gold circles mark the iron atoms in four heme groups.
Drag the structure to rotate it, or use the rotation buttons.
Compare RNA-seq read counts for four genes across eight published human airway smooth muscle samples. The experiment paired untreated and treated samples from each of four cell lines.
Choose a research area to see how its data moves from the first quality check to a result you can interpret. Each workflow explains what the tools do and what the outputs can tell you.
Genomics
Studies DNA and how it varies across individuals or populations.
Which DNA variants are documented near a human gene?
For example, a genome annotation can supply gene coordinates for RNA counting and protein sequences for a gene-family study. Expression results can also become input for a systems biology network.
Recommended learning order
Learn the shared tools first, then follow this route or jump to the field that fits your project.
Start with the workflow that fits your question and input data. When a step lists alternatives, choose one that fits your data and resources.
Genomics
Study genome sequences, genetic variation, and how genes and other features are organized. A reference-based study asks where a sample differs from an existing genome assembly. A genome annotation describes features such as genes and transcripts on that assembly.
Reference-based variant analysis
Collect raw DNA readsFind public sequencing runs in the NCBI Sequence Read Archive (SRA). Record the run accession, sample ID, sequencing platform, and read layout. FASTQ carries each read’s sequence and the quality score for each base.
Check read qualityUse FastQC for per-file reports and MultiQC to compare reports across samples. Look for low-quality cycles, adapter sequence, and samples that differ from the rest of the study.
Trim when supported by the quality reportUse fastp or Trimmomatic to remove adapters or poor-quality ends as needed. Check that paired reads stay in sync and compare the reports before and after trimming.
Align to a reference genomeUse BWA-MEM2 or Bowtie 2 to place short DNA reads on the indexed reference. Record the exact genome assembly because chromosome names and coordinates may differ between releases.
Process and check the alignmentsUse SAMtools to convert, sort, and index alignments as BAM. Review mapping and coverage summaries to find low-quality samples or regions with weak evidence.
Call candidate variantsUse a caller suited to the study, such as GATK or BCFtools. The resulting VCF records variant positions, reference and alternate alleles, and available information about genotypes and evidence.
Filter the callsUse GATK or BCFtools to flag calls based on evidence such as read depth, genotype quality, or missingness. Record the rules and inspect how many calls pass in each sample.
Predict variant consequencesUse SnpEff or Ensembl VEP with a compatible genome assembly and annotation. A single variant can receive different consequences for different transcripts of the same gene.
Inspect and interpretUse IGV to view reads around an example locus and R to plot summary statistics across samples. Check the depth and alignment quality at a locus before making a claim about the variant.
Tool
Function
FastQC and MultiQC
Assess sequencing quality per file and collect those reports into a study-wide view.
fastp and Trimmomatic
Trim sequencing adapters and filter or trim bases according to quality settings.
BWA-MEM2 and Bowtie 2
Map DNA reads to coordinates on a reference genome.
SAMtools
Read, sort, and index SAM or BAM alignments and report mapping and coverage statistics.
GATK
Discover and genotype variants. Includes methods for filtering and evaluating callsets.
BCFtools
Call variants from alignment evidence and process, query, and filter VCF or BCF files.
SnpEff and Ensembl VEP
Annotate variants with predicted effects on genes, transcripts, or other genomic features.
IGV and R
Inspect reads and variants at a genome position. Use R for study-wide summaries and plots.
Expected outputs An annotated VCF with single-base variants and short insertions and deletions, plus quality reports, indexed alignments, and a record of filtering choices.
Measure RNA abundance, compare gene expression across conditions, and investigate transcript use, alternative splicing, and pathways. This workflow uses bulk RNA sequencing to estimate expression averaged across the cells in each sample.
Bulk RNA-seq analysis
Collect raw RNA-seq readsRetrieve the public FASTQ reads through NCBI SRA or start with supplied FASTQ files. Record sample identity, condition, biological replicate, and library layout before processing.
Check the original readsRun FastQC and inspect base quality, adapter content, and overrepresented sequences. Retain the reports so you can compare them after preprocessing.
Trim where neededUse Trimmomatic or fastp to remove adapters and address supported quality issues. Track read retention so an aggressive trimming choice is easy to spot.
Compare quality after trimmingRun FastQC again and summarize pre- and post-trimming reports with MultiQC. Review both improvements and remaining differences between libraries.
Index a reference genomeBuild the STAR or HISAT2 index from the chosen genome. Use version-matched gene annotations and keep the assembly and annotation release with the analysis.
Align across splice junctionsUse STAR or HISAT2 to place RNA reads on the genome. Splice-aware alignment can place different parts of a read in separate exons when the read spans a splice junction.
Check and process the alignmentsUse SAMtools to sort, index, or summarize BAM files. Use MultiQC to compare alignment logs and review mapping rates, assigned reads, or outlying samples.
Quantify expressionUse featureCounts or HTSeq-count to assign aligned reads or fragments to annotated genes. Check the library’s strand setting and review the fraction of reads successfully assigned.
Assemble the count matrix and metadataUse R or Python to match sample IDs. Each matrix column represents one sample and each row one gene. A separate sample table records condition, biological replicate, and relevant batch or pairing information.
Test differential expressionUse DESeq2 or edgeR with count data and a model that reflects the study design. Define the comparison direction and report log2 fold changes and adjusted p-values. Use the recommended import workflow if your input comes from a transcript quantifier.
Visualize patterns and resultsUse PCA to inspect sample-level variation. Make a heatmap of scaled or transformed expression for selected genes, a volcano plot for effect size and significance, and an MA plot for effect size across mean expression.
Test for functional enrichmentUse Gene Ontology (GO) or KEGG annotations with an analysis tool such as clusterProfiler. For a gene-list test, choose an appropriate background of genes eligible for selection and account for testing multiple categories.
Interpret the comparisonConnect candidate genes and pathways to the original question. Consider effect size, consistency across biological replicates, annotation quality, and limitations in the study design.
Tool
Function
STAR
Indexes a genome and aligns RNA-seq reads, including reads that span exon junctions.
HISAT2
Performs splice-aware RNA alignment using a memory-efficient index.
featureCounts and HTSeq-count
Generate gene-level counts from alignments and compatible feature annotations.
Salmon
Estimates transcript abundance with methods that account for several sources of sequencing bias.
kallisto
Uses pseudoalignment to estimate transcript abundance from reads.
DESeq2 and edgeR
Model variation in count data across samples and test differential expression for a defined comparison.
clusterProfiler
Tests functional enrichment and helps summarize results from sources such as GO and KEGG.
Expected outputs An expression matrix, plots showing sample and gene patterns, tables of upregulated and downregulated genes for each comparison, and enriched terms or pathways when there is sufficient evidence.
Study protein sequences, conserved domains, structures, functions, and molecular interactions. Start with a protein sequence and build an evidence trail from its database record to its candidate function.
Retrieve the protein sequenceFind an amino acid FASTA in UniProt, NCBI Protein, or Ensembl. Record the accession, organism, and isoform so a reader can identify the same sequence.
Search for sequence similarityUse BLASTp to find similar protein sequences. Read alignment coverage and percent identity beside the E-value, and check whether the match spans the whole protein or only one domain.
Identify conserved domainsUse HMMER to search Pfam profiles, which represent sequence patterns within protein families. Record the match coordinates so you can compare domain arrangements.
Annotate families, domains, and functional sitesUse InterProScan to combine signatures from member databases and group the evidence into interpretable annotations. Record whether your proposed function comes from sequence evidence or published experiments.
Estimate physicochemical propertiesExPASy ProtParam reports sequence-based estimates such as molecular weight, theoretical isoelectric point (pI), and an instability index. The pI is the estimated pH at which the net charge is zero.
Align several related proteinsUse MAFFT or MUSCLE to line up comparable residues. Highlight the conserved positions and inspect stretches with many gaps before interpreting them.
Examine a predicted structureLook for an experimental structure in the PDB when one is available. Compare with an AlphaFold prediction or with a template-based model from SWISS-MODEL when the question calls for a structural model.
Assess structural qualityUse MolProbity to inspect features such as steric clashes and geometry. For AlphaFold, read pLDDT for local confidence and predicted aligned error (PAE) for uncertainty in the relative placement of regions.
Visualize the structureUse PyMOL or ChimeraX to inspect domains, highlight residues, and export a labeled figure. Label the model source and indicate low-confidence regions in the figure or caption.
Explore docking as an optional analysisAutoDock Vina predicts plausible poses for a small molecule relative to a protein. A pose and score provide a hypothesis for experimental follow-up.
Tool or resource
Function
UniProt, NCBI Protein, Ensembl
Provide protein sequences, accessions, and supporting annotations.
BLASTp
Reports regions of local protein sequence similarity.
HMMER
Uses probabilistic profile models to detect homologous sequences and domains.
Pfam
Provides curated protein family and domain profiles.
InterProScan
Combines multiple databases to annotate families, domains, and sites.
ExPASy ProtParam
Calculates sequence-derived properties such as mass, theoretical pI, and instability index.
MAFFT, MUSCLE
Build a multiple sequence alignment for residue-by-residue comparisons.
AlphaFold, SWISS-MODEL
Predict protein structures. SWISS-MODEL uses homologous templates.
MolProbity
Checks structural geometry and flags possible steric clashes.
PyMOL, ChimeraX
Display and annotate molecular structures in 3D.
AutoDock Vina
Provides candidate protein–ligand poses and docking scores.
Expected outputs Candidate protein families, a domain map with coordinates, a multiple sequence alignment, predicted functions with evidence notes, and a 3D structure or model with quality metrics. An optional docking study adds candidate molecular interactions.
Study evolutionary relationships, gene families, conserved sequences, and natural selection. Decide whether your question is about a particular gene family or the history of the species themselves.
Retrieve sequences and identifiersCollect comparable sequences from NCBI, UniProt, or Ensembl. Save the accessions and species names, and document which isoforms or representative sequences you keep.
Identify candidate homologsUse BLAST or HMMER to find related sequences. For comparative studies across species, OrthoFinder can place genes into groups with a shared ancestral gene and infer orthology relationships.
Check which sequences belongUse Pfam or InterProScan to confirm the expected domain and inspect coverage and sequence length. Note exclusions and possible incomplete gene models before building the alignment.
Build a multiple sequence alignmentUse MAFFT or MUSCLE to put comparable positions into columns. Use an alignment appropriate for the question, such as an amino acid alignment for comparing protein domains.
Inspect the alignment and trim if justifiedReview gap-rich or ambiguous regions. If filtering follows from the question and data, use trimAl or ClipKIT and record the rule, the original alignment, and how many sites remain.
Choose a model of sequence evolutionModelFinder can compare candidate models for how the residues or nucleotides change over time. Record the selected model and the criterion used to choose it.
Infer the treeUse IQ-TREE or RAxML-NG to estimate a maximum-likelihood tree from the alignment and chosen model. Decide how to root the tree and explain the choice when interpreting branching order.
Assess branch supportBootstrap analysis measures how consistently a grouping reappears when the alignment is resampled. Report the bootstrap method and replicates and discuss branches with weak support.
Visualize and annotate the treeOpen the Newick tree in iTOL or FigTree. Label species or gene groups, show branch support and the scale, and save the figure alongside the original Newick file.
Add an evolutionary test when the question needs onePAML or HyPhy can test hypotheses about selection using suitable alignments and models. MCScanX uses homology and genomic gene order to look for conserved blocks and duplication patterns.
Tool or method
Function
BLAST, HMMER
Find candidate homologs by sequence similarity or conserved profile matches.
OrthoFinder
Infers orthogroups, orthology relationships, gene trees, and duplication events across species.
Pfam, InterProScan
Check for shared domains and help validate the set of sequences for comparison.
MAFFT, MUSCLE
Produce multiple sequence alignments for comparing related positions.
trimAl, ClipKIT
Filter alignment columns using documented criteria.
ModelFinder
Compares models of sequence evolution, using information criteria such as BIC.
IQ-TREE, RAxML-NG
Estimate phylogenetic trees by maximum likelihood and support bootstrap analysis.
iTOL, FigTree
Visualize and annotate phylogenetic trees for interpretation and reporting.
PAML, HyPhy
Fit molecular-evolution models and test hypotheses about selective pressures.
MCScanX
Detects conserved gene order and helps characterize patterns of gene duplication.
Expected outputs A documented sequence set, a multiple sequence alignment, a tree with branch support values, and a figure showing inferred evolutionary relationships. Additional analyses can report gene duplication patterns or model-based estimates of selective pressure.
Study which microbes are present, how diverse a community is, and how its composition and abundance relate to the environment. Pick a workflow based on what the sequencing measured.
16S rRNA amplicon sequencing
Reads cover part of a marker gene. Use this approach to compare bacterial and archaeal communities at the taxonomic resolution the marker supports.
Import raw readsBring FASTQ reads into QIIME 2 and check that sample identifiers match the sample metadata.
Remove residual primersCutadapt trims primer and adapter sequence when present in the reads.
Denoise readsDADA2 models sequencing errors and removes chimeric sequences. Review how many reads each sample retains.
Build an ASV tableDADA2 returns representative amplicon sequence variants (ASVs) and a matrix showing how often each ASV was observed in each sample.
Assign taxonomyCompare representative sequences with a classifier based on a ribosomal RNA reference such as SILVA. Record the database release and compare groups at a rank the marker can resolve.
Measure diversityAlpha diversity summarizes variation within each sample. Beta diversity measures differences in composition between samples.
Compare abundanceUse a suitable differential abundance method such as ANCOM-BC and account for relevant sample characteristics and multiple tests.
Visualize communitiesUse a taxonomic composition chart and a principal coordinates analysis (PCoA) plot to inspect variation among samples.
Shotgun metagenomics
Reads sample DNA from across the community. Use them to estimate taxonomic composition and infer which functions the community's DNA could support.
Check raw readsStart with FASTQ files. FastQC summarizes read quality and fastp can remove adapters and trim low-quality sequence.
Account for plant DNAIn plant-associated samples, exclude reads attributed to the plant host where appropriate and document how much sequence was removed.
Profile taxaKraken 2 classifies individual reads. MetaPhlAn estimates relative taxonomic abundance from marker genes. Record the reference database release and how the profile was estimated.
Profile functionsHUMAnN summarizes gene families and metabolic pathways represented in the reads. These DNA-based estimates describe functional potential.
Compare diversityUse compatible abundance profiles to compare within-sample diversity and between-sample differences.
Test and visualize differencesCompare taxa or pathways using a method suited to the data. Visualize composition, sample distances, or the abundance of selected features.
Optional assembly uses MEGAHIT to assemble reads into contigs. MetaBAT2 groups contigs into provisional genome bins when the study calls for assembly-based analysis.
Tool
Function
QIIME 2
Runs microbiome analysis steps through plugins and records how results were generated.
Cutadapt
Removes primer and adapter sequences from reads.
DADA2
Denoises marker reads and returns ASV sequences and their counts.
SILVA
Provides aligned, quality-checked ribosomal RNA reference sequences for taxonomy.
FastQC and fastp
Assess and preprocess raw reads, respectively.
Kraken 2
Assigns taxonomic labels to reads using a sequence reference database.
MetaPhlAn
Estimates community composition using taxon-specific marker sequences.
HUMAnN
Estimates gene-family and pathway profiles from shotgun data.
MEGAHIT
Assembles metagenomic reads into contigs.
MetaBAT2
Groups assembled contigs into candidate genome bins.
phyloseq
Combines feature tables, metadata, and taxonomy for microbiome analysis and plotting in R.
ANCOM-BC
Tests for differential taxon abundance with correction for sampling bias.
Expected outputs Community composition and relative-abundance estimates, diversity statistics, candidate microbial indicators, and functional profiles when shotgun data support them.
Study how genes, proteins, metabolites, and pathways relate across a biological system. An analysis can examine one data layer, or combine several to study a shared question.
Collect omics dataChoose genomic variants, transcript counts, protein measurements, or metabolite features that address the question. Retain sample identifiers, conditions, and units.
Preprocess the dataUse R or Python to reconcile sample IDs, document missing values, and match each dataset to the study metadata.
Normalize and assess qualityChoose methods appropriate to each measurement type. Check for outliers, batch effects, and missing measurements before combining layers.
Model statistical differencesUse DESeq2 for suitable RNA-seq counts, limma for suitable expression models or RNA-seq transformed with voom, and MetaboAnalyst for appropriate metabolomics workflows.
Find co-expression modulesUse WGCNA to group genes whose expression tracks together across samples. Compare module summaries with the measured traits.
Look up protein associationsUse STRING to retrieve known and predicted links. Record the organism, network type, and evidence channels that support each link.
Build and display a networkUse Cytoscape to visualize nodes and edges, then overlay gene expression or an annotation to see which parts of the network share a pattern.
Rank candidate hubsUse cytoHubba or other network statistics to rank connected nodes. Compare how rankings change under different definitions of centrality.
Look for enriched pathwaysUse GO, KEGG, or Reactome where annotation coverage is appropriate. Set the background to the genes that could have been detected in the analysis and account for multiple pathway tests.
Integrate omics layers when usefulUse MOFA+ to explore latent factors across aligned datasets or choose a mixOmics method suited to the research question and study design.
Model and interpret the systemUse COPASI for a time-dependent biochemical model with enough kinetic information, or COBRApy to explore plausible steady-state metabolic fluxes under specified constraints.
Tool
Function
R and Python
Clean, combine, and visualize data and metadata.
DESeq2 and limma
Fit statistical models to compare gene expression using inputs appropriate to each method.
MetaboAnalyst
Runs metabolomics preprocessing, statistics, and pathway analyses.
WGCNA
Builds weighted gene co-expression networks and identifies gene modules.
STRING
Provides networks of known and predicted functional or physical protein associations.
Cytoscape
Visualizes biological networks and overlays measured or annotated attributes.
cytoHubba
Ranks candidate network hubs using measures of network topology.
GO, KEGG, and Reactome
Provide gene function terms or curated pathway sets for interpreting gene lists.
MOFA+ and mixOmics
Integrate multiple data layers using factor or other multivariate methods.
COPASI
Simulates the time-dependent behavior of biochemical networks.
COBRApy
Analyzes possible metabolic fluxes using constraint-based models in Python.
Expected outputs Co-expression modules, network figures, candidate hub genes and biomarkers, enriched pathways, and model predictions when the required data are available.
Track changes to code, configuration, and documentation so each analysis can be linked to a version.
Undergraduate research projects
Turn a question into a small, documented analysis. Each project connects to an existing lab and ends with a result you can explain in a short report.
A research cycle you can repeat
Frame a question. Name what you will compare, in which organism or dataset, and what measurement would answer it.
Check the data. Record the source, accession, conditions, and units. Identify the samples or records that belong in the comparison.
Choose a method. Explain why the tool fits the input and the question. Save the version, settings, and steps needed to rerun it.
Interpret the evidence. Make one claim you can point to in your result. Name a limitation and identify what evidence could test your interpretation.
Connect a gene to a protein structure
Question
How do a genome annotation and a 3D structure describe different features of human hemoglobin?
Data
Human HBB-201 in the genome explorer and the published deoxyhemoglobin structure 2HHB. Its beta chains are labeled B and D.
Method
Record the reference assembly and locate the exons in HBB-201. In the protein viewer, identify a beta chain and its heme group. Trace the beta subunit back to its protein record, P68871.
Report
Make a labeled two-panel figure with a genome view and a protein view. Cite both records in the caption and explain what a single structure can show about one molecular state.
Which of the four genes in the classroom subset has the largest average change between untreated and treated samples?
Data
The public GSE52778 Airway subset used in the guide, with eight samples from four human airway smooth muscle cell lines.
Method
Match untreated and treated samples from the same cell line. Run the browser workflow, which normalizes counts to counts per million and calculates a mean paired log₂ ratio for each gene. Rank the genes by absolute change and use the sign to describe direction.
Report
Download the result table and annotate the largest change and its direction. Explain why pairing matters, and limit the claim to the descriptive comparison of these samples.
Do the fictional records with high pairwise similarity group together in the classroom tree?
Data
Five fictional sequences in the site’s workflow. The independent database example uses the published Arabidopsis protein record NP_171609.1.
Method
Align two pairs and compare their percent identities. Build the classroom tree and see where those pairs appear. Then read the percent identity and query coverage for a returned Arabidopsis BLAST match to see how each value answers a different question.
Report
Save the Newick tree and a two-row alignment table. Record the settings and query accession. Explain what the fictional data show about the method, and what real evidence you would need to test an evolutionary relationship.
Open the tool’s website and follow its click-by-click instructions. If an example uses a file, download it from the lab first, then choose it in the site’s file picker. Some public services may ask for a free account to save work.
Terminal on Windows, macOS, or Linux
On Windows, follow Microsoft’s WSL setup, then open Ubuntu. On macOS or Linux, open your regular Terminal. Install Miniforge for that environment and reopen the terminal. On Windows with Ubuntu, use the Linux installer from inside Ubuntu.
Create a practice folder and enter it before running a terminal lab.
mkdir -p ~/bioinformatics-practice
cd ~/bioinformatics-practice
conda --version
Extract the ZIP into this folder so the files are directly inside it. From WSL, run explorer.exe . to open the current folder in Windows File Explorer. Run a lab’s install block once. In a new terminal, return to the folder and activate the lab’s named Conda environment again.
R and RStudio
Install R from CRAN. If you want an editor with a Console, install RStudio Desktop after R. In RStudio, choose Session → Set Working Directory → Choose Directory and select the extracted practice folder. Run list.files() in the R Console to check that R can see your files.
Paste the setup commands into the R Console first, then the example. Bioconductor’s setup guide explains how to install packages such as DESeq2, DADA2, and phyloseq.
Desktop apps
Use the official download linked in the lab, choose the installer for your operating system, and open the installed app. Make a note of where you extracted your files so you can find them from the app’s import dialog.
Troubleshoot your first lab
The terminal says “command not found”
Check that the tool was installed in the environment named in the lab. Activate that environment in the same terminal window, then run the lab command again.
A tool cannot find the input file
Open the folder containing the extracted practice files. In a terminal, use pwd to identify your current folder and ls to list its files. In R, use getwd() and list.files(). Match the input name in the lesson to the filename you see.
The first browser notebook run is still loading
The first run downloads the language runtime. Wait for the status message, then run the starter code before editing it. Use the Stop control to interrupt a running exercise.
Where to run it
Install or open the tool
Practice files
Try it
What you should see
Four tools for one research question
Suppose you’re studying how versions of a gene in flowering plants are related. Here’s how four tools can take you from existing sequences to a figure.
1
Find related sequences
BLAST searches a reference database for plant sequences similar to the gene you’re studying.
2
Line up the sequences
MAFFT aligns sequences so you can compare corresponding positions.
3
Estimate a tree
IQ-TREE uses the alignment to infer how the gene sequences may be related.
4
Label and share the figure
iTOL displays the tree and lets you label branches by plant or gene group.
Read a result
Practice interpreting an alignment count, a gene expression table, and a protein model.
Count alignments in a region
After sorting and indexing the practice BAM in the SAMtools lab, use -c to count alignments that overlap positions 50 to 70 on the fictional reference toy_chr.
samtools view -c toy-sorted.bam toy_chr:50-70
First three alignments in the practice file
Read
Reference positions
toy_read_01
18–57
toy_read_02
28–67
toy_read_03
39–78
All other alignments start at position 127 or later. What count do you expect?
See which alignments count
The expected count is 3, based on the supplied practice file. Each alignment in the table covers at least one position between 50 and 70, even though all three start before 50.
In a DESeq2 comparison of treatment with control, log2FoldChange gives the estimated size and direction of the change. The padj column accounts for testing many genes.
Illustrative values for two fictional genes
Gene
Log2 fold change
Adjusted p-value
Gene A
+1
0.02
Gene B
−1
0.31
Which gene passes a cutoff of adjusted p-value below 0.05? What does its fold change mean?
See how to interpret the table
Gene A passes the stated cutoff. A log2 fold change of +1 means its estimated expression is twice as high in treatment as in control. Gene B has an estimated decrease, and its adjusted p-value is above the cutoff.
AlphaFold gives each amino acid position a pLDDT score from 0 to 100. Higher values mean greater confidence in the predicted shape near that position.
Illustrative scores for two positions in a protein
Amino acid position
pLDDT
25
94
90
56
Which position has a more reliable local shape, and how would you use the lower score?
See what the scores mean
Position 25 has very high local confidence. Treat the shape near position 90 as tentative. Use an experimental structure, when available, to check the prediction.
Find a tool, open its example, and compare your output with the result shown. Each entry tells you where to work and which inputs you need. Web databases and graphical tools have click-by-click instructions.
How to read and run an example
Use the environment named on the entry. Terminal commands run in a shell. R and Python code goes in the corresponding console or script. Run steps from top to bottom in the same working folder and session.
A space separates the program, options and filenames. For example, -n 2 tells head to show two lines. A pipe (|) sends text to the next command. A greater-than sign (>) writes output to a file and replaces its contents if the file already exists.
If you see “command not found,” check the installation guide and activate the environment containing the tool. If a file cannot be found, check the working folder and spelling. Some entries use a built-in dataset or need a separate download named under “What you need.”
Shared tools
ApptainerTerminal
What you need Apptainer installed, usually on Linux or a university compute cluster.
Identify the container runtime version.
Terminal command
apptainer version
Expected result Prints your Apptainer version. Record it alongside any container image used in your workflow.
Expected result Writes the retained reads to cleaned.fastq and the before-and-after quality report to quality.html. The default JSON report is fastp.json.
What you need Node.js 22 or newer and the separately downloaded Airway starter project from the reproducibility exercise. Open the extracted project folder.
Run the project’s output checks.
Terminal command
node verify.mjs
Expected result Prints “The classroom Airway workflow checks passed.” when the supplied data and analysis pass the checks.
Expected result Creates gene-ids.txt with 36 identifiers and one gene per line. If the file is already current, Snakemake reports that the workflow is up to date.
What you need A Windows computer with Windows Subsystem for Linux installed. Open PowerShell.
Show the installed Linux distributions.
PowerShell command
wsl --list --verbose
Expected result A table shows each distribution’s name, state, and WSL version. You can open your installed Ubuntu distribution for the Linux examples.
Expected result Prints six genes with their estimated expression change and adjusted P-value. A positive change indicates higher estimated expression under treatment.
library(edgeR)
counts <- read.delim("toy-counts.tsv", row.names = 1)
group <- factor(rep(c("control", "treatment"), each = 3))
y <- DGEList(counts, group = group)
Expected result Stores the 36 genes, six samples, and group labels in y.
Normalize and estimate variability.
R command
y <- calcNormFactors(y)
y <- estimateDisp(y, model.matrix(~ group))
Expected result Stores library normalization factors and dispersion estimates used by the test.
Compare treatment with control.
R command
test <- exactTest(y, pair = c("control", "treatment"))
topTags(test, n = 5)
Expected result Displays the five highest-ranked genes with logFC, PValue, and FDR. Positive logFC indicates higher estimated expression in treatment.
What you need The public study accession GSE52778.
Open the linked GEO Series record and inspect the Summary and Samples sections.
Expected result The record describes the airway expression study and lists sample records. These labels identify the material and treatment used for each sample.
What you need toy-reference.fa used here as one fictional transcript to demonstrate indexing. For a real expression study, use a matching transcriptome reference.
What you need toy-reference.fa, toy-reads.fastq, and a new folder for the index. The small index settings below are specific to this 360-base teaching reference.
What you need R with the tximport Bioconductor package installed.
Open the package’s guide to importing transcript abundance estimates.
R command
vignette('tximport', package = 'tximport')
Expected result Opens a worked guide describing how transcript-level estimates can be summarized for gene-level analysis. Look for the input-file list and the transcript-to-gene mapping table.
What you need BUSCO installed on a computer with internet access for its dataset catalogue.
List marker datasets for an assembly-completeness assessment.
Terminal command
busco --list-datasets
Expected result Shows the available lineage datasets. For a plant assembly, find an appropriate plant lineage and record its exact release before running a completeness analysis.
Expected result Prints the installed Flye release.
Read the length and coverage fields from the mock Flye report.
Terminal command
cut -f1-3 toy-assembly-info.tsv
Expected result The data row shows contig_1, length 360 bases, and mean coverage 10. These are the kinds of summaries to inspect after long-read assembly.
What you need SnpEff installed with its normal genome configuration. Use a Linux or macOS terminal, or Ubuntu in WSL.
Find annotation databases for Arabidopsis.
Terminal command
snpEff databases | grep -i arabidopsis
Expected result Prints matching database entries and their identifiers. For variant annotation, choose the database that matches your organism and reference assembly.
Expected result Each output row lists the query name, matching sequence name, percent identity and alignment length. Alder matches itself at 100% identity.
What you need InterProScan 5 and its Pfam analysis data, with the test_proteins.fasta file supplied by that release. Run this example in the unpacked InterProScan 5 folder.
What you need The MCScanX executable installed in the current directory.
Display the input syntax for collinearity analysis.
Terminal command
./MCScanX
Expected result Prints the program usage and parameters. The input prefix identifies the matching gene-position and similarity files required by a full analysis.
Open the ANCOM-BC2 reference and locate its Value section.
R command
help("ancombc2", package = "ANCOMBC")
Expected result Shows the documented result components, including res for the primary coefficient tests. Use the column descriptions when reading a completed analysis.
What you need HUMAnN installed in the active environment. For the second step use toy-pathabundance.tsv, a teaching table with two fictional pathway identifiers.
Expected result Prints 2 unclassified. The first column of the report shows that these two fragments represent 20% of the ten fragments in this example.
What you need MetaPhlAn installed in the active environment. The toy-taxonomic-profile.tsv excerpt has columns for clade name, taxonomic ID, and relative abundance.
Expected result Prints version information to include with a taxonomic abundance profile.
Display phylum-level abundances in the simplified teaching profile.
Terminal command
grep 'p__' toy-taxonomic-profile.tsv
Expected result Shows two phylum-level rows with relative abundances of 60% and 40%. The broader Bacteria row summarizes the same community at another level.
What you need A COPASI time-course tutorial model with reactions, initial values, and parameter values already supplied.
Open the tutorial model, select the Time Course task, retain the model's settings, and run the simulation. Open its result.
Expected result The result shows how model variables change over simulated time. Look up a species value at two time points to see the predicted change.
What you need The human gene symbols HBA1, HBA2, and HBB.
Choose Homo sapiens in g:GOSt, enter the three gene symbols on separate lines, and run the query.
Expected result Displays the gene-list analysis and any terms passing the selected significance threshold. Check the mapped genes, term sizes, and adjusted probabilities before interpreting an enrichment.
Expected result Creates a group label for each of the four columns and a one-gene expression matrix.
Estimate the mean difference between groups.
R command
fit <- limma::lmFit(expression, model.matrix(~ group))
fit$coefficients
Expected result Prints an intercept of 5.5 for group A and a groupB coefficient of 2. The second value is the estimated B minus A difference in log2 units.
Bioinformatics connects a biological question with a measurement, a computational method, and an interpretation. Follow a teaching example about gene expression in leaves, then see how the same reasoning applies to other data.
Turn an observation into a question
Imagine that leaves from two groups of plants differ in color. “What changes in the leaf?” is too broad for a single analysis. “Which genes differ in RNA abundance between the two groups at the same developmental stage?” specifies a measurement, a comparison, and the samples needed.
RNA sequencing would help answer the expression question. To ask whether a protein is more abundant, you would collect protein measurements. To ask whether the plants carry different inherited variants, you would examine DNA. One project can connect these measurements when you can match the samples and identifiers.
Decide what counts as one observation
Give each plant, sample, and sequencing library its own identifier. Record the plant variety, tissue, collection time, condition, and processing batch in a sample sheet. Multiple leaves from one plant share a biological source. An analysis must account for that relationship when estimating variation between plants.
If every green leaf was processed on Monday and every pale leaf on Tuesday, a difference between the groups could reflect processing day. Distributing samples from both groups across days helps distinguish a biological effect from a batch effect.
Follow an identifier through a workflow
A FASTQ record holds one read and its base-quality scores. An aligner can associate that read with a location on a reference genome. A gene annotation then connects that location to a feature such as an exon. Counting software uses the alignments and annotation to build one column of a gene-by-sample table.
Record the reference assembly and annotation release together. Gene names can have aliases, and a gene can have several transcripts. When two results disagree, check whether both refer to the same species, assembly, and level of measurement. See file formats and database records.
Separate a numerical change from a biological claim
Suppose a gene has 100 assigned reads in a library of one million and 200 in a library of two million. Both have 100 reads per million. This simple calculation shows how sequencing depth affects raw counts. Formal differential-expression methods estimate normalization factors and model variation across biological samples.
A log₂ fold change of 1 means an estimated twofold increase for the stated comparison. The effect size describes how large the change is. An adjusted p-value helps assess evidence across the many genes tested. A candidate gene still needs follow-up evidence to establish its role in leaf color. Read the DESeq2 interpretation guide.
Why specify which group is the reference?
If the estimated abundance is twice as high in pale leaves, pale versus green has a log₂ fold change of +1. Reversing the comparison gives −1. The direction and the group labels belong together in every results table.
Evaluate evidence across research fields
Sequence similarity
Check how much of both sequences aligns, how similar the aligned region is, and whether the match covers a known domain. A short shared domain can explain a match between proteins with different overall functions.
Community composition
If a soil taxon rises from 10% to 20% of reads, its share has increased. To establish an increase in absolute abundance, you need an independent measurement of microbial load.
Network evidence
Two genes whose expression changes together may respond to the same condition. To infer direct regulation, seek independent evidence about the interaction and its direction.
Make a result someone else can check
Save the data accession or practice filename, sample sheet, reference release, software versions, commands, and output table. In a figure caption, specify the measurement, units, study groups, and number of independent samples. Explain one limitation that could change your interpretation.
Try it. Run the first command in the reference. Write down the input filename, the displayed gene ID, and one piece of information you would still need before making a claim about gene expression.
Describes differences from a reference genome. Key fields record the chromosome, position, reference allele, and alternate allele. The header identifies any sample columns and annotations.
A sequence reported for one fragment by a sequencing instrument. One sequencing run can produce many reads.
Base quality score
An estimate of how likely an individual DNA letter is to be correct. A Phred score of 30 corresponds to an estimated error probability of 1 in 1,000.
Reference sequence
A sequence used as the starting point for comparison. In the alignment labs, the supplied reference gives reads a consistent set of positions.
Alignment
A way to line up sequences so corresponding positions can be compared. Mapping a read places it against a reference, while a multiple sequence alignment lines up several sequences with one another.
Gene expression
The process of using information in a gene to make an RNA or protein product. In the RNA-seq labs, we use RNA counts to study how expression varies across samples.
Log₂ fold change
A way to summarize the size and direction of a change between groups. For an estimate comparing treatment with control, +1 means twice as much in treatment and −1 means half as much.
Adjusted p-value
A p-value corrected to account for testing many genes at once. In DESeq2, the padj column helps you assess statistical evidence, while log₂ fold change describes the size of the difference.
Model confidence
An estimate of the reliability of a prediction. In the AlphaFold DB lesson, use the pLDDT colors to see which parts of the predicted protein structure have stronger local support.
How database records fit together
GEO series and samples
A GSE record describes a study and its design. GSM records describe individual samples or experiments within it. SRA run identifiers can link to the underlying sequence data.
A PDB identifier names a structure entry. Within the entry, chain labels identify individual molecules in the assembly. Residue numbers identify positions along a chain.