How Does NGS Data Analysis Work? From FASTQ to VCF
Explore the NGS bioinformatics workflow from FASTQ quality control and read alignment to BAM/CRAM processing, variant calling, VCF generation and genetic variant interpretation.
What Is NGS Data Analysis?
Next-generation sequencing (NGS) refers to a group of high-throughput technologies used to analyze DNA or RNA sequences. These technologies are widely used in genetic diagnostic centers, molecular laboratories, hospitals and genomic research institutions.
NGS enables laboratories to investigate hundreds of genes, the protein-coding regions of the genome through whole-exome sequencing (WES), or the entire genome through whole-genome sequencing (WGS).
However, sequencing instruments do not automatically produce biologically or clinically interpretable results.
Raw sequencing data must undergo a structured NGS bioinformatics analysis workflow involving quality assessment, reference genome alignment, identification of genetic variants and interpretation of their potential significance.
In short-read DNA sequencing workflows, analysis commonly begins with FASTQ files, proceeds through alignment formats such as BAM or CRAM, and produces variant records in VCF format.
Nevertheless, generating a VCF file is not equivalent to completing a clinical interpretation.
Variant annotation, quality filtering, prioritization and qualified expert review remain essential steps when genomic results are used for diagnostic or research purposes.
In this guide, we explain the NGS analysis process from FASTQ to VCF, the bioinformatics tools commonly involved, major quality control considerations and the requirements laboratories should evaluate when selecting genomic analysis software.
Understanding the FASTQ-to-VCF NGS Analysis Workflow
An NGS analysis pipeline may vary depending on the sequencing platform, research objective, sample characteristics and genetic variant types being investigated.
For example, a whole-exome sequencing workflow for inherited diseases may require different algorithms and filtering criteria from a somatic variant analysis workflow involving tumor tissue.
Nevertheless, a typical short-read DNA sequencing workflow includes the following stages:
- Importing and validating FASTQ sequencing files.
- Performing raw sequencing data quality control.
- Applying adapter trimming or read preprocessing when required.
- Aligning sequencing reads to a reference genome.
- Processing BAM or CRAM alignment files.
- Conducting post-alignment quality assessment.
- Performing genetic variant calling.
- Applying variant quality assessment and filtering.
- Generating and validating VCF files.
- Performing variant annotation, prioritization and, when appropriate, clinical interpretation.
The exact sequence and selection of these operations depend on the validated analytical workflow.
Understanding the purpose and limitations of each stage is essential for obtaining reliable and reproducible genomic results.
1. What Is a FASTQ File and Why Is It Important?
FASTQ is a commonly used file format for storing nucleotide sequences generated by sequencing instruments, together with their associated base quality scores.
A FASTQ record typically contains four lines:
- A sequence identifier.
- The nucleotide sequence.
- A separator line.
- Characters representing base quality scores.
For example:
@READ_001
ACGTACGTACGT
+
IIIIIIIIIIII
This simplified example demonstrates the structure of a FASTQ record.
FASTQ files contain sequencing reads that have not yet been assigned to positions within a reference genome.
Their integrity and quality are fundamental to the reliability of downstream bioinformatics analysis.
FASTQ vs FASTQ.GZ
FASTQ files can contain substantial amounts of sequencing data.
To reduce storage requirements, sequencing laboratories frequently use GZIP-compressed FASTQ files with the .fastq.gz extension.
FASTQ.GZ represents FASTQ data compressed using a general-purpose compression method.
Genomics-specific formats, including MPEG-G, may provide additional capabilities for genomic data compression, representation and selective access.
However, any transition between data formats must preserve the required biological information and compatibility with downstream analytical workflows.
2. FASTQ Quality Control in NGS Analysis
After FASTQ files are generated, one of the first important steps is sequencing quality control (QC).
Technical sequencing errors, low-quality reads and sample preparation issues may affect subsequent alignment and variant detection results.
Common quality assessment metrics include:
- Phred base quality scores.
- Read length distribution.
- Adapter contamination.
- GC content distribution.
- Sequence duplication levels.
- Frequency of ambiguous bases (N).
- Total read count and sequencing data volume.
What Do Q20, Q30 and Q40 Mean?
Phred quality scores represent the estimated probability of an incorrect base call on a logarithmic scale.
Examples include:
- Q20: Approximately 1% probability of an incorrect base call.
- Q30: Approximately 0.1% probability of an incorrect base call.
- Q40: Approximately 0.01% probability of an incorrect base call.
Q30 is a widely used indicator in sequencing quality assessment.
However, a high Q30 percentage does not automatically guarantee accurate genetic variant detection.
Sequencing depth, target-region coverage, genome mappability and sample characteristics must also be evaluated.
Common Tools for FASTQ Quality Control
Frequently used bioinformatics tools include FastQC, MultiQC and fastp.
FastQC produces reports describing sequencing read quality.
MultiQC can combine the results generated by different analysis tools into consolidated reports.
fastp can perform selected quality assessment and preprocessing tasks, including adapter trimming, within an integrated workflow.
Preprocessing decisions should be based on the sequencing platform and the requirements of the validated analytical protocol.
Excessively aggressive filtering can remove biologically relevant reads and may reduce analytical sensitivity.
3. Read Alignment to a Reference Genome
Following quality control, sequencing reads are assigned to positions within a suitable reference genome.
This process is known as read alignment or read mapping.
Commonly used human reference genome assemblies include GRCh37 and GRCh38.
The selected reference assembly should be documented and used consistently throughout the analysis workflow.
Why Is Reference Genome Alignment Necessary?
Sequencing instruments determine the nucleotide sequences of DNA fragments, but they do not directly identify the original genomic location of every fragment.
Alignment algorithms compare sequencing reads against a reference genome to determine their most likely positions.
During alignment:
- Genomic read positions are estimated.
- Differences relative to the reference sequence are represented.
- Alignment information relevant to insertions and deletions is generated.
- Ambiguously mapped reads may be identified.
- Alignment records are prepared for downstream analysis.
BWA-MEM and BWA-MEM2 are examples of algorithms used for short-read DNA alignment.
Long-read sequencing technologies may require different mapping tools and alignment strategies.
What Is Mapping Quality?
Mapping Quality (MAPQ) is a measure associated with confidence in the placement of a sequencing read.
Low mapping quality can indicate uncertainty about a read's genomic origin, especially in repetitive or highly similar genomic regions.
Mapping quality is therefore an important consideration when evaluating downstream variant calls.
4. Processing BAM and CRAM Files
Following alignment, sequencing information is commonly stored in BAM or CRAM format.
BAM (Binary Alignment/Map) is a compressed binary format for storing sequence alignment records.
CRAM is another alignment format that can reduce storage requirements through compression techniques, including approaches that use a reference sequence.
These files may contain genomic read positions, mapping quality values, alignment characteristics and other technical information.
Common Post-Alignment Processing Steps
Depending on the analytical workflow, common operations include:
- Sorting: Ordering alignment records by genomic coordinates.
- Indexing: Creating an index to enable efficient access to specific genomic regions.
- Duplicate Marking: Identifying reads that may represent PCR amplification or other technical duplicates.
- Base Quality Score Recalibration (BQSR): Adjusting base quality scores within appropriate analytical protocols.
- Post-Alignment QC: Assessing coverage, alignment metrics and overall data quality.
Not every operation is mandatory for every sequencing workflow.
For example, library preparation methods, unique molecular identifiers (UMIs) and sequencing technologies may affect the appropriate handling of duplicate reads.
Coverage vs Sequencing Depth
Coverage and sequencing depth are closely related concepts that are sometimes used inconsistently.
Sequencing depth describes the number of reads covering a particular genomic position.
Coverage may refer to the proportion of a genomic region represented by sequencing reads or to the distribution of sequencing depth across that region.
For example, an average depth of 100× does not mean that every nucleotide within the target region has exactly 100 supporting reads.
Some exons and technically challenging genomic regions may have substantially lower coverage.
Clinical laboratories should therefore evaluate adequate target-region coverage rather than relying exclusively on average sequencing depth.
5. Variant Calling: How Are Genetic Variants Identified?
Variant calling is the computational process of identifying potential genetic differences between sequencing data and a reference genome.
Variant calling algorithms evaluate sequencing evidence and statistical quality metrics to identify candidate variants.
Major variant categories include:
- Single-nucleotide variants (SNVs).
- Insertions and deletions (Indels).
- Copy number variants (CNVs).
- Structural variants (SVs).
However, different variant categories may require different analytical methods.
A short-variant caller designed for SNVs and small Indels may not detect large copy number changes or complex structural rearrangements with equivalent sensitivity and accuracy.
Germline vs Somatic Variant Analysis
An important distinction in NGS analysis is whether the objective involves germline or somatic genetic variation.
Germline variant analysis investigates inherited and constitutional genetic variation.
Somatic variant analysis focuses on genetic changes acquired in particular cells or tissues, including alterations found in tumors.
Somatic analysis may require additional consideration of tumor purity, variant allele fraction, matched normal samples and technical artifacts.
Consequently, a single variant calling workflow cannot be assumed to be suitable for every clinical or research application.
What Is GATK HaplotypeCaller?
GATK HaplotypeCaller is a widely used tool for germline short-variant discovery.
It uses local haplotype assembly approaches to identify SNVs and small Indels in sequencing data.
In cohort studies, per-sample GVCF records may be processed through a joint genotyping workflow.
This approach supports consistent genotype assessment across multiple samples.
However, using GATK does not automatically establish that an entire analytical pipeline has been validated for clinical use.
The complete workflow must be evaluated according to its intended application and laboratory requirements.
6. What Is a VCF File and How Is It Generated?
Variant Call Format (VCF) is a widely used structured format for representing identified genomic variants.
A VCF file may include genomic positions, reference and alternative alleles, quality scores, filtering information and sample-specific genotype data.
A simplified illustration of a VCF record is:
#CHROM POS ID REF ALT QUAL FILTER INFO
chr1 100 . A G 60 PASS .
This example is intended to illustrate the core fields only. A valid VCF file requires the appropriate header structure and format conventions.
Main VCF Fields
CHROM: Chromosome or reference sequence identifier.POS: Genomic position.ID: Variant identifier.REF: Reference allele.ALT: Alternative allele.QUAL: Variant quality score.FILTER: Filtering result.INFO: Additional variant annotations.FORMAT: Definition of sample-level data fields.- Sample columns: Genotypes and associated metrics.
The presence of a variant in a VCF file does not prove that it is biologically genuine or clinically significant.
Appropriate quality assessment, annotation, filtering and expert interpretation remain necessary.
VCF vs GVCF
VCF is commonly used to store identified genomic variants.
GVCF is used in certain germline analysis workflows to represent information about nonvariant genomic regions alongside variant evidence.
This enables downstream joint genotyping across samples.
Therefore, GVCF should not be regarded simply as a VCF file with a different extension.
7. Variant Filtering and Quality Assessment
After variant calling, the resulting candidate variant set must undergo quality assessment appropriate to the intended analysis.
Possible approaches include hard filtering, statistical modeling and, where suitable, variant quality score recalibration.
Important metrics may include:
- Variant and genotype quality scores.
- Read depth (DP).
- Number of reads supporting the alternative allele.
- Allele balance.
- Mapping quality.
- Strand and positional bias.
- Coverage of the target genomic region.
- Regional sequence complexity.
There is no universal filtering threshold appropriate for every sequencing application.
For example, rare germline variant detection and low-frequency somatic variant identification can require substantially different approaches.
Overly restrictive filtering may remove genuine variants, while insufficient filtering may increase false-positive results.
Filtering criteria should therefore be configurable, documented and supported by appropriate validation procedures.
8. Variant Annotation and Interpretation After VCF Generation
Generating a VCF file represents an important milestone in NGS analysis, but it is not the final stage of genomic interpretation.
Variant annotation associates detected genomic differences with relevant biological information, including genes, transcripts, proteins, population frequencies and existing scientific evidence.
Commonly used resources include:
- ClinVar.
- gnomAD.
- Ensembl.
- Relevant gene–disease databases.
- Current peer-reviewed scientific literature.
These resources support the assessment of potential biological and clinical significance.
Why Is Variant Prioritization Necessary?
WES and WGS analyses may generate large numbers of genomic variants.
Reviewing every variant in equal detail is generally impractical.
Potential filtering and prioritization criteria include:
- Population allele frequency.
- Gene or genomic region.
- Known disease associations.
- Inheritance pattern.
- Predicted protein consequences.
- Patient phenotype.
- Available functional and clinical evidence.
However, a variant ranked highly by software is not necessarily pathogenic.
Where clinical interpretation is appropriate, relevant frameworks such as ACMG/AMP guidance, laboratory validation procedures and qualified specialist review should be applied.
9. Common Problems in NGS Bioinformatics Workflows
Many challenges in NGS analysis arise beyond the sequencing instrument itself.
Data quality, reference genome compatibility, algorithm selection and file management can all affect analytical reliability.
Low-Quality FASTQ Data
Poor base quality, adapter contamination or sample preparation problems may compromise downstream analysis.
Insufficient Target Coverage
Some genomic regions may not be represented by enough sequencing reads, particularly in whole-exome and targeted panel sequencing.
Insufficient coverage can reduce variant detection sensitivity.
Inconsistent Reference Genome Assemblies
GRCh37 and GRCh38 contain differences in reference sequence representation and genomic coordinates.
Inconsistent use of reference assemblies may lead to annotation errors or incorrect comparisons across datasets.
Inappropriate Variant Calling Strategy
Using germline algorithms for unsuitable somatic applications, or selecting a caller that does not support the target variant class, can reduce analytical reliability.
Genomic Data Storage and Transfer
WES and especially WGS projects may generate large FASTQ, BAM and CRAM datasets.
Long-term retention, data transfer and repeated processing can create substantial operational requirements.
Laboratories should therefore evaluate both their variant analysis software and genomic data management infrastructure.
10. How Should Genetic Diagnostic Laboratories Choose NGS Analysis Software?
The requirements of an NGS analysis platform depend on more than sample volume or sequencing instrument compatibility.
Laboratories should evaluate several important areas before selecting a software solution.
Analytical Capabilities
Does the software support WES, WGS or targeted sequencing data?
Which variant classes can it actually detect and analyze?
File Format Compatibility
How does the platform work with FASTQ, BAM, CRAM, VCF or MPEG-G?
Are additional conversion or preprocessing steps required?
Variant Interpretation Support
Does the software provide annotation, filtering, prioritization and structured expert review capabilities?
Quality and Traceability
Can laboratory personnel track analytical parameters, software versions, reference genome assemblies, databases and generated results?
Deployment Architecture
Can the platform operate in a managed cloud environment, on institutional servers or through alternative deployment models?
Data Security
How are patient information, access permissions, encryption, audit logs and applicable regulatory requirements managed?
Scalability and Operating Costs
Can the solution accommodate increasing sample volumes, storage requirements, computational workloads and licensing needs?
Evaluating these factors helps laboratories select analytical solutions that remain manageable over time.
11. GenomSys Solutions for NGS Analysis and Genomic Data Management
Different stages of an NGS workflow create different software and infrastructure requirements.
Some laboratories prioritize genetic variant identification and interpretation.
Others face operational challenges involving large genomic files, long-term storage and data transfer.
GenomSys provides solutions that can be evaluated in these areas.
GenomSys Variant Discovery (GVD)
GenomSys Variant Discovery (GVD) is a genomic analysis platform designed to support secondary and tertiary analysis workflows, particularly in WES-based hereditary disease diagnostics.
According to the manufacturer's published product information, relevant capabilities include:
- SNV, Indel and CNV analysis.
- Genetic variant annotation.
- Dynamic filtering and candidate variant review.
- Native MPEG-G data processing.
- Cloud and on-premises deployment options.
GVD can be evaluated as a platform for supporting specialist analysis and review of genomic variants.
However, the ability to analyze variants does not establish that software independently provides a clinical diagnosis or is validated for every potential clinical application.
GenomSys MPEG-G Suite
GenomSys MPEG-G Suite provides genomic data processing, conversion and compression capabilities based on the ISO/IEC 23092 MPEG-G standard.
According to the manufacturer's technical documentation, it supports workflows involving FASTQ, BAM and CRAM data and provides capabilities related to genomic compression and selective data access.
Potential applications include:
- Storage of large NGS datasets.
- Optimization of genomic data transfer.
- Management of genomic data archives.
- Integration with compatible bioinformatics workflows.
- Selective access to relevant genomic regions.
Actual compression efficiency, processing performance and total cost of ownership depend on the input data, reference information, workflow configuration and infrastructure.
These characteristics should be evaluated using representative datasets.
Technical Evaluation with RelGenSys
For genetic diagnostic centers, hospitals, sequencing laboratories and genomic research organizations, selecting the appropriate solution begins with understanding the existing laboratory workflow.
Through RelGenSys, laboratories can request technical information about GenomSys Variant Discovery and MPEG-G Suite, discuss compatibility with their existing NGS processes and evaluate suitable software options.
Conclusion: Building a Reliable FASTQ-to-VCF Workflow
NGS analysis involves much more than processing the output of a sequencing instrument.
A reliable bioinformatics workflow combines FASTQ quality assessment, reference genome alignment, BAM/CRAM processing, variant calling and VCF generation.
Variant annotation, filtering, prioritization and expert review provide additional context for interpreting the resulting genetic information.
Throughout the process, data quality, reference genome consistency, algorithm selection, software versioning and analytical traceability are essential considerations.
Increasing genomic data volumes also make reliable storage, transfer and data management important elements of laboratory infrastructure.
The goal of an effective NGS analysis workflow is not simply to generate more data, but to transform sequencing information into reliable, reproducible and scientifically interpretable results.
Frequently Asked Questions
What is NGS data analysis?
NGS data analysis is the process of using bioinformatics methods to process and interpret DNA or RNA sequencing data. DNA variant analysis may include quality control, reference genome alignment, variant calling, filtering and annotation.
Can FASTQ files be converted directly into VCF files?
Integrated pipelines may accept FASTQ files and generate VCF outputs. However, they must still perform the necessary computational operations, such as quality assessment, read processing, reference comparison and variant identification, either explicitly or within their own processing architecture.
What is the difference between FASTQ and BAM?
FASTQ contains sequencing reads and their associated base quality scores. BAM generally stores alignment records associated with the placement of those reads against a reference genome.
Are BAM and CRAM the same?
Both formats can store sequencing alignment data. CRAM supports different compression approaches, including reference-based compression, which may reduce storage requirements. The appropriate format depends on compatibility, access and processing requirements.
Is a VCF file sufficient for clinical diagnosis?
No. A VCF record alone does not establish clinical significance. Appropriate quality evaluation, scientific evidence, clinical context and qualified expert interpretation are required.
Which software tools are used for NGS analysis?
Depending on the analytical stage, laboratories may use tools such as FastQC, fastp, BWA-MEM2, SAMtools, GATK and variant annotation software. Integrated platforms such as GenomSys Variant Discovery may support particular variant analysis and specialist review workflows.
Can the same workflow be used for WES and WGS?
WES and WGS share several analytical principles, but they differ in genomic coverage, data volumes, sequencing characteristics and analytical requirements. Pipelines should be configured and validated for the specific sequencing approach.
How can laboratories reduce NGS data storage costs?
Data lifecycle management, appropriate compression formats, retention policies and suitable storage architectures can help control costs. Genomic data standards such as MPEG-G may be evaluated for relevant compression and data management requirements.
Scientific and Technical References
- Broad Institute – GATK Team. Data Pre-processing for Variant Discovery. GATK Best Practices, updated 2024. Reference genome alignment, preprocessing and generation of analysis-ready BAM files.
https://gatk.broadinstitute.org/hc/en-us/articles/360035535912-Data-pre-processing-for-variant-discovery
- Broad Institute – GATK Team. Germline Short Variant Discovery (SNPs + Indels). GATK Best Practices, updated 2024. Germline variant calling, GVCF, joint genotyping and filtering.
https://gatk.broadinstitute.org/hc/en-us/articles/360035535932-Germline-short-variant-discovery-SNPs-Indels
- Broad Institute – GATK Team. Somatic Short Variant Discovery (SNVs + Indels). GATK Best Practices. Somatic variant detection and filtering workflows.
https://gatk.broadinstitute.org/hc/en-us/articles/360035894731-Somatic-short-variant-discovery-SNVs-Indels
- Li, H., et al. The Sequence Alignment/Map Format and SAMtools. Bioinformatics, 2009; 25(16):2078–2079. Sequence alignment formats and processing tools.
https://doi.org/10.1093/bioinformatics/btp352
- Ewels, P., Magnusson, M., Lundin, S., & Käller, M. MultiQC: Summarize Analysis Results for Multiple Tools and Samples in a Single Report. Bioinformatics, 2016; 32(19):3047–3048. Consolidated analysis and sequencing QC reports.
https://doi.org/10.1093/bioinformatics/btw354
- National Center for Biotechnology Information (NCBI). What Is ClinVar? NCBI ClinVar Documentation. Clinical interpretations and evidence associated with genetic variants.
https://www.ncbi.nlm.nih.gov/clinvar/intro/
Manufacturer Technical Documentation
- GenomSys. GenomSys Variant Discovery – Precision Medicine in Genomics. Product documentation covering WES-based germline analysis, annotation, filtering and MPEG-G integration.
https://www.genomsys.com/variant-discovery/
- GenomSys. GenomSys MPEG-G Suite – Native ISO/IEC 23092 SDK. Product documentation covering genomic compression, conversion and data processing.
https://www.genomsys.com/mpeg-g-suite/
Scientific disclaimer: This article is intended for educational and technical information purposes. Clinical diagnosis, genetic variant classification and patient management require appropriately validated methods and evaluation by qualified healthcare professionals.
References
Scientific publications
- GATK – Data Pre-processing for Variant Discovery — GATK – Data Pre-processing for Variant Discovery
- Germline Short Variant Discovery (SNPs + Indels) — Broad Institute – GATK Best Practices (2024)
- Somatic Short Variant Discovery (SNVs + Indels) — Broad Institute – GATK Best Practices (2024)
- The Sequence Alignment/Map Format and SAMtools — Li et al. – Bioinformatics (2009)
- MultiQC: Summarize Analysis Results for Multiple Tools and Samples in a Single Report — Ewels et al. – Bioinformatics (2016)
- What Is ClinVar? — NCBI – ClinVar Documentation (resmî kaynak)
- GenomSys Variant Discovery – Precision Medicine in Genomics — GenomSys – Üretici Teknik Dokümantasyonu
- GenomSys MPEG-G Suite – Native ISO/IEC 23092 SDK — GenomSys – Üretici Teknik Dokümantasyonu