Omics Field Guide
Practice

Study design, workflows and reproducibility

Most failed omics projects fail in design or data management, not in algorithms. This chapter covers the practical layer: design, batch effects, file formats, public data, workflow managers and reporting.

Design before data

Batch effects

If batch is not confounded with the variable of interest, include it as a covariate in the model (preferred) or correct it: ComBat (empirical Bayes on continuous data), ComBat-seq (counts), limma removeBatchEffect (for visualisation only), RUVSeq/RUVg (using control genes), SVA (surrogate variables for unknown batches), and for single-cell, Harmony or scVI. Check before and after with PCA coloured by batch and by biology, kBET or LISI scores, and silhouette widths.

Pitfall

Correcting batch and then testing for group differences with the corrected data can exaggerate significance, especially when the design is unbalanced (Nygaard et al. 2016, Biostatistics). Model batch in the test instead of pre-correcting when possible.

File formats you will meet

FormatLayerContains
FASTQSequencingReads + per-base Phred qualities
POD5 / BAM (unaligned)Long-readNanopore raw signal / PacBio reads with kinetics or modification tags (MM/ML)
SAM / BAM / CRAMAlignmentAligned reads, CIGAR strings, MAPQ, tags; CRAM is reference-compressed
VCF / BCF / gVCFVariantsVariant records, genotypes, annotations
BED / narrowPeak / bigWig / bedGraphIntervals, signalRegions (0-based, half-open), peaks, coverage tracks
GTF / GFF3AnnotationGenes, transcripts, exons (1-based, inclusive)
.hic / .cool / .mcool / pairs3D genomeContact matrices at multiple resolutions
h5ad / h5Seurat / RDS / MuData / SpatialData (zarr)Single-cell, spatialCount matrices + cell and gene metadata + embeddings
mzML / mzXML / rawMass spectrometrySpectra; vendor raw files need conversion
mzTab / mzIdentMLProteomics, metabolomics resultsIdentifications and quantities
BIOM / phyloseq / TreeSummarizedExperimentMicrobiomeFeature tables with taxonomy and trees
Pitfall

BED is 0-based half-open; GTF, VCF and SAM are 1-based. Off-by-one errors between them are among the most common bugs in genomics code.

Public data you should know

Raw and processed data

  • GEO, SRA, ENA, DDBJ (sequencing)
  • EGA, dbGaP (controlled human data)
  • ArrayExpress / BioStudies
  • PRIDE / ProteomeXchange, MassIVE (proteomics)
  • MetaboLights, Metabolomics Workbench, GNPS (metabolomics)
  • CELLxGENE Census, Human Cell Atlas, Single Cell Portal

Reference cohorts

  • TCGA / GDC, ICGC/PCAWG, CPTAC (cancer multi-omics)
  • GTEx (tissue expression and QTLs)
  • UK Biobank, All of Us, FinnGen, Biobank Japan
  • gnomAD, 1000 Genomes, TOPMed, HPRC
  • ENCODE, Roadmap, IHEC, 4DN (regulation)
  • DepMap, LINCS/CMap (perturbations)

Knowledge bases

  • Ensembl, GENCODE, RefSeq, UCSC
  • UniProt, AlphaFold DB, PDB
  • GO, Reactome, KEGG, WikiPathways, MSigDB
  • ClinVar, ClinGen, OMIM, HPO, Orphanet
  • HMDB, ChEBI, LIPID MAPS
  • GWAS Catalog, Open Targets, STRING, OmniPath

Reproducible computation

Tools