Guides
These guides follow biological data from input files to results you can explain. Choose a route from your starting data, or use the section catalog to look up a method you already know.
Choose a route
Section titled “Choose a route”| Your starting point | Suggested route | Decision to make |
|---|---|---|
| You are new to analysis code | Linux, then R or Python, then Git | Choose one language for the first analysis and save its inputs and commands. |
| You are preparing for a Python interview | Python interview preparation, then the practice plan | Explain the invariant, test boundary cases, and derive time and auxiliary space costs. |
| You have sample tables and measurements | File inspection, joins, and missing data | Establish the sample key and distinguish missing measurements from measured zeros. |
| You have large assay tables in Parquet files | SQL and DuckDB | Select the required measurements and verify sample keys before a metadata join. |
| You need to compare experimental groups | Statistical analysis, then publication figures | Identify independent subjects, paired observations, and the quantity you want to compare. |
| You need to examine prior assumptions in a model | Bayesian regression | Compare prior predictions, posterior estimates, and sampler diagnostics before interpreting an interval. |
| You have cohort, registry, or surveillance data | Epidemiology, starting with study designs and confounding | Name the population, the exposure contrast, and the effect scale before you fit a model. |
| You have bulk RNA counts | Experimental design, count QC, differential expression, and pathways | Match the sample sheet to the count matrix and define the treatment contrast. |
| You have transcript estimates | Differential transcript usage | Preserve the transcript annotation and compare proportions within each gene. |
| You have a public study accession | Public dataset reuse | Verify the link between sample records, raw runs, and processed matrix columns. |
| You have qPCR wells and Cq measurements | qPCR files, then relative expression | Check assay efficiency, reference genes, and biological pairs before comparing conditions. |
| You have single-cell counts | Single-cell analysis, QC, annotation, and pseudobulk comparisons | Keep cell identity and donor replication separate when you compare conditions. |
| You have cell labels for several donor samples | Differential cell abundance | Define the captured cell denominator and preserve donor pairs when comparing ratios to a reference population. |
| You have cell profiles across development | Trajectories and pseudotime | Examine how graph structure and root choice affect inferred cell order. |
| You have expression counts and tissue coordinates | Spatial inputs, coordinate checks, and spatial graphs | Verify image alignment and distinguish capture spots from independent donors. |
| You have tissue counts and a cell reference | Spatial deconvolution | Distinguish RNA contributions from cell fractions and check missing reference populations. |
| You have LC-MS spectra and analytical controls | Metabolomics design, feature detection, and quality filters | Establish the controls, measurement units, and evidence for compound identity before biological interpretation. |
| You have pooled CRISPR guide counts | Screen design, count quality, and MAGeCK methods | Define the treatment cultures, control guides, and statistical family before selecting candidate genes. |
| You have FCS files or protein measurements | Flow cytometry or proteomics | Establish what the instrument measured and which controls support the result. |
| You have DNA reads or receptor sequences | DNA-seq, BCR sequencing, or TCR sequencing | Choose the workflow for the assay and distinguish measured sequences from inferred biological meaning. |
| You have methylation IDAT arrays | Paired methylation | Check raw signals and probe reliability before a model that preserves donor pairs. |
| You have microbial community reads or tables | Microbiome design, nf-core pipelines, and community analysis | Identify the assay, biological units, controls, and abundance denominator before comparing samples. |
| You have chromatin reads or region counts | Chromatin design, ATAC processing, and paired accessibility | Preserve donor pairs and distinguish accessible regions from protein occupancy or target genes. |
| You have cohort genotypes | Cohort design, genotype quality, and relatedness | Define the sample set, reference alleles, and population structure before a phenotype model. |
| You want to predict an outcome or combine assays | Machine learning or multi-omics method choice | Decide whether the task predicts a known label or explores variation without labels. |
| You need a repeatable pipeline or clinical report | Workflow managers or Pharmaverse | Record input versions, analysis decisions, and the provenance of the final files. |
| You need a report from an analysis | Quarto reports | Keep the text, tables, and figures connected to the same data and parameters. |
The mathematics lessons explain notation and calculations used across these routes. The cheatsheets provide syntax references once you know which operation you need.
Use an example with your data
Section titled “Use an example with your data”Read the example’s data description before you copy its code. Check the required columns, units, identifiers, and experimental design. Replace the input only after you can explain what one row represents and which observations belong to the same subject.
Executed examples have scripts and environments in a companion repository. That repository is currently private. The code and captured results remain visible on the guide pages. Public dataset links lead to the original providers where the guide uses a published dataset.
Within a companion checkout, a guide’s folder follows its website URL. Its
README.md describes the inputs, and its run.sh names the required container
image and writes results under outputs/. Check the image’s build instructions
before you run the script; a local image tag is not a public image download.
Pages marked Reference only describe commands that require a separate service, license, data download, or execution environment. Their notes explain that boundary. Do not treat a reference command as evidence that the website executed it.
Available now
Section titled “Available now”- Linux command line starts with installing Ubuntu, then covers the filesystem, files and permissions, pipes and redirection, text processing, shell scripts, apt, SSH, and tmux.
- Git and version control explains why version control matters, then covers the basics, branching and merging, and GitHub for scientists.
- Bioinformatics file formats explains the files a bioinformatician meets, from FASTQ, BAM, and VCF to the FCS, qPCR, Olink, and Luminex files that come off bench instruments.
- Programming with R covers variables, data structures, control flow, functions, debugging, testing, documentation and style, packages, the tidyverse, and S4 classes.
- Programming with Python covers variables, data structures, control flow, functions, type annotations, debugging, testing, documentation and style, packages, pandas, Polars, NumPy, and classes.
- Python interview preparation teaches nine data structures, Big O, and four groups of patterns for easy and medium problems.
- Mathematics for bioinformatics explains notation, linear algebra, probability, calculus, and numerical methods through biological examples.
- LLM assisted coding explains why coding agents matter and how to choose one, shows how to configure Claude Code, Codex, OpenCode, and Gemini, and covers privacy, CLAUDE.md patterns, and common pitfalls.
- Reproducibility explains the reproducibility crisis in bioinformatics, its common failure modes, and the tools that solve them.
- Quarto reports connects computed text, tables, and figures in a report that accepts different parameters.
- Public dataset reuse connects GEO samples, ENA runs, and processed counts through checked accessions. Its manifests retain source hashes and biological pairs.
- Containers with Podman explains what containers are, then covers building images, running containers, volumes and networking, and Podman Compose.
- Workflow managers cover Nextflow and nf-core, AWS Batch, an nf-core RNA-seq run on the airway dataset, Snakemake, and WDL with Cromwell.
- Data wrangling transforms, joins, reshapes, and summarizes tables with dplyr in R and Polars in Python, side by side on one shared expression table.
- SQL and DuckDB queries Parquet measurements, checks metadata joins, and preserves donor pairs in a declared simulation.
- Missing data explains the missingness mechanisms, simple and multiple imputation, the choice of imputation model, and the evaluation of imputation quality, in R with mice and in Python with miceforest.
- Publication figures draws each figure in R and Python from the same data with its statistical test built in, from group comparisons and Kaplan-Meier curves to heatmaps, UpSet plots, and raincloud plots.
- Statistical analysis runs R and Python side by side, from descriptive statistics and power through group comparisons, regression, and mixed models to survival analysis, trial design, multiple testing, and PCA.
- Bayesian regression compares prior assumptions, posterior estimates, predictive intervals, and sampler diagnostics in PyMC. Its simulation declares the generating parameters.
- Epidemiology covers study designs, standardization, confounding and causal diagrams, case-control studies, bias analysis, causal inference methods, Mendelian randomization, meta-analysis, and epidemic models. Every dataset is simulated with a stated true effect.
- Machine learning applies Python to bioinformatics data, from preprocessing and cross-validation to gradient boosting, ensembling, deep learning, AutoML, and tabular foundation models.
- Multi-omics integration runs MOFA, SNF, DIABLO, and MCIA in R on the same CLL cohort and compares the four methods.
- Flow cytometry explains how the instrument works, then goes in R from an FCS file through compensation, transformation, and gating to clustering, spectral data, and harmonization.
- DNA-seq calls germline variants on one region of HG002 with nf-core/sarek, compares four callers, and benchmarks them against the Genome in a Bottle truth set, with annotation and figures in R and Python.
- Copy number analysis corrects published coverage and estimates copy ratio segments with CNVkit. An independent array provides a second assay of the same cell line.
- Structural variants compares controlled changes to twelve HG002 variants with Truvari. Two sequence thresholds show how matching rules change precision and recall.
- Somatic variants runs Mutect2 on simulated tumor and normal reads with known mutations. A stricter allele fraction filter shows the cost in missed calls.
- DNA methylation follows six public IDAT arrays through sample checks, noob correction, probe filters, and paired limma tests. The lesson separates M-value inference from beta differences.
- Population genetics and association follows real human genotypes through quality checks, relatedness, population structure, and association models. Every association phenotype is simulated, so the examples support method comparisons without claims of biological discovery.
- RNA-seq analysis follows the workflow from count matrix to enriched pathways, grouped into background, processing, differential expression, and pathway analysis.
- Differential transcript usage compares transcript proportions with DRIMSeq across seven pasilla samples. The model adjusts for library layout and retains unavailable tests in the result table.
- qPCR analysis compares relative expression in paired biological samples after checks of technical wells and reference assays.
- Chromatin accessibility and binding follows paired human ATAC-seq data through nf-core processing, QC, differential accessibility, motifs, annotation, and genomic tracks. It also explains the separate controls required for ChIP-seq and CUT&RUN.
- Microbiome analysis covers amplicon and shotgun workflows with nf-core, then analyzes taxonomy, diversity, and paired abundance changes in R and Python.
- Single-cell RNA-seq follows sc-best-practices through the Scanpy workflow on PBMC datasets, from QC and normalization through clustering and annotation to pseudobulk differential expression and integration.
- Differential cell abundance describes captured cell proportions and compares ratios to a reference population across paired simulated donors.
- Single-cell trajectories examines graph structure and root choice with measured developmental profiles. Pseudotime describes an inferred order rather than elapsed time.
- Spatial transcriptomics connects one public Visium section to its tissue image, then compares expression maps, neighbor graphs, and spatial statistics. Its conclusions remain within that specimen.
- Spatial deconvolution estimates reference-conditional RNA contributions in measured lymph node spots. Held-out cell mixtures test recovery and the effect of an omitted reference population.
- Proteomics covers ELISA, Luminex, Olink, and DDA mass spectrometry. Each route preserves its measurement units and the controls required for its group comparison.
- Metabolomics follows negative LC-MS data through controls, feature detection, quality filters, and paired species effects. Unknown ion features retain their identifiers through interpretation.
- CRISPR screens follows complete deposited guide counts through quality checks, normalization, MAGeCK inference, and candidate interpretation. The example preserves the limits of treatment cultures from one transduction.
- BCR sequencing profiles antibody repertoires from library design to clonal analysis, with runnable AIRR format examples and a guide to nf-core/airrflow.
- TCR sequencing follows T cell receptors from library design to clonal tracking and antigen specificity prediction, with runnable AIRR format examples and a guide to nf-core/airrflow.
- Batch correction explains what a batch effect is, shows how to see one with PCA, and compares the design formula with ComBat on the pasilla dataset.
- Pharmaverse takes clinical trial data in R from SDTM domains to ADaM datasets with admiral, and from there to report tables with rtables, tern, and tfrmt.
- Cheatsheets give the syntax for 33 shell tools, R packages, and Python libraries, from awk and SLURM to DESeq2, Seurat, Polars, and Scanpy.
Questions or feedback?
Section titled “Questions or feedback?”See the About page.