4  A first analysis in EpiNexus

A complete analysis in EpiNexus starts with an empty project and ends with the results. This chapter guides you through one such analysis, step by step. We use the ChIP-seq example of this book: H3K27ac in the young mouse heart, from the Gene Expression Omnibus (GEO) series GSE155100 (Boogerd et al. 2023). The next chapters explain what happens at each step.

NoteIn this chapter you will learn
  • how to create a project and choose its reference genome;
  • how to upload your own files or import public data;
  • how to describe the samples, and why the target, condition and replicate matter;
  • how to set up, start and follow a run;
  • where to find the results, and how to take them out of EpiNexus.

4.1 The question

How do you go from reads to results in EpiNexus? There are five steps:

  1. Create a project.
  2. Add the data: upload your files or import public data.
  3. Describe the samples.
  4. Set up and start a run.
  5. Follow the run and open the results.
NoteIn EpiNexus 1.4

This whole chapter describes EpiNexus 1.4 (October 2026). Button and field names are written in italics, as they appear on screen. The screenshots were taken with version 1.2. Where the screen now looks different, the text says so.

4.2 Step 1: Create a project

A project holds the data, the sample descriptions and the runs of one study.

  1. In the sidebar, click All Projects, then New Project.
  2. Enter a Project Name, for example “Arid1a heart H3K27ac”. The Description is optional.
  3. Choose the Reference Genome. For our example, choose mouse mm10, the genome the authors used. Only installed genomes are listed. If yours is missing, ask the EpiNexus team.
  4. Click Create Project.

The genome you choose here is the default for all runs in the project. Chapter 3 explains how to choose a genome.

The Projects page with the Create New Project form open. Project Name is Arid1a heart H3K27ac, Description is H3K27ac ChIP-seq of the young mouse heart (GSE155100), and Reference Genome is Mouse (mm10/GRCm38). Below are the buttons Create Project and Cancel.
Figure 4.1: The Create New Project form, filled in for our example, with mouse mm10 as the reference genome. EpiNexus 1.2 interface.

4.3 Step 2: Add the data

Open Upload Data in the sidebar. The page has two tabs.

From my computer. Drag your FASTQ files into the drop zone, or click Browse Files. EpiNexus also accepts BAM files with their peak files. Files are sent in pieces of 50 MB. If the connection is lost, the upload continues where it stopped. You can close the browser and come back later.

From a public repository (GEO / SRA / ENA). This tab imports data from GEO, the Sequence Read Archive (SRA) or the European Nucleotide Archive (ENA). For our example, this is the tab to use.

  1. Enter the accession numbers. For GSE155100, you can enter the series number, or the GSM numbers of the eight samples you want (four H3K27ac and four inputs).
  2. Click Look up. EpiNexus lists the samples and the files it would import.
  3. Check each row (Figure 4.2). EpiNexus fills in the Target, Condition, Rep (replicate) and Tissue from the archive text. For the inputs, set the target role to input. Make sure each H3K27ac sample and its input have the same condition and replicate number. To rename a condition for all its samples at once, edit it in the box above the table.
  4. Click Import N sample(s). The files are copied directly from the archive into your project. The bar above the table shows how much of your storage the import will use.
The Import from GEO, SRA or ENA box with GSE155100 entered, then a summary: 8 samples, 8 runs, 8 selected, 3.4 GB, project genome mm10, a storage bar (67 GB used plus 3.4 GB selected of 100 GB), and the conditions Arid1a cKO and Control with four samples each. A table lists eight GEO samples (GSM4695455 to GSM4695462): four inputs and four H3K27ac samples, each with a name, a target and a condition.
Figure 4.2: The import preview for GSE155100, after Look up. Each row is one sample, with the target and the condition filled in from GEO; the four inputs have the target role input. The table continues to the right with the replicate, the reads, the size and the source. EpiNexus 1.2 interface.

A progress card shows each file. When the import is done, the samples appear on the Samples page.

4.4 Step 3: Describe the samples

Open Samples in the sidebar. The page lists one sample per row, with these fields:

Table 4.1: Sample fields. Tissue, Cell type and Reference tissue are new in EpiNexus 1.4.
Column What to enter Example
Sample Name A short, unique name H3K27Ac_Control_rep1
Files The FASTQ files of the sample (filled in by the import)
Target The histone mark or protein, or input / IgG for controls H3K27ac, input
Condition The group the sample belongs to Arid1a f/f Control
Rep The replicate number within the condition 1
Tissue, Cell type Optional: where the sample comes from, in your own words heart ventricle
Reference tissue Optional: the tissue group the sample is checked against Heart

The whole analysis depends on these fields:

  • The target decides the peak mode (narrow or broad) and identifies the controls.
  • The condition decides which samples are compared.
  • The condition and replicate decide which input belongs to which ChIP sample. EpiNexus pairs an input with the ChIP sample that has the same condition and replicate number. A ChIP sample without such an input uses the input with the lowest replicate number in its condition. If its condition has no input and all inputs come from one condition, it uses one of those (Chapter 17).
  • The reference tissue is used only after the run, by the tissue check (Chapter 6). EpiNexus suggests it from the tissue and cell type, and you can change it. It never changes the results.

The cards above the table summarise the samples. Check them before you start a run. For our example, they show two targets (H3K27ac and input), two conditions and two replicates per group (Figure 4.3).

The Samples page of the project ChIPseq_full, genome mm39, with eight samples registered. Cards show Total Samples 8, Targets input and H3K27ac, Conditions Arid1a f/f Control and aMHC-Cre;Arid1a f/f cKO, and Replicates 2 per group. The table lists each sample with its GEO file, target, condition and replicate.
Figure 4.3: The Samples page of the GSE155100 project. The cards show the targets, the conditions and the number of replicates. Each row shows the sample’s file, target, condition and replicate. EpiNexus 1.4 adds a Tissue column. EpiNexus 1.2 interface.

If you uploaded your own files, register the samples here. Click Add Sample to add one sample, or Import CSV to add many. A sample sheet is a comma-separated file with these columns: SampleID, fastq_r1, fastq_r2, Factor, Condition, Replicate. Leave fastq_r2 empty for single-end reads, and write input in the Factor column for controls. Three columns are optional: Tissue, CellType and TissueGroup (the reference tissue).

WarningPitfall: importing a sample sheet

Import CSV replaces all samples in the project, including samples imported from GEO. Therefore, use it before an import, not after. A sheet without the tissue columns keeps the tissues already entered for samples with the same name.

4.5 Step 4: Set up and start a run

Click Run Pipeline in the sidebar. The wizard Create New Run has four steps.

Assay & Pipeline. Choose the assay: ChIP-seq, CUT&Tag, CUT&RUN, ATAC-seq or DNA Methylation. EpiNexus sets good defaults for each assay. Then choose the pipeline:

  • Full Pipeline: from FASTQ files, alignment, peak calling, quality control, differential analysis and the analyses that follow. Choose this for most analyses.
  • Preprocessing Only: from FASTQ files, trimming, alignment, peaks, signal tracks and quality control, without differential analysis or the analyses that follow. Choose this to check the quality of your data first.
  • Analysis Only: quality control, differential analysis and the analyses that follow, from BAM files you uploaded together with their peak files. EpiNexus does not call peaks from BAM files.

The Review step stops a run whose files do not fit the pipeline: Analysis Only with FASTQ files, or Preprocessing Only without them.

For our example, we chose ChIP-seq and Full Pipeline.

Samples & Genome. Select the samples to analyse. A sample can be selected only when all its files are uploaded. Check the Reference Genome. It is first set to the project’s genome, but you can change it for one run. The project in our figures has mm39 as its genome (Figure 4.3). For this run, however, we chose mm10, the genome the authors used.

Parameters. Review the settings. For ChIP-seq, the defaults are:

Table 4.2: Default parameters for ChIP-seq in EpiNexus 1.4.
Setting Default for ChIP-seq Explained in
Differential comparisons Every pair of conditions, ticked Chapter 9
Peak Caller MACS2/3 Chapter 7
Normalization TMM (trimmed mean of M-values) Chapter 9
Q-value Threshold 0.05 Chapter 7
Use spike-in normalization Off Chapter 10
Samples that fail QC Keep them and flag the results Chapter 6
Consensus peaks for differential Each sample’s peaks Chapter 9

For our example, check the comparison: aMHC-Cre;Arid1a f/f cKO vs Arid1a f/f Control, with the control as the reference. A positive fold change then means “higher in the knockout”.

Review. EpiNexus shows a summary and checks the design (Chapter 2). Errors appear under Fix before launching, and you must fix them before the run can start. Warnings appear under Design notes. Read them, then click Launch Pipeline.

The lower part of the Review and Submit step. It lists Genome Mouse (mm10/GRCm38), eight samples with their roles, conditions and replicates, one differential comparison (aMHC-Cre;Arid1a f/f cKO vs Arid1a f/f Control), the line Design checks passed, and the key parameters macs2, TMM and no spike-in. The buttons Back, Cancel and Launch Pipeline are at the bottom.
Figure 4.4: Part of the Review step for our example: the genome, the eight samples with their targets, conditions and replicates, the comparison and the key settings. For this run, the design checks passed. EpiNexus 1.2 interface.

4.6 Step 5: Follow the run

The run page has three tabs.

  • Overview shows the settings, the times, and a list of steps. Each step shows its state: pending, running, done, failed or skipped. A skipped step also shows the reason. When the run is finished, the list shows how long each step took and any warnings.
  • Logs shows what the pipeline wrote while it ran.
  • The Overview also has a line Regulatory Atlas (after the run). After a ChIP-seq, CUT&Tag, CUT&RUN or ATAC-seq run on the human genome hg38 or the mouse genomes mm10 and mm39, EpiNexus compares the run’s regions with public chromatin data. This comparison happens after the run; the line therefore has its own state: Queued, Annotating, Done, Failed (with Try again) or Not available.
  • Results lists all output files. You can download each file. View analysis opens the results pages. MultiQC report opens a quality report for all samples.

A run with FASTQ files can take hours. You can close the page and come back later. Our example, with eight single-end libraries, took 1 h 30 min, and alignment and peak calling took half of that time (Figure 4.5).

A yellow card with two warnings, and the Steps table: twelve steps with their durations and summaries, for example Alignment and peak calling 45 min 1 s, 8 of 8 samples; Differential analysis 13 min 12 s, 1 comparison, 2461 significant; Multi-mark integration skipped.
Figure 4.5: Part of the Overview tab of the finished GSE155100 run. The warnings say that no cheaper Spot machine was available, and that multi-mark integration was skipped because the run had only one mark. The table shows how long each step took. EpiNexus 1.2 interface.

Three buttons on the run page manage a run:

  • Run again starts a new run with the same samples and settings, using the current software.
  • Delete run removes the run. You can restore it from the Runs page within 7 days.
  • Cancel stops a run that is still running.

4.7 Where to find the results

The Analysis pages in the sidebar show the results of a finished run. At the top of each page, Viewing results from shows which run you are looking at. You can switch between runs there.

Table 4.3: Results pages and the chapters that explain them.
Page Shows Chapter
Quality Control Quality metrics per sample, graded, and a check of each sample’s tissue Chapter 6
Annotation Where peaks are, relative to genes Chapter 11
Differential Regions that change between conditions Chapter 9
Signal Profiles Signal around peaks, and sample correlation Chapter 8
Genome Browser Tracks and peaks along the genome Chapter 8
GO Enrichment Biological processes near the regions Chapter 11
Regulatory Atlas Your regions and samples compared with public chromatin data of many tissues Chapter 15
TF Analysis, Motifs Transcription factor motifs Chapter 12
Super-Enhancers, Peak-Gene Links Strong enhancers and their likely genes Chapter 13
Integration Two marks combined, gene by gene Chapter 14

The Output pages let you take the results out of EpiNexus:

  • Reports writes a report in HTML, PDF or Markdown, with a methods section you can use in a paper. It includes the Regulatory Atlas comparison when the run has one.
  • Export downloads result files as one zip file. Signal tracks, aligned reads and methylation calls are too large for the zip file; instead, they are offered as download links that are valid for 24 hours. Export also makes a GEO submission package, and three files to reproduce the run: a shell script, the parameters, and the methods text. The GEO package holds only your own data, never the Regulatory Atlas files.

Chapter 20 explains how to use these files to publish your results.

Key points

  • An analysis in EpiNexus has five steps: create a project, add the data, describe the samples, set up and start a run, and open the results.
  • A project holds the data, the sample descriptions and the runs of one study; its reference genome is the default for every run.
  • The target, condition and replicate of each sample decide the peak mode, the comparisons and which input belongs to which ChIP sample.
  • Import CSV replaces all samples in the project, so use it before an import, not after.
  • The Review step checks the design: you must fix errors before the run can start, and you should read the warnings.
  • The Analysis pages show the results, and the Output pages give reports, exports and the files to reproduce the run.

4.8 Further reading

The rest of the book explains each step of the run. Chapter 5 starts with the reads.