University learning guide

Bioinformatics for research

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.

What is bioinformatics?

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.

Read the first module Explore bioinformatics in depth

Course curriculum

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.

Explore the HBB region · Review molecular data formats

2. Follow the data from reads to results

Distinguish raw data from a processed result and identify what you need to know about samples before comparing them.

  1. 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.
  2. 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.
  3. 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.

Open the FastQC lesson · Compare paired Airway samples · Read a worked result

3. Trace a claim back to its evidence

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.

Inspect a curated protein record · Download a reproducible example

4. Tools and workflows

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.

5. Research and reporting

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.

  1. State a question that your available data can answer.
  2. Describe the samples or records and document the tool, settings, and inputs.
  3. Report one main observation with its units, conditions, and comparison.
  4. 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.

Learning paths

Pick a starting point based on the skills you already use, then follow a sequence of related tool lessons.

Learn through a project

Browser only

Explore a protein

Use human hemoglobin beta to see how databases document a protein’s sequence, family, and structure.

  1. UniProtKB to find the sequence and function.
  2. InterPro to identify the protein family.
  3. AlphaFold DB to inspect a predicted structure.
  4. Mol* to explore a published experimental structure.

What you’ll makeA short protein profile with a source for each observation.

Terminal and browser

Compare sequences

See how sequence comparisons lead to a tree. The BLAST lesson can use a public plant record. The tree exercises use the supplied fictional sequences.

  1. BLAST to find similar sequences.
  2. MAFFT to line up comparable positions.
  3. IQ-TREE to estimate a tree from the supplied alignment.
  4. iTOL to label and inspect a tree.

What you’ll makeA labeled tree you can explain.

Terminal and R

Compare gene expression

Practice the steps that lead from sequencing reads to a comparison of gene activity between groups.

  1. FastQC to inspect read quality.
  2. STAR to place reads on a reference.
  3. featureCounts to count reads in a supplied alignment.
  4. DESeq2 to compare groups using a separate six-sample count table.

What you’ll makeA results table you can interpret.

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.

  1. 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.
  2. Choose two classroom records below and run a global alignment. A vertical bar marks identical letters and a dash marks a gap.
  3. Build a tree from all five records. Compare its groupings with the pairwise alignment and save the Newick file.

Open the plant query in NCBI BLAST

Build the classroom tree

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.

  1. Check the sample table and find the two conditions for each cell line.
  2. Normalize raw counts using each sample’s total library size. This gives counts per million reads counted, or CPM.
  3. Calculate the log₂ treated-to-untreated CPM ratio for each pair. Average the four ratios for each gene and download the report.

Download the curated count table · Open GEO study GSE52778 · Bioconductor counts and library sizes

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.

View HBB-201 exon coordinates
HBB-201 · chromosome 11 · 1-based inclusive coordinates
Exon in transcript orderStartEndLength (bp)
15,226,9305,227,071142
25,226,5775,226,799223
35,225,4645,225,726263

Ensembl HBB-201 annotation · NCBI HBB gene record

3D hemoglobin viewer

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.

The four-chain 2HHB structure is available in the linked RCSB viewer.
Drag the structure to rotate it, or use the rotation buttons.

RCSB PDB entry 2HHB · Open the full Mol* viewer

Gene expression plot

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.

View exact counts for the selected gene
Read counts by sample
SampleCell lineConditionRaw count

Download the teaching subset · Bioconductor source table · GEO study GSE52778

Research in bioinformatics

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?

Open genomics workflow

Transcriptomics

Measures RNA to see which genes are active and how activity differs across samples or cells.

Which genes differ in expression between the conditions in a litchi study?

Open transcriptomics workflow

Protein informatics

Uses protein sequences, annotations, and 3D structures to investigate what proteins do.

What do existing structures tell us about how hemoglobin carries oxygen?

Open protein informatics workflow

Evolutionary bioinformatics

Compares sequences to infer how genes or species are related.

How are related genes in different flowering plants connected?

Open evolutionary workflow

Microbiome ecology

Studies which microbes are present in a community and how the community changes across samples.

How do soil microbial communities differ between a restored meadow and a nearby field?

Open microbiome workflows

Systems biology

Studies how genes and proteins work together in networks and biological pathways.

Which pathways are represented in a list of genes from a muscle-cell study?

Open systems biology workflow

Master workflow of bioinformatics

These connections show how the fields share methods and exchange results. A project can use one branch or combine several, depending on the question.

Start with a question and data

Identify your samples and data types, record accessions and references, and check data quality.

Open shared workflow tools

Choose the research methods

Interpret and share the evidence

Check assumptions, compare results across samples, and document the methods and software versions.

Open the reproducibility example

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.

PriorityCategoryDifficulty
1Shared workflow toolsBeginner
2GenomicsBeginner–Intermediate
3TranscriptomicsIntermediate
4Protein informaticsIntermediate
5Evolutionary bioinformaticsIntermediate
6Microbiome ecologyIntermediate–Advanced
7Systems biologyAdvanced

Find a starting tool

Start with the data you already have and what you want to learn from it.

If you haveAnd you want toStart with
A published DNA variant IDSee its predicted effects on genes and transcriptsEnsembl VEP
An RNA read-count table and sample groupsEstimate which genes differ between groupsDESeq2
A protein accessionFind its sequence, function, and supporting evidenceUniProtKB
Several related sequencesCompare corresponding positionsMAFFT
A table of soil sample labelsCheck and visualize the sample metadataQIIME 2
A list of gene identifiersLook up pathways associated with those genesReactome

Research workflows

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
ToolFunction
FastQC and MultiQCAssess sequencing quality per file and collect those reports into a study-wide view.
fastp and TrimmomaticTrim sequencing adapters and filter or trim bases according to quality settings.
BWA-MEM2 and Bowtie 2Map DNA reads to coordinates on a reference genome.
SAMtoolsRead, sort, and index SAM or BAM alignments and report mapping and coverage statistics.
GATKDiscover and genotype variants. Includes methods for filtering and evaluating callsets.
BCFtoolsCall variants from alignment evidence and process, query, and filter VCF or BCF files.
SnpEff and Ensembl VEPAnnotate variants with predicted effects on genes, transcripts, or other genomic features.
IGV and RInspect 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.

NCBI guide to retrieving SRA reads · GATK short-variant workflow · BCFtools manual · BUSCO assembly assessment

All research workflows

Transcriptomics

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

  1. 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.
  2. Check the original readsRun FastQC and inspect base quality, adapter content, and overrepresented sequences. Retain the reports so you can compare them after preprocessing.
  3. 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.
  4. Compare quality after trimmingRun FastQC again and summarize pre- and post-trimming reports with MultiQC. Review both improvements and remaining differences between libraries.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
ToolFunction
STARIndexes a genome and aligns RNA-seq reads, including reads that span exon junctions.
HISAT2Performs splice-aware RNA alignment using a memory-efficient index.
featureCounts and HTSeq-countGenerate gene-level counts from alignments and compatible feature annotations.
SalmonEstimates transcript abundance with methods that account for several sources of sequencing bias.
kallistoUses pseudoalignment to estimate transcript abundance from reads.
DESeq2 and edgeRModel variation in count data across samples and test differential expression for a defined comparison.
clusterProfilerTests 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.

featureCounts documentation · Bioconductor DESeq2 guide · Bioconductor clusterProfiler guide

All research workflows

Protein informatics

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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 resourceFunction
UniProt, NCBI Protein, EnsemblProvide protein sequences, accessions, and supporting annotations.
BLASTpReports regions of local protein sequence similarity.
HMMERUses probabilistic profile models to detect homologous sequences and domains.
PfamProvides curated protein family and domain profiles.
InterProScanCombines multiple databases to annotate families, domains, and sites.
ExPASy ProtParamCalculates sequence-derived properties such as mass, theoretical pI, and instability index.
MAFFT, MUSCLEBuild a multiple sequence alignment for residue-by-residue comparisons.
AlphaFold, SWISS-MODELPredict protein structures. SWISS-MODEL uses homologous templates.
MolProbityChecks structural geometry and flags possible steric clashes.
PyMOL, ChimeraXDisplay and annotate molecular structures in 3D.
AutoDock VinaProvides 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.

All research workflows

Evolutionary bioinformatics

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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 methodFunction
BLAST, HMMERFind candidate homologs by sequence similarity or conserved profile matches.
OrthoFinderInfers orthogroups, orthology relationships, gene trees, and duplication events across species.
Pfam, InterProScanCheck for shared domains and help validate the set of sequences for comparison.
MAFFT, MUSCLEProduce multiple sequence alignments for comparing related positions.
trimAl, ClipKITFilter alignment columns using documented criteria.
ModelFinderCompares models of sequence evolution, using information criteria such as BIC.
IQ-TREE, RAxML-NGEstimate phylogenetic trees by maximum likelihood and support bootstrap analysis.
iTOL, FigTreeVisualize and annotate phylogenetic trees for interpretation and reporting.
PAML, HyPhyFit molecular-evolution models and test hypotheses about selective pressures.
MCScanXDetects 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.

All research workflows

Microbiome ecology

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.

  1. Import raw readsBring FASTQ reads into QIIME 2 and check that sample identifiers match the sample metadata.
  2. Remove residual primersCutadapt trims primer and adapter sequence when present in the reads.
  3. Denoise readsDADA2 models sequencing errors and removes chimeric sequences. Review how many reads each sample retains.
  4. Build an ASV tableDADA2 returns representative amplicon sequence variants (ASVs) and a matrix showing how often each ASV was observed in each sample.
  5. 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.
  6. Measure diversityAlpha diversity summarizes variation within each sample. Beta diversity measures differences in composition between samples.
  7. Compare abundanceUse a suitable differential abundance method such as ANCOM-BC and account for relevant sample characteristics and multiple tests.
  8. 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.

  1. Check raw readsStart with FASTQ files. FastQC summarizes read quality and fastp can remove adapters and trim low-quality sequence.
  2. Account for plant DNAIn plant-associated samples, exclude reads attributed to the plant host where appropriate and document how much sequence was removed.
  3. 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.
  4. Profile functionsHUMAnN summarizes gene families and metabolic pathways represented in the reads. These DNA-based estimates describe functional potential.
  5. Compare diversityUse compatible abundance profiles to compare within-sample diversity and between-sample differences.
  6. 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.

ToolFunction
QIIME 2Runs microbiome analysis steps through plugins and records how results were generated.
CutadaptRemoves primer and adapter sequences from reads.
DADA2Denoises marker reads and returns ASV sequences and their counts.
SILVAProvides aligned, quality-checked ribosomal RNA reference sequences for taxonomy.
FastQC and fastpAssess and preprocess raw reads, respectively.
Kraken 2Assigns taxonomic labels to reads using a sequence reference database.
MetaPhlAnEstimates community composition using taxon-specific marker sequences.
HUMAnNEstimates gene-family and pathway profiles from shotgun data.
MEGAHITAssembles metagenomic reads into contigs.
MetaBAT2Groups assembled contigs into candidate genome bins.
phyloseqCombines feature tables, metadata, and taxonomy for microbiome analysis and plotting in R.
ANCOM-BCTests 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.

All research workflows

Systems biology

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.

  1. Collect omics dataChoose genomic variants, transcript counts, protein measurements, or metabolite features that address the question. Retain sample identifiers, conditions, and units.
  2. Preprocess the dataUse R or Python to reconcile sample IDs, document missing values, and match each dataset to the study metadata.
  3. Normalize and assess qualityChoose methods appropriate to each measurement type. Check for outliers, batch effects, and missing measurements before combining layers.
  4. 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.
  5. Find co-expression modulesUse WGCNA to group genes whose expression tracks together across samples. Compare module summaries with the measured traits.
  6. Look up protein associationsUse STRING to retrieve known and predicted links. Record the organism, network type, and evidence channels that support each link.
  7. 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.
  8. Rank candidate hubsUse cytoHubba or other network statistics to rank connected nodes. Compare how rankings change under different definitions of centrality.
  9. 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.
  10. 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.
  11. 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.
ToolFunction
R and PythonClean, combine, and visualize data and metadata.
DESeq2 and limmaFit statistical models to compare gene expression using inputs appropriate to each method.
MetaboAnalystRuns metabolomics preprocessing, statistics, and pathway analyses.
WGCNABuilds weighted gene co-expression networks and identifies gene modules.
STRINGProvides networks of known and predicted functional or physical protein associations.
CytoscapeVisualizes biological networks and overlays measured or annotated attributes.
cytoHubbaRanks candidate network hubs using measures of network topology.
GO, KEGG, and ReactomeProvide gene function terms or curated pathway sets for interpreting gene lists.
MOFA+ and mixOmicsIntegrate multiple data layers using factor or other multivariate methods.
COPASISimulates the time-dependent behavior of biochemical networks.
COBRApyAnalyzes 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.

All research workflows

Shared workflow tools

These tools help you set up a workspace, handle data, automate analysis, and keep a record of your work across research fields.

ToolMain purpose
Linux / Ubuntu / WSLRun command-line tools in a Linux environment. Ubuntu is a Linux distribution. WSL lets Windows users run a Linux distribution.
Conda / MambaInstall software into isolated environments. Record the environment and package versions so someone else can recreate it.
SRA ToolkitRetrieve public sequencing runs by accession and export reads in FASTQ format.
FastQCCheck read quality, base composition, and possible adapter contamination.
MultiQCCombine reports from multiple samples and tools so that you can spot unusual results across a study.
fastpTrim and filter short reads and produce before-and-after quality summaries.
SAMtoolsConvert, sort, index, and summarize SAM, BAM, and CRAM alignment files.
BEDToolsCompare genomic intervals, for example to find which annotated exons overlap aligned reads.
SeqKitSummarize, filter, or reformat FASTA and FASTQ files.
AWK / sed / grepSelect columns, edit text, or find matching lines in simple text files. Use format-aware readers for structured records and multiline sequences.
PythonAutomate tasks, parse files, work with tables, and test analysis code.
RAnalyze biological data statistically and build plots and reports.
SnakemakeExpress analysis steps as rules with file inputs and outputs, then run the rules in the necessary order.
NextflowConnect analysis processes through data channels and run the same workflow locally or on a compute cluster.
Docker / ApptainerUse container images to run tools with their dependencies. Apptainer is common on shared computing systems.
GitTrack 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

  1. Frame a question. Name what you will compare, in which organism or dataset, and what measurement would answer it.
  2. Check the data. Record the source, accession, conditions, and units. Identify the samples or records that belong in the comparison.
  3. Choose a method. Explain why the tool fits the input and the question. Save the version, settings, and steps needed to rerun it.
  4. 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.

Compare paired RNA expression

Question
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.

Compare similarity and tree grouping

Question
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.

Tool directory

Search by name or task, or narrow the list by research area and where the tool runs. Open any student lab to try it.

Student labs

Open a group or choose a lesson by tool name. Each lesson includes setup instructions, an exercise, and what to expect from your first result.

Set up your workspace

Use the setup that matches your lab. The practice files are small and use made-up data.

Download practice files
Browser tools

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.

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
ReadReference positions
toy_read_0118–57
toy_read_0228–67
toy_read_0339–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.

Compare gene expression

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
GeneLog2 fold changeAdjusted p-value
Gene A+10.02
Gene B−10.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.

Read protein model confidence

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 positionpLDDT
2594
9056

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.

Tool command reference

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.

  1. 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.

Apptainer documentation
AWKTerminal

What you need toy-counts.tsv in the current folder.

Practice files toy-counts.tsv

  1. Select the first two columns from the first data row.

    Terminal command
    awk -F '\t' 'NR == 2 {print $1, $2}' toy-counts.tsv

    Expected result Prints gene_01 195, the gene ID and the first control sample count.

AWK documentation
BEDToolsTerminal

What you need BEDTools installed and toy-genes.gtf in the current folder.

Practice files toy-genes.gtf

  1. Sort the annotated features by genomic position.

    Terminal command
    bedtools sort -i toy-genes.gtf

    Expected result Prints three exon records on toy_chr. The starts in column four are 11, 126, and 220.

BEDTools documentation
BioconductorR

What you need R with the BiocManager package installed.

  1. Identify the Bioconductor release for your R installation.

    R command
    BiocManager::version()

    Expected result Prints the associated Bioconductor release number, which helps another student match your software environment.

Bioconductor documentation
CondaTerminal

What you need Conda or Miniforge installed in your shell.

  1. List your environments.

    Terminal command
    conda env list

    Expected result The list shows each environment name and its location. An asterisk identifies the active environment.

Conda documentation
DockerTerminal

What you need Docker CLI installed.

  1. Identify the Docker client version.

    Terminal command
    docker --version

    Expected result Prints the installed Docker client version and build identifier.

Docker documentation
fastpTerminal

What you need toy-reads.fastq, a single-end example.

Practice files toy-reads.fastq

  1. Preprocess the reads and save a report.

    Terminal command
    fastp -i toy-reads.fastq -o cleaned.fastq -h quality.html

    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.

fastp documentation
FastQCTerminal

What you need toy-reads.fastq in your current folder.

Practice files toy-reads.fastq

  1. Inspect sequencing quality.

    Terminal command
    fastqc toy-reads.fastq

    Expected result Creates toy-reads_fastqc.html and toy-reads_fastqc.zip. Open the HTML file to explore quality by base position.

FastQC documentationOpen FastQC lesson
GalaxyBrowser

What you need Open Galaxy and upload toy-counts.tsv into a history. Sign in if the server requests an account.

Practice files toy-counts.tsv

  1. Search Tools for “Select first lines from a dataset”. Choose the uploaded file, keep four lines, run the tool, and preview the result.

    Expected result A new dataset in the history contains the header followed by gene_01, gene_02, and gene_03.

Galaxy documentationOpen Galaxy lesson
GitTerminal

What you need An existing Git repository. Open your terminal in its working folder.

  1. List files that differ from the last commit.

    Terminal command
    git status --short

    Expected result A status code appears beside each changed or untracked path. An empty result means the working tree is clean.

Git documentation
GitHub ActionsBrowser

What you need A GitHub repository with the course verification workflow configured and at least one completed run.

  1. Open Actions, select the verification workflow, and open a completed run. Choose the job and expand its test step.

    Expected result The page displays the recorded step output, the pass or fail status, and a link to the associated commit.

GitHub Actions documentation
grepTerminal

What you need toy-proteins.fasta in the current folder.

Practice files toy-proteins.fasta

  1. Print the lines that start with the FASTA header character.

    Terminal command
    grep '^>' toy-proteins.fasta

    Expected result Prints the five headers, from >Alder through >Maple.

grep documentation
headTerminal

What you need toy-counts.tsv in the current folder.

Practice files toy-counts.tsv

  1. Show the header and first data row.

    Terminal command
    head -n 2 toy-counts.tsv

    Expected result The header lists six sample columns after gene_id. The second line starts with gene_01 and its first control count is 195.

head documentation
Linux / Ubuntu shellTerminal

What you need A shell opened in the extracted practice folder.

  1. Print the current folder.

    Terminal command
    pwd

    Expected result The terminal prints the full path of its working folder. This is where it looks for filenames such as toy-counts.tsv.

Linux / Ubuntu shell documentation
MambaTerminal

What you need Mamba installed and a software environment activated.

  1. List the packages in the active environment.

    Terminal command
    mamba list

    Expected result The terminal displays installed packages and their versions. Find the package used for your analysis and record its version.

Mamba documentation
MultiQCTerminal

What you need A practice folder containing the FastQC ZIP produced in the FastQC example.

  1. Collect the reports in this folder.

    Terminal command
    multiqc . -o quality-summary

    Expected result Creates quality-summary/multiqc_report.html with the sample summaries found in the folder.

MultiQC documentation
NCBI SRABrowser

What you need An internet connection and the organism name Litchi chinensis.

  1. Search NCBI SRA for Litchi chinensis RNA-Seq. Open one experiment and select its run accession.

    Expected result The run record lists the sequencing platform, library layout, and accession. Record the sample description alongside the accession.

NCBI SRA documentation
NextflowTerminal

What you need Nextflow installed. Place nextflow-practice.nf and toy-counts.tsv in the current folder.

Practice files nextflow-practice.nf · toy-counts.tsv

  1. Run the teaching workflow.

    Terminal command
    nextflow run nextflow-practice.nf

    Expected result Three rows list gene_01 with 359, gene_02 with 460, and gene_03 with 364. The numbers come from treatment_1.

Nextflow documentationOpen Nextflow lesson
Node.jsTerminal

What you need Node.js 22 or newer and the separately downloaded Airway starter project from the reproducibility exercise. Open the extracted project folder.

  1. 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.

Node.js documentation
PythonPython

What you need Python 3 with the extracted practice folder as its working directory. The csv module is included.

Practice files toy-network.tsv

  1. Read the first edge in the toy network.

    Python command
    import csv
    with open('toy-network.tsv') as file:
        edges = list(csv.DictReader(file, delimiter='\t'))
    
    print(edges[0]['source'], edges[0]['target'])

    Expected result Prints GeneA GeneB, the labels at the two ends of the first edge.

Python documentation
RR

What you need R or RStudio with the extracted practice folder as its working directory.

Practice files toy-counts.tsv

  1. Load the gene counts and inspect the dimensions.

    R command
    counts <- read.delim('toy-counts.tsv', row.names = 1)
    dim(counts)

    Expected result Prints 36 and 6. Rows represent genes and columns represent samples.

R documentation
SAMtoolsTerminal

What you need toy-aligned.sam from the practice download.

Practice files toy-aligned.sam

  1. Count the alignment records.

    Terminal command
    samtools view -c toy-aligned.sam

    Expected result Prints 10. SAM header lines are excluded.

  2. Save a position-sorted alignment.

    Terminal command
    samtools sort -o toy-sorted.bam toy-aligned.sam

    Expected result Creates toy-sorted.bam in compressed BAM format.

  3. Index the sorted alignment.

    Terminal command
    samtools index toy-sorted.bam

    Expected result Creates toy-sorted.bam.bai so a genome viewer can retrieve alignments for a chosen region.

SAMtools documentationOpen SAMtools lesson
sedTerminal

What you need toy-counts.tsv in the current folder.

Practice files toy-counts.tsv

  1. Show just the second line.

    Terminal command
    sed -n '2p' toy-counts.tsv

    Expected result Prints one row containing gene_01 followed by 195, 160, 169, 359, 539, and 390.

sed documentation
SeqKitTerminal

What you need SeqKit installed and toy-proteins.fasta in the current folder.

Practice files toy-proteins.fasta

  1. Count the protein records and summarize their lengths.

    Terminal command
    seqkit stats toy-proteins.fasta

    Expected result Prints a statistics table. The num_seqs column contains 5.

SeqKit documentation
SnakemakeTerminal

What you need Snakemake installed. Keep the supplied Snakefile and toy-counts.tsv in the same working folder.

Practice files Snakefile · toy-counts.tsv

  1. Run the rule that extracts the gene IDs.

    Terminal command
    snakemake --cores 1 gene-ids.txt

    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.

Snakemake documentation
SRA ToolkitTerminal

What you need NCBI SRA Toolkit installed.

  1. Check which FASTQ export program is installed.

    Terminal command
    fasterq-dump --version

    Expected result Prints the fasterq-dump version. Include this number with the SRA run accession when documenting an export.

SRA Toolkit documentation
TrimmomaticTerminal

What you need toy-reads.fastq and the trimmomatic command-line launcher, such as the Bioconda installation.

Practice files toy-reads.fastq

  1. Trim low-quality ends and keep reads of at least 20 bases.

    Terminal command
    trimmomatic SE -phred33 toy-reads.fastq trimmed.fastq TRAILING:21 MINLEN:20

    Expected result Writes retained single-end reads to trimmed.fastq. The terminal summary reports how many reads survived.

Trimmomatic documentation
WSLPowerShell

What you need A Windows computer with Windows Subsystem for Linux installed. Open PowerShell.

  1. 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.

WSL documentation

Transcriptomics

clusterProfilerR

What you need clusterProfiler installed in R. The example builds two fictional teaching gene sets in memory.

  1. Create two named sets from 20 example genes.

    R command
    genes <- sprintf("gene_%02d", 1:20)
    sets <- data.frame(term = rep(c("set_A", "set_B"), each = 10), gene = genes)

    Expected result Creates a table mapping ten genes to each of two teaching sets.

  2. Test the first five genes and view the overlap.

    R command
    hits <- clusterProfiler::enricher(genes[1:5], universe = genes, TERM2GENE = sets)
    as.data.frame(hits)[, c("ID", "Count", "p.adjust")]

    Expected result Returns set_A with an overlap of five genes and its adjusted P-value. These gene sets illustrate the calculation.

clusterProfiler documentation
DESeq2R

What you need toy-counts.tsv in the R working directory, with three control columns followed by three treatment columns. Install DESeq2 first.

Practice files toy-counts.tsv

  1. Read the raw count matrix.

    R command
    library(DESeq2)
    counts <- as.matrix(read.delim("toy-counts.tsv", row.names = 1))

    Expected result Creates counts with 36 genes in rows and six samples in columns.

  2. Label the sample groups.

    R command
    group <- factor(rep(c("control", "treatment"), each = 3))
    samples <- data.frame(group, row.names = colnames(counts))

    Expected result Creates a sample table in the same order as the count matrix columns.

  3. Fit the model for this small teaching dataset.

    R command
    dds <- DESeqDataSetFromMatrix(counts, samples, ~ group)
    dds <- DESeq(dds, fitType = "mean")

    Expected result Stores the fitted model in dds. The mean dispersion fit is used for this small example.

  4. Inspect the treatment versus control comparison.

    R command
    res <- results(dds, contrast = c("group", "treatment", "control"))
    head(as.data.frame(res)[, c("log2FoldChange", "padj")])

    Expected result Prints six genes with their estimated expression change and adjusted P-value. A positive change indicates higher estimated expression under treatment.

DESeq2 documentationOpen DESeq2 lesson
edgeRR

What you need toy-counts.tsv in the R working directory and edgeR installed. Use untransformed read counts.

Practice files toy-counts.tsv

  1. Prepare the count table and sample groups.

    R command
    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.

  2. 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.

  3. 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.

edgeR documentation
featureCountsTerminal

What you need toy-aligned.sam and toy-genes.gtf, which share the same toy chromosome name and coordinates.

Practice files toy-aligned.sam · toy-genes.gtf

  1. Count reads overlapping exons, grouped by gene.

    Terminal command
    featureCounts -t exon -g gene_id -a toy-genes.gtf -o gene-counts.tsv toy-aligned.sam

    Expected result Creates gene-counts.tsv and gene-counts.tsv.summary. The last column gives 5 reads for gene_a and 5 for gene_b.

featureCounts documentationOpen featureCounts lesson
Gene OntologyBrowser

What you need The GO accession GO:0015979.

  1. Open the AmiGO term record for GO:0015979 and read its definition and ontology branch.

    Expected result The record identifies photosynthesis as a biological process and shows how it relates to other GO terms.

Gene Ontology documentationOpen Gene Ontology lesson
HISAT2Terminal

What you need toy-reference.fa and the single-end file toy-reads.fastq.

Practice files toy-reads.fastq · toy-reference.fa

  1. Create the reference index.

    Terminal command
    hisat2-build toy-reference.fa hisat-toy

    Expected result Saves index files beginning with hisat-toy.

  2. Align the practice reads.

    Terminal command
    hisat2 -x hisat-toy -U toy-reads.fastq -S hisat-toy.sam

    Expected result Writes alignment records to hisat-toy.sam and prints a mapping summary.

HISAT2 documentation
HTSeqTerminal

What you need toy-aligned.sam and toy-genes.gtf. This single-end exercise counts both strands.

Practice files toy-aligned.sam · toy-genes.gtf

  1. Count reads for each annotated gene.

    Terminal command
    htseq-count -f sam -s no toy-aligned.sam toy-genes.gtf > htseq-counts.tsv

    Expected result Writes one gene ID and count per row. Summary rows beginning with two underscores describe special counting outcomes.

HTSeq documentation
kallistoTerminal

What you need toy-reference.fa used as a miniature transcript reference for this indexing exercise.

Practice files toy-reference.fa

  1. Create a transcript index.

    Terminal command
    kallisto index -i toy-transcripts.idx toy-reference.fa

    Expected result Creates toy-transcripts.idx. A later quantification run uses the index and RNA-seq reads to estimate transcript abundance.

kallisto documentation
KEGGBrowser

What you need The public Arabidopsis pathway identifier ath00195.

  1. Open the Arabidopsis photosynthesis map and select a labeled enzyme or protein complex.

    Expected result The pathway map shows the molecular participants in context. Linked entries give identifiers for the selected component.

KEGG documentation
NCBI GEOBrowser

What you need The public study accession GSE52778.

  1. 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.

NCBI GEO documentation
SalmonTerminal

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.

Practice files toy-reference.fa

  1. Build a transcript index.

    Terminal command
    salmon index -t toy-reference.fa -i salmon-toy-index

    Expected result Creates salmon-toy-index for the miniature transcript reference. Quantification is a separate step that takes RNA-seq reads.

Salmon documentation
SeuratR

What you need Seurat installed with its SeuratObject dependency. The example uses the bundled pbmc_small dataset.

  1. Load the example and check its dimensions.

    R command
    library(Seurat)
    data("pbmc_small", package = "SeuratObject")
    dim(pbmc_small)

    Expected result Prints the number of features and cells in the example object, in that order.

  2. Display the stored PCA coordinates.

    R command
    DimPlot(pbmc_small, reduction = "pca")

    Expected result Draws one point per cell, colored by the identities saved in the example dataset.

Seurat documentationOpen Seurat lesson
STARTerminal

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.

Practice files toy-reads.fastq · toy-reference.fa

  1. Create the index folder.

    Terminal command
    mkdir -p star-index

    Expected result Creates an empty directory, or reuses the existing star-index directory.

  2. Index the miniature reference.

    Terminal command
    STAR --runMode genomeGenerate --genomeDir star-index --genomeFastaFiles toy-reference.fa --genomeSAindexNbases 3 --genomeChrBinNbits 8

    Expected result Writes STAR reference index files inside star-index.

  3. Map the practice reads.

    Terminal command
    STAR --genomeDir star-index --readFilesIn toy-reads.fastq --outFileNamePrefix toy-star-

    Expected result Creates toy-star-Aligned.out.sam and toy-star-Log.final.out. Open the log to see counts and percentages by alignment category.

STAR documentationOpen STAR lesson
tximportR

What you need R with the tximport Bioconductor package installed.

  1. 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.

tximport documentation

Genomics

BCFtoolsTerminal

What you need toy-variants.vcf, with variant quality scores 60 and 15.

Practice files toy-variants.vcf

  1. Print the position and alleles of each variant.

    Terminal command
    bcftools query -f '%CHROM\t%POS\t%REF\t%ALT\n' toy-variants.vcf

    Expected result Prints two tab-separated rows showing toy_chr positions 1 and 2 and their reference and alternate bases.

  2. Keep variants with quality of at least 30.

    Terminal command
    bcftools view -i 'QUAL>=30' -Ov -o filtered.vcf toy-variants.vcf

    Expected result Creates filtered.vcf with the header and the single passing variant at position 1. The cutoff is for this two-record exercise.

BCFtools documentation
Bowtie 2Terminal

What you need toy-reference.fa and toy-reads.fastq. The command name is written bowtie2.

Practice files toy-reads.fastq · toy-reference.fa

  1. Index the teaching reference.

    Terminal command
    bowtie2-build toy-reference.fa toy-index

    Expected result Creates a group of index files named with the prefix toy-index.

  2. Map the single-end reads.

    Terminal command
    bowtie2 -x toy-index -U toy-reads.fastq -S bowtie-toy.sam

    Expected result Writes bowtie-toy.sam and prints an alignment summary with the percentage of reads aligned.

Bowtie 2 documentation
BUSCOTerminal

What you need BUSCO installed on a computer with internet access for its dataset catalogue.

  1. 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.

BUSCO documentation
BWA-MEM2Terminal

What you need toy-reference.fa and toy-reads.fastq in the same folder.

Practice files toy-reads.fastq · toy-reference.fa

  1. Build the reference index.

    Terminal command
    bwa-mem2 index toy-reference.fa

    Expected result Creates index files beside the reference. Reuse them with the same reference sequence.

  2. Align the practice reads.

    Terminal command
    bwa-mem2 mem toy-reference.fa toy-reads.fastq > bwa-toy.sam

    Expected result Writes SAM headers and alignment records to bwa-toy.sam. The third column of a mapped record identifies its reference sequence.

BWA-MEM2 documentationOpen BWA-MEM2 lesson
Ensembl VEPBrowser

What you need The public human variant ID rs699.

  1. Open Variant Effect Predictor, select human, and paste rs699 as the input. Submit and open the results.

    Expected result The result table lists transcript-specific predicted consequences. Compare the consequence and transcript identifier across rows.

Ensembl VEP documentationOpen Ensembl VEP lesson
FlyeTerminal

What you need Flye installed and toy-assembly-info.tsv from the practice download. This miniature report uses fictional contig statistics.

Practice files toy-assembly-info.tsv

  1. Check your Flye installation.

    Terminal command
    flye --version

    Expected result Prints the installed Flye release.

  2. 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.

Flye documentation
GATKTerminal

What you need toy-variants.vcf containing two fictional single-nucleotide variants.

Practice files toy-variants.vcf

  1. Build a lookup index for the practice variants.

    Terminal command
    gatk IndexFeatureFile -I toy-variants.vcf

    Expected result Creates toy-variants.vcf.idx alongside the VCF.

  2. Count variant records in the file.

    Terminal command
    gatk CountVariants -V toy-variants.vcf

    Expected result Reports 2 variant records. This checks a callset before and after filtering.

GATK documentation
IGVDesktop

What you need The human reference genome GRCh38 available in IGV Desktop.

  1. Select the human GRCh38 genome. Type HBB in the locus search box and press Enter.

    Expected result The view moves to the human beta-globin locus. The gene annotation track shows transcript structures and strand orientation.

IGV documentation
QUASTTerminal

What you need toy-reference.fa used as a one-contig mock assembly. The sequence is 360 bases long.

Practice files toy-reference.fa

  1. Calculate basic assembly statistics.

    Terminal command
    quast.py toy-reference.fa --min-contig 100 -o toy-quast

    Expected result Writes toy-quast/report.txt and an HTML report. With one 360-base contig retained, the total length and N50 are both 360 bases.

QUAST documentation
SnpEffTerminal

What you need SnpEff installed with its normal genome configuration. Use a Linux or macOS terminal, or Ubuntu in WSL.

  1. 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.

SnpEff documentation
SPAdesTerminal

What you need The small paired-read self-test packaged with SPAdes. Run in a new working folder.

  1. Assemble the bundled test reads.

    Terminal command
    spades.py --test

    Expected result Runs a short assembly and checks its result. A successful run reports TEST PASSED and saves contigs in spades_test/contigs.fasta.

SPAdes documentation

Protein informatics

AlphaFold DBBrowser

What you need The published model for human hemoglobin subunit beta, accession P68871.

  1. Open the entry and compare colors on the model with the confidence legend.

    Expected result The structure viewer displays the predicted fold. The pLDDT scale gives a local confidence estimate for each residue.

AlphaFold DB documentationOpen AlphaFold DB lesson
AutoDock VinaTerminal

What you need A local installation of AutoDock Vina. This orientation example uses no molecules.

  1. Read the options available in your installed release.

    Terminal command
    vina --help

    Expected result Prints a short explanation of the command-line options. This example produces help text only.

AutoDock Vina documentation
BLASTTerminal

What you need BLAST+ installed. Put toy-query.fasta and toy-proteins.fasta in your working folder.

Practice files toy-proteins.fasta · toy-query.fasta

  1. Compare the query with the supplied proteins using BLASTp.

    Terminal command
    blastp -query toy-query.fasta -subject toy-proteins.fasta -outfmt '6 qseqid sseqid pident length'

    Expected result Each output row lists the query name, matching sequence name, percent identity and alignment length. Alder matches itself at 100% identity.

BLAST documentationOpen BLAST lesson
ChimeraXDesktop

What you need UCSF ChimeraX open with an internet connection. Use its command line.

  1. Open the public hemoglobin structure by its PDB identifier.

    Desktop command
    open 2hhb

    Expected result The viewer loads the molecular model and lists its model number in the log.

ChimeraX documentation
EnsemblBrowser

What you need The human HBB gene, Ensembl ID ENSG00000244734.

  1. Open the gene summary and inspect its transcript table.

    Expected result The gene page shows the genomic location and transcript identifiers. A protein-coding transcript links to its translated sequence.

Ensembl documentation
ExPASy ProtParamBrowser

What you need UniProt accession P68871.

  1. Enter P68871, choose Compute parameters, then select the complete sequence if prompted.

    Expected result The results give sequence length, molecular weight and theoretical isoelectric point (pI), together with amino acid composition.

ExPASy ProtParam documentation
HMMERTerminal

What you need HMMER 3 and toy-proteins-aligned.fasta, an alignment of five fictional classroom proteins.

Practice files toy-proteins-aligned.fasta

  1. Summarize the shared positions in a protein profile.

    Terminal command
    hmmbuild --amino classroom.hmm toy-proteins-aligned.fasta

    Expected result Creates classroom.hmm. The terminal summary includes the number of sequences and model length.

  2. Inspect the profile summary.

    Terminal command
    hmmstat classroom.hmm

    Expected result Shows one row for the profile, including how many sequences contributed to it.

HMMER documentation
InterProBrowser

What you need Human hemoglobin subunit beta, UniProt accession P68871.

  1. Open the InterPro protein entry and inspect the sequence matches.

    Expected result The matching globin family and domain annotations show which part of the protein supports the assignment.

InterPro documentationOpen InterPro lesson
InterProScanTerminal

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.

  1. Annotate the supplied test proteins with Pfam.

    Terminal command
    ./interproscan.sh -i test_proteins.fasta -appl Pfam -f TSV -o domains.tsv

    Expected result Creates domains.tsv with matching signatures, their accessions and their positions in each matching protein.

InterProScan documentation
Mol*Browser

What you need RCSB PDB entry 2HHB in the Mol* 3D viewer.

  1. Drag the structure to rotate it and point at a ribbon segment.

    Expected result The model rotates and the viewer identifies the selected chain and residue.

Mol* documentationOpen Mol* lesson
MolProbityBrowser

What you need The PDB accession 2HHB for an experimental human hemoglobin structure.

  1. Enter 2HHB in the PDB ID field, fetch the structure and submit it for validation.

    Expected result The validation report lists measures such as clashscore and Ramachandran outliers. These flag local geometry for inspection.

MolProbity documentation
NCBI ProteinBrowser

What you need Human hemoglobin subunit beta, RefSeq protein NP_000509.1.

  1. Open the record and select FASTA.

    Expected result The page displays a header beginning with the RefSeq accession, followed by the amino acid sequence.

NCBI Protein documentation
PfamBrowser

What you need The globin domain, Pfam accession PF00042.

  1. Open PF00042 in InterPro and read the description and linked protein matches.

    Expected result The record identifies the globin domain and links it to proteins with matching sequence profiles.

Pfam documentation
PyMOLDesktop

What you need PyMOL open with an internet connection. Type in the PyMOL command line.

  1. Load the experimental hemoglobin structure.

    Desktop command
    fetch 2hhb

    Expected result The structure appears and 2hhb is added to the object list.

  2. Display its protein chains as ribbons.

    Desktop command
    show cartoon, 2hhb

    Expected result The viewer displays a cartoon tracing the folded protein chains.

PyMOL documentation
RCSB PDBBrowser

What you need The four-character structure accession 2HHB.

  1. Open the structure summary and find the experimental method.

    Expected result The record identifies human deoxyhemoglobin and gives its X-ray diffraction method, resolution and primary citation.

RCSB PDB documentation
SWISS-MODELBrowser

What you need A SWISS-MODEL Repository entry for human hemoglobin subunit alpha, UniProt P69905.

  1. Open the repository entry and inspect the sequence coverage of an available structure.

    Expected result The sequence map shows which residues the structure covers. The associated entry identifies the structure source.

SWISS-MODEL documentation
UniProtKBBrowser

What you need Human hemoglobin subunit beta, accession P68871.

  1. Open P68871 and choose the FASTA sequence under Download.

    Expected result The FASTA header identifies P68871. The sequence contains 147 amino acids.

UniProtKB documentationOpen UniProtKB lesson

Evolution

ClipKITTerminal

What you need ClipKIT and toy-proteins-aligned.fasta.

Practice files toy-proteins-aligned.fasta

  1. Trim the alignment with ClipKIT’s default settings.

    Terminal command
    clipkit toy-proteins-aligned.fasta -o clipkit-aligned.fasta

    Expected result Writes clipkit-aligned.fasta and reports the number of retained and trimmed sites. A small classroom alignment may retain every site.

ClipKIT documentation
FigTreeDesktop

What you need FigTree installed and toy-tree.nwk downloaded.

Practice files toy-tree.nwk

  1. Choose File → Open and select toy-tree.nwk. Turn on Tip Labels if needed.

    Expected result The viewer draws the branching tree and displays the five fictional sequence names.

FigTree documentation
HyPhyTerminal

What you need HyPhy installed. This first check requires no sequence data.

  1. Inspect the inputs for the FEL evolutionary model.

    Terminal command
    hyphy fel --help

    Expected result Prints help for fixed-effects likelihood (FEL), including its alignment, genetic code and tree options.

HyPhy documentation
IQ-TREETerminal

What you need IQ-TREE 3 and toy-proteins-aligned.fasta, a fictional protein alignment.

Practice files toy-proteins-aligned.fasta

  1. Estimate a maximum-likelihood tree using the JTT protein model.

    Terminal command
    iqtree3 -s toy-proteins-aligned.fasta -m JTT --prefix classroom-tree

    Expected result Creates classroom-tree.treefile in Newick format and classroom-tree.iqtree with the analysis summary.

IQ-TREE documentationOpen IQ-TREE lesson
iTOLBrowser

What you need The supplied toy-tree.nwk file, containing five fictional sequence labels.

Practice files toy-tree.nwk

  1. Choose Upload and open toy-tree.nwk in the tree viewer.

    Expected result The tree displays five tip labels. Alder and Birch join at one internal node, and Hazel and Willow join at another.

iTOL documentationOpen iTOL lesson
MAFFTTerminal

What you need MAFFT installed and toy-proteins.fasta in the current folder.

Practice files toy-proteins.fasta

  1. Align the five fictional protein sequences.

    Terminal command
    mafft --auto toy-proteins.fasta > mafft-aligned.fasta

    Expected result Writes a FASTA alignment. Each sequence occupies the same number of alignment columns.

MAFFT documentationOpen MAFFT lesson
MCScanXTerminal

What you need The MCScanX executable installed in the current directory.

  1. 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.

MCScanX documentation
ModelFinderTerminal

What you need IQ-TREE 3 and toy-proteins-aligned.fasta.

Practice files toy-proteins-aligned.fasta

  1. Compare a restricted set of protein substitution models.

    Terminal command
    iqtree3 -s toy-proteins-aligned.fasta -m MF -mset LG,JTT,WAG --prefix classroom-model

    Expected result Writes the model-selection report classroom-model.iqtree. Look for the model with the lowest Bayesian information criterion (BIC).

ModelFinder documentation
MUSCLETerminal

What you need MUSCLE version 5 and toy-proteins.fasta in the current folder.

Practice files toy-proteins.fasta

  1. Calculate a multiple sequence alignment.

    Terminal command
    muscle -align toy-proteins.fasta -output muscle-aligned.fasta

    Expected result Creates muscle-aligned.fasta, with the five proteins written in aligned FASTA format.

MUSCLE documentation
OrthoFinderTerminal

What you need OrthoFinder and its dependencies installed. Open the folder that contains the ExampleData directory from its distribution.

  1. Compare the proteomes in the official example.

    Terminal command
    orthofinder -f ExampleData

    Expected result Creates a results directory with orthogroup assignments and inferred gene and species trees. Each input FASTA represents one species.

OrthoFinder documentation
PAMLTerminal

What you need PAML installed and its example files downloaded. Start in examples/mtCDNAape with the original example files together.

  1. Run codeml with the distributed primate mitochondrial example.

    Terminal command
    codeml codeml.ctl

    Expected result Writes the main results to mlc as specified by the control file. Look for the log-likelihood and estimated model parameters.

PAML documentation
RAxML-NGTerminal

What you need RAxML-NG and toy-proteins-aligned.fasta.

Practice files toy-proteins-aligned.fasta

  1. Check that the alignment is suitable for a protein tree analysis.

    Terminal command
    raxml-ng --check --msa toy-proteins-aligned.fasta --model JTT --prefix classroom-check

    Expected result Prints alignment-validation messages and writes classroom-check.raxml.log. Inspect any warnings before running a tree search.

RAxML-NG documentation
trimAlTerminal

What you need trimAl and toy-proteins-aligned.fasta.

Practice files toy-proteins-aligned.fasta

  1. Keep only columns containing a residue in every sequence.

    Terminal command
    trimal -in toy-proteins-aligned.fasta -out ungapped.fasta -nogaps -fasta

    Expected result Writes ungapped.fasta. The supplied alignment has no gap characters, so all of its columns are retained.

trimAl documentation

Microbiome ecology

ANCOM-BCR

What you need The ANCOMBC package installed in R.

  1. 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.

ANCOM-BC documentation
CutadaptTerminal

What you need Cutadapt installed in your active environment.

  1. Check the installed release before comparing trimming reports.

    Terminal command
    cutadapt --version

    Expected result Prints one version number. Record it alongside the sample's trimming report.

Cutadapt documentation
DADA2R

What you need The dada2 package and the two fictional sequence labels in this example.

  1. Read the sequence counts as a named vector.

    R command
    features <- data.frame(sequence = c("ACGT", "AGGT"), abundance = c(3L, 1L))
    dada2::getUniques(features)

    Expected result Displays ACGT with count 3 and AGGT with count 1. The names identify the features, and the numbers are their observed counts.

DADA2 documentationOpen DADA2 lesson
HUMAnNTerminal

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.

Practice files toy-pathabundance.tsv

  1. Check the installed profiling software version.

    Terminal command
    humann --version

    Expected result Prints the installed HUMAnN version. An abundance report also needs its database version for comparison with other studies.

  2. Convert the example pathway abundances to relative abundance.

    Terminal command
    humann_renorm_table --input toy-pathabundance.tsv --output relative-pathways.tsv --units relab

    Expected result Creates relative-pathways.tsv. The two pathway values are 0.75 and 0.25 because their original values are 6 and 2.

HUMAnN documentation
Kraken 2Terminal

What you need Kraken 2 installed in the active environment. For the report exercise, open the folder containing toy-kraken-report.tsv.

Practice files toy-kraken-report.tsv

  1. Check the installed classifier version.

    Terminal command
    kraken2 --version

    Expected result Prints the executable's release information. Record the reference database release separately.

  2. Read the unclassified row from the classroom Kraken report.

    Terminal command
    awk -F '\t' '$4 == "U" {print $2, $6}' toy-kraken-report.tsv

    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.

Kraken 2 documentation
MEGAHITTerminal

What you need MEGAHIT installed in the active environment.

  1. Record the assembler release for an existing environmental assembly.

    Terminal command
    megahit --version

    Expected result Prints the MEGAHIT release. Include it in the methods record for the contig file.

MEGAHIT documentation
MetaBAT2Terminal

What you need MetaBAT2 installed in the active environment.

  1. Read the built-in guide to the program's files.

    Terminal command
    metabat2 -h

    Expected result Displays the command usage and options, including the contig input and the output prefix for bins.

MetaBAT2 documentation
MetaPhlAnTerminal

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.

Practice files toy-taxonomic-profile.tsv

  1. Read the installed profiler version.

    Terminal command
    metaphlan --version

    Expected result Prints version information to include with a taxonomic abundance profile.

  2. 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.

MetaPhlAn documentation
phyloseqR

What you need The phyloseq package and a fictional table of counts from two soil samples.

  1. Give each sample its own column.

    R command
    counts <- cbind(Field = c(4L, 2L, 1L), Meadow = c(1L, 3L, 5L))
    rownames(counts) <- c("ASV1", "ASV2", "ASV3")

    Expected result Creates a three-feature by two-sample count matrix named counts in R.

  2. Total the observations in each sample.

    R command
    features <- phyloseq::otu_table(counts, taxa_are_rows = TRUE)
    phyloseq::sample_sums(features)

    Expected result Displays Field = 7 and Meadow = 9. Each total is the sum of one sample's observed feature counts.

phyloseq documentationOpen phyloseq lesson
QIIME 2Terminal

What you need Activate the QIIME 2 marker-gene environment. Put toy-community-metadata.tsv from the practice files in your working folder.

Practice files toy-community-metadata.tsv

  1. Build a browsable sample table.

    Terminal command
    qiime metadata tabulate --m-input-file toy-community-metadata.tsv --o-visualization habitats.qzv

    Expected result Writes habitats.qzv. Opening it in QIIME 2 View shows four sample rows and their field or meadow habitats.

QIIME 2 documentationOpen QIIME 2 lesson
SILVABrowser

What you need The public SILVA Tree Viewer.

  1. Open the Tree Viewer and expand Bacteria in the taxonomic tree.

    Expected result The browser shows child groups in the selected SILVA reference. Read the displayed taxonomy as a classification hierarchy.

SILVA documentationOpen SILVA lesson

Systems biology

COBRApyPython

What you need The cobra Python package and the chemical formula for glucose.

  1. Create a metabolite record and calculate its formula weight.

    Python command
    from cobra import Metabolite
    glucose = Metabolite("glc_c", formula="C6H12O6", compartment="c")
    print(round(glucose.formula_weight, 2))

    Expected result Prints 180.16, the approximate molecular mass in daltons implied by the supplied elemental formula.

COBRApy documentation
COPASIDesktop

What you need A COPASI time-course tutorial model with reactions, initial values, and parameter values already supplied.

  1. 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.

COPASI documentation
cytoHubbaDesktop

What you need The cytoHubba app installed in Cytoscape, with the four-node toy-network.tsv imported as an undirected network.

Practice files toy-network.tsv

  1. Open cytoHubba, choose the toy network and the Degree method, request all four nodes, and run the ranking.

    Expected result All four nodes have degree 2. The tie reflects the ring structure of the example network.

cytoHubba documentation
CytoscapeDesktop

What you need Cytoscape and the practice file toy-network.tsv.

Practice files toy-network.tsv

  1. Under File, choose Import, then Network from File. Open toy-network.tsv, assign the source and target columns, and confirm.

    Expected result The network contains four nodes and four edges. Each data row in the file supplies one edge.

Cytoscape documentationOpen Cytoscape lesson
g:ProfilerBrowser

What you need The human gene symbols HBA1, HBA2, and HBB.

  1. 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.

g:Profiler documentationOpen g:Profiler lesson
limmaR

What you need The limma package and four fictional log2 expression measurements.

  1. Define two samples per group and their expression values.

    R command
    group <- factor(c("A", "A", "B", "B"))
    expression <- rbind(GeneA = c(5, 6, 7, 8))

    Expected result Creates a group label for each of the four columns and a one-gene expression matrix.

  2. 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.

limma documentation
MetaboAnalystBrowser

What you need A built-in example in the one-factor statistical analysis module.

  1. Open the one-factor statistical analysis module, choose a provided example dataset, and submit it. Review the data summary.

    Expected result The module reports the dataset's sample and feature dimensions. These numbers let you check which axis represents samples.

  2. Continue through the example's preprocessing screens, open PCA, and select the scores plot.

    Expected result The plot places samples along principal components. Nearby points have similar profiles under the selected preprocessing choices.

MetaboAnalyst documentation
mixOmicsR

What you need The mixOmics package and R's built-in iris measurements.

  1. Compute two principal components from the four numeric flower measurements.

    R command
    fit <- mixOmics::pca(iris[, 1:4], ncomp = 2, scale = TRUE)
    dim(fit$variates$X)

    Expected result Displays 150 and 2. Each flower receives one score on each of the two components.

mixOmics documentation
MOFA+R

What you need The MOFA2 R package, which provides an interface for multi-omics factor analysis.

  1. Read how the model constructor expects multiple measurements to be arranged.

    R command
    help("create_mofa", package = "MOFA2")

    Expected result Opens the local reference for the model constructor. The input documentation describes how to provide features, samples, and views.

MOFA+ documentation
ReactomeBrowser

What you need The human Translation pathway record R-HSA-72766.

  1. Open the record and locate the pathway diagram and its constituent events.

    Expected result The record identifies the species, the stable pathway ID, and the translation events included in that pathway.

Reactome documentationOpen Reactome lesson
STRINGBrowser

What you need Arabidopsis thaliana gene identifier AT1G67090, which encodes a Rubisco small subunit.

  1. Choose a single-protein search, enter AT1G67090, select Arabidopsis thaliana, and open the matching record.

    Expected result Displays a protein association network for the selected plant protein.

  2. Select an edge and inspect its evidence channels.

    Expected result Shows the evidence supporting that association, which can include experiments, co-expression, or curated databases.

STRING documentation
WGCNAR

What you need The WGCNA package and a small list of module labels.

  1. Convert module identifiers into the package's usual display colors.

    R command
    WGCNA::labels2colors(c(0, 1, 2, 1))

    Expected result Returns grey, turquoise, blue, and turquoise in that order. The repeated label 1 shares a color, and 0 marks an unassigned item.

WGCNA documentation

Bioinformatics in depth

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.

Open the command reference · Try the reproducibility exercise · Study the EMBL-EBI introduction

File formats and key terms

Look up an unfamiliar file or term, identify the type of database record you need, or find a source to read for your project.

Common file formats

FASTQ .fastq

Stores sequencing reads and a quality score for each base. A typical record has four lines, beginning with a read name marked by @.

Download an example FASTQ

FASTA .fa or .fasta

Stores DNA, RNA, or protein sequences. Each record starts with a name on a line marked by >, followed by the sequence letters.

Download an example FASTA

SAM and BAM .sam or .bam

Store sequencing reads and where they map to a reference when an alignment is available. SAM is plain text. BAM is its compressed binary equivalent.

Download an example SAM

GTF .gtf

Describes features such as exons and their coordinates. A GTF and its reference FASTA should use the same assembly and sequence names.

Download an example GTF

TSV count matrix .tsv

Stores counts in a table separated by tabs. In the DESeq2 exercise, each row is a gene and each sample column holds that gene’s raw count.

Download the example count matrix

Newick .nwk or .treefile

Represents a tree in plain text. Parentheses group related branches, and the file can also record branch lengths.

Download an example tree

VCF .vcf

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.

Read the VCF specification

PDB and PDBx/mmCIF .pdb or .cif

Store 3D atomic coordinates and supporting structure metadata such as chains and residues. The modern PDBx/mmCIF format is the archive standard.

Read the structure format guide

Terms you’ll see in the labs

Read
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.

Open the study used here

Ensembl genes and transcripts

A gene may have multiple transcript records. Check the assembly and transcript version before comparing genomic coordinates or annotated features.

Open the human HBB gene record

Protein structure entries and chains

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.

Open the 2HHB structure entry

Check format details in the NCBI File Format Guide, SAM/BAM specifications, Ensembl GTF guide, and PHYLIP Newick guide.

Explore the terms further in the NHGRI genetics glossary, Illumina quality scoring guide, DESeq2 guide, and EMBL-EBI guide to local confidence.

Free reading and tutorials

Use these courses, open readings, and public records to go deeper into a module or find background for a research project.

Learn core skills

Explore public data

Read articles and community updates

Read research and document your work

Lesson discussions

Anyone can read the threads. Use your existing ChatGPT account to ask a question, share what you tried, or discuss how you interpreted a result.

The course community shares one discussion board. Questions and replies from both versions of the guide appear there.

Open the discussion board