Skip to content
ATPBR Wiki

Analysis platform

Version 0.1 · Chapter 11 of 14 · Updated 18 Nov 2026

The FASTQ files accepted at submission (see Data types) are processed by the ATPBR Analysis Platform (ATPBR-AP). This chapter describes which pipelines are used, how they are configured and what results they produce.

Overview#

Pipeline execution is centrally managed by the ATPBR team: users do not need to configure or run any analysis. This ensures that all data are processed in the same way, which makes it possible to compare different studies.

Raw data → standardized pipelines → harmonized results → cBioPortal

The pipelines are community workflows from nf-core, built in Nextflow, run in containers and with fixed versions and parameters.

Data Pipeline Main result
WGS, WES and gene panel nf-core/sarek 3.10.0 Annotated and filtered somatic variants
RNA-seq nf-core/rnaseq 3.18.0 Gene expression matrices

Quality Control#

Quality control makes it possible to assess the characteristics of the sequencing reads and to identify potential problems that could compromise downstream analyses.

The tools used include:

  • FastQC: assesses the quality of the raw reads, including per-base quality, GC content, duplication and presence of adapters.
  • fastp: filters and preprocesses the reads, including removal of adapters and low-quality sequences, according to the configured parameters.
  • MultiQC: consolidates metrics and reports from different tools, making it easier to assess the samples together.

The results of the two tools are combined in a MultiQC report. The main metrics assessed are:

Metric What is expected
Per-base quality (Phred) Most bases in the green zone (Q ≥ 30). A small drop in the first and last bases of the read is normal.
GC content Bell-shaped distribution, close to 41% for DNA and 50% for mRNA (Piovesan et al., 2019; Palma et al., 2025). Multiple peaks suggest contamination.
Unidentified bases (N) Less than 5%. Higher values indicate a problem with sequencing quality.
Duplication Interpretation depends on the assay type, depth and library complexity. High levels may be expected in WES, gene panels and RNA-seq.
Adapter content Less than 0.1% after trimming by fastp.
Filtered reads (fastp) fastp discards reads with more than 40% of bases with Q < 15, with more than 5 N bases, shorter than 15 bp after trimming, or made up of repetitive sequences (for example, poly-G tails).

WGS, WES and Gene Panel Analysis#

DNA sequencing data are processed with nf-core/sarek , version 3.10.0, with ATPBR-specific settings. The workflow comprises the following steps:

  1. Quality control and preprocessing with FastQC and fastp.
  2. Alignment to the GRCh38 reference genome with BWA-MEM. Reads from different lanes are merged per sample and saved in CRAM format.
  3. Preprocessing of the alignments with GATK: duplicate marking and base quality score recalibration.
  4. Somatic variant calling: identification of single nucleotide variants (SNVs) and small insertions and deletions (indels) with Mutect2, under two strategies:
    • Paired samples (tumor-normal): uses data from the tumor and from a matched normal sample from the same patient, which makes it possible to distinguish somatic from germline variants with greater precision.
    • Unpaired samples (tumor-only): uses tumor data only, without a matched normal sample. In this case, the identification of somatic variants relies more heavily on population filters and artifact detection resources, and germline variants may remain among the results.
  5. Annotation of the effects of each variant on genes, transcripts and proteins with Ensembl VEP.
  6. Filtering of artifacts and of potentially germline variants, according to the analysis strategy:
    • Paired samples: the tumor-normal comparison makes it possible to identify and exclude variants present in the matched normal sample, complemented by the Mutect2 quality filters.
    • Unpaired samples: the filter removes variants present in the 1000 Genomes panel of normals (PoN), variants with a population frequency above 1% in gnomAD and variants with a frequency above 0.1% in the Brazilian population, according to ABraOM. ABraOM filtering is performed by an in-house pipeline of the ATPBR team, after nf-core/sarek.

Configuration

nf-core/sarek Version 3.10.0
Reference genome Homo sapiens iGenomes GATK GRCh38
Trimming fastp
Aligner BWA-MEM
Variant caller Mutect2 (tumor-normal and tumor-only)
Functional annotation Ensembl VEP
Filters PoN, gnomAD, 1000 Genomes and ABraOM, depending on the step and the strategy

Post-processing of somatic variants#

After nf-core/sarek has run, scripts developed by the ATPBR team process the annotated VCF files to select variants, organize genomic information and add complementary population data.

The documented processing comprises the following steps:

  1. Selection of PASS variants: Variants whose FILTER field in the VCF has the value PASS are selected, indicating that they met the filtering criteria applied earlier.
  2. Conversion to a table: the VEP annotation fields and the tumor read counts (depth DP, reads per allele AD and allele frequency AF) are extracted into one table per sample. The 1000 Genomes frequency reported by VEP is renamed GMAF.
  3. Annotation with ABraOM: each variant receives the allele frequency observed in the Brazilian population.

RNA-seq Analysis#

The nf-core/rnaseq pipeline processes short-read RNA-seq (total RNA, poly(A)-enriched or rRNA-depleted) in the following steps:

  1. Concatenation of the FASTQ files of a single sample sequenced across several lanes.
  2. Quality control and trimming with FastQC and fastp.
  3. Pseudoalignment and quantification with Salmon, which assigns reads directly to the known transcripts of the reference transcriptome. Expression is estimated per transcript and summed per gene.
  4. Normalization to Transcripts Per Million (TPM), which corrects for differences in library size and transcript length.

By default, no additional filtering steps are applied. If quality control indicates problems, the team may adjust specific parameters (see Limitations, below).

Configuration

nf-core/rnaseq Version 3.18.0
Reference genome Homo sapiens Ensembl Release 113 GRCh38
Trimming fastp
Pseudoalignment and quantification Salmon

Limitations#

  • Modalities: only the modalities listed in Data types are processed.
  • Organism: the pipelines are configured for human data only. Samples from non-human or mixed organisms, such as patient-derived xenografts, are not supported.
  • Germline variants: there is no germline-only analysis, because Mutect2 is optimized for somatic variants. In addition, germline variants are controlled-access data (see Data access).
  • Data heterogeneity: the data come from several centers, with differences in sample handling, library kits and sequencing protocols. To include rare samples of compromised quality, the team may adjust the pipeline parameters. These adjustments, as well as differences between runs, can introduce batch effects. That is why the run number is part of the barcode (see Identification and barcode system).

Next chapter → Results browser: how to explore the variants and expression matrices generated here in the ATPBR cBioPortal.