Skip to content

NGS Data Analysis: Allele Calling, Variant Callers and Quality Filters

Forensic sequencing analysis: FASTQ quality, marker extraction, variant calling, STR sequence alleles, artefacts, balance and method validation.

By Reviewed by Subhrant Jha

Last updated:

Sequencing analysis turns reads and associated quality information into reviewed marker results. A forensic pipeline must preserve sample identity, assess artefacts and use a model suitable for the specimen. The required operations depend on the assay: every STR workflow does not need a whole-genome aligner and a generic variant caller.

Capillary electrophoresis generally assigns STR alleles from fragment length relative to references. A numeric designation follows locus nomenclature; complex alleles need not equal a simple count of one repeated motif. Sequence-based analysis can reveal additional differences hidden within one length designation.

MPS can characterise the sequence within its validated reporting range, including repeats and some flanking sequence. It does not guarantee complete coverage of every flank or allele. Same-length sequence variants can add discrimination when appropriate frequency data and interpretation models are available.

A published validation can demonstrate aspects of a method’s performance, but it does not establish every laboratory’s current accreditation scope. Operational adoption, manufacturer certification and independent accreditation are different claims. Check the actual method and scope before attributing casework use to a named laboratory.

For laboratories in the US, UK, India and elsewhere, the complete analytical process needs validation for its intended use. This includes software, settings, reference definitions and reporting. A feasible research analysis is not automatically a validated mixture method or an accredited service.

FASTQ Files and Read Trimming: The Raw Data Layer

The assay, software model and validated settings determine what can be reported.

FASTQ commonly represents reads in four-line records: an identifier, sequence, separator and quality string. Sequence and quality lengths correspond. Raw instrument data can first pass through base calling and demultiplexing; FASTQ is not necessarily the first file in every sequencing system.

Conceptual sequencing-analysis workflow. Validated laboratory chemistry, bioinformatics settings and quality controls are required throughout.

A Phred score is Q = −10 log10(p), where p is the estimated error probability. Q30 corresponds to p = 0.001 and Q20 to 0.01. Calibration and context matter. Neither value is a universal compulsory cutoff for every forensic read or assay.

Read processing can remove adapters, poor-quality ends or unsuitable reads according to the validated workflow. Trimmomatic and fastp are examples of general tools. Integrated assay software may perform its own processing, so adding a separate trimming step can change a validated pipeline.

Schematic read-quality assessment. Coverage alone is insufficient; strand balance, sequence context, errors and mixture assumptions also matter.

Trimmomatic’s SLIDINGWINDOW option takes configurable window and average-quality values. In SLIDINGWINDOW:4:20, the window is four bases and the threshold is Q20. These are selected settings, not an immutable property or a forensic standard applicable to every dataset.

Some marker-analysis tools extract targeted regions directly from reads rather than align all data to a genome. Follow documented software behaviour and supported inputs. Claims about an internal commercial aligner should be verified rather than inferred from the file format.

Read processing affects sensitivity and artefact detection. Record versions and parameters and assess their effects during validation. Aggressive trimming can remove useful context, while inadequate processing can leave adapter or error-related signals that confuse downstream assessment.

Alignment to Reference: BWA and Bowtie2

The assay, software model and validated settings determine what can be reported.

Reference mapping places reads against a stated genome assembly or target definition. Kintelligence is a targeted SNP assay, not whole-genome sequencing. For a marker panel, some tools use flanking-sequence recognition without genome-wide mapping. The reference and analytical approach must match the assay.

Illustrative alignment, not a species assignment. Coverage, sequence quality, database reliability and competing references must also be assessed.

BWA-MEM and Bowtie 2 are general sequence-mapping tools with different options and assumptions. They can be useful where validated for the task. Neither is a compulsory forensic default, and generic mapping alone does not assign a forensic STR allele or solve a mixture.

Read length, sequencing technology, repetitive context and alignment settings affect mapping. A software recommendation for a germline variant workflow does not establish suitability for forensic STR mixtures. Document the actual implementation instead of attributing an undocumented aligner to a commercial package.

Repeats and similar genomic regions can make mapping ambiguous. Suitable flanking information and reads covering the required repeat interval can help. A targeted panel does not guarantee that every read spans every allele or that all mapping ambiguity disappears.

Amplicon sequencing enriches selected loci, while other sequencing strategies recover different information. Selection should reflect specimen quality and the question. Primer variation, long alleles and incomplete coverage remain potential sources of dropout or designation difficulty.

SAM and BAM can store read alignments and metadata; tools such as samtools support manipulation and summaries. Sorting and indexing facilitate access. Some reads may be unmapped or filtered, so a BAM is not automatically a complete archive of every original instrument observation.

Variant Calling: GATK and FreeBayes

The assay, software model and validated settings determine what can be reported.

Variant callers evaluate differences from a reference under specified models and can emit VCF records. HaplotypeCaller and FreeBayes are examples of general genomic tools. A VCF summary does not itself establish a forensic STR profile, the number of contributors or evidential weight.

Illustrative read evidence. A caller’s assumptions, sequencing errors, mixture composition and validation affect whether a candidate variant is reported.

HaplotypeCaller uses local assembly and genotype-likelihood calculations for germline variant discovery. Its default ploidy is two, but ploidy can be configured. It should not be conflated with GATK’s somatic caller Mutect2 or treated as guaranteeing fully phased haplotypes throughout an analysis.

A caller’s assumptions must match the material and intended variant types. A germline diploid model is not a validated model for an unknown unequal forensic mixture. There is no universal rule that HaplotypeCaller silently discards all alleles below a fixed 0.3 fraction.

FreeBayes supports different ploidy and pooled-data modes, including pooled-continuous operation. These capabilities can assist some analytical tasks but do not automatically produce validated donor genotypes or mixture likelihood ratios. Configuration and forensic suitability must be established for the intended use.

Minimum alternate counts and fractions influence sensitivity and false signals. Values such as three reads or a five-percent fraction are not universal forensic recipes. Lowering a threshold can expose errors as well as genuine low-level information; the consequences require validation and review.

STR interpretation requires repeat-aware sequence extraction and consistent allele nomenclature. General short-variant calls may not recover or describe the full repeat structure. Use tools and reporting ranges demonstrated to support the selected markers.

Forensic-Specific Tools: STRait Razor, FDSTools and MyFLq

The assay, software model and validated settings determine what can be reported.

STRait Razor, FDSTools and MyFLq are examples of forensic marker-analysis software. They have different input requirements, algorithms and output conventions. A publication about a tool does not validate every later version, assay or combination of packages.

At a short tandem repeat locus, alleles can differ in the number of repeated sequence units. This simplified example illustrates one locus, not a complete DNA profile or proof of identity.

STRait Razor, associated with researchers at the University of North Texas Health Science Center, uses targeted sequence recognition to extract marker information from reads. It should not be described as a University of North Dakota BAM-only mapper. Check the actual version and configuration.

STRait Razor 3.0 was described by Woerner, King and Budowle in 2017. Its performance and allele definitions need assessment for the intended assay. SWGDAM guidance does not mean that SWGDAM formally approves each published software study or every output as database eligible.

FDSTools provides tools for forensic sequencing-marker analysis, including sequence extraction, background-noise assessment and allele detection. Its original study involved Leiden University Medical Center and the Netherlands Forensic Institute. Components need appropriate configuration and validation; they do not by themselves supply a complete donor-mixture interpretation.

Noise and stutter modelling can help assess observed sequences. Model suitability depends on the markers, amplification and processing conditions. Validation must show whether a model performs appropriately in the laboratory; importing a published model neither guarantees failure nor removes the need to assess transferability.

MyFLq was developed for forensic locus sequence analysis, including work by Van Neste and colleagues. Its supported features and inputs should be taken from the relevant version and study. It does not automatically supply suitable population frequencies or a defensible match probability for every new assay.

Scroll horizontally if needed to see the full table.

ToolDocumented roleImportant limit
STRait RazorTargeted forensic marker sequence extraction; 3.0 described by Woerner, King and Budowle in 2017Version, locus definitions and assay validation determine supported calls.
FDSToolsSequence extraction, noise/stutter assessment and allele detectionOriginal collaboration included Leiden University Medical Center and NFI; a transferable noise model requires assessment.
MyFLqForensic locus sequence analysisUse version-specific inputs and definitions; no automatic population statistics for every assay.
ForenSeq UASAnalysis of compatible ForenSeq dataSupported assay, software version and reporting criteria govern use.
General variant callersReference-based short-variant analysis under configured modelsNot automatically forensic STR callers or mixture interpretation systems.

Coverage, Balance and Analytical Thresholds: The Forensic Filter Layer

The assay, software model and validated settings determine what can be reported.

Quality assessment commonly examines sequence support, balance, coverage, controls and artefact patterns. The relevant quantities depend on the assay and workflow. A result can require review or remain unresolved even when an overall run metric looks satisfactory.

A minimum reporting threshold must identify what is being counted: supporting reads for one allele, total locus reads or coverage at a position. Different assays and loci can require different criteria. No single thirty-read or 150-fold rule governs every forensic MPS result.

Low-support observations need assessment under the validated procedure, potentially including further testing when justified. A universal requirement for two matching PCR replicates should not be attributed to a named laboratory without its documented method.

Intralocus heterozygote balance compares alleles at one locus; interlocus balance concerns different loci. A 60:40 split gives a smaller-to-larger ratio of 40/60, approximately 0.67, not 0.60. State the definition used before applying a threshold.

Imbalance can arise from low input, sequence-specific amplification, degradation, mixture composition or other effects. It does not automatically convert a heterozygote into a homozygote. Mixture evaluation needs a model validated for the specific sequence data and artefacts.

Validation should address accuracy and concordance where relevant, sensitivity, mixtures, stochastic effects, artefacts, contamination, reproducibility and software behaviour. Apply current guidance and the laboratory’s accreditation requirements. A fabricated year-specific guideline or fixed checklist cannot replace the actual applicable documents.

  1. Preserve provenance and inputs
    Retain sample identification, appropriate original data, reference definitions and processing records. A filtered BAM is not necessarily a complete raw-read archive.
  2. Review run and read quality
    Use relevant validated quality criteria and controls. Q30 represents an estimated base-error probability, not a universal run acceptance rule.
  3. Process reads for the assay
    Use documented trimming, extraction or mapping as required. Targeted STR analysis does not always require genome-wide mapping or generic variant calling.
  4. Call the supported markers
    Use repeat-aware tools for STR sequence designation or a suitable variant model for the intended targets. Pooled software modes alone do not validate unequal forensic mixtures.
  5. Assess coverage, balance and artefacts
    State whether a metric concerns a position, locus or allele. Evaluate noise, stutter and missing information under assay-specific criteria, without universal read-count or balance cutoffs.
  6. Evaluate and report findings
    Use a model supporting the actual marker and signal inputs for any mixture LR. Preserve flags, settings and limits; do not feed sequencing counts into a CE model merely because both describe DNA.

Validation Studies and Accreditation: From Research to Court

The assay, software model and validated settings determine what can be reported.

Developmental validation supplies evidence about an assay under tested conditions. Internal validation evaluates its intended implementation. Software and reference changes may require additional assessment. A published low-input result is not a promise that all specimens at that amount yield complete profiles.

Illustrative validation design. A defensible study measures method-specific performance and limits rather than assuming all challenging samples pass.

Named laboratory dates, allele-concordance percentages and mixture-ratio claims need traceable publications. Where these are not established, the useful teaching is the study design: known genotypes, challenging samples, controls and defined criteria for correct, missing and erroneous calls.

Sequence variation can increase the number of distinguishable alleles compared with length-only reporting. Its statistical value depends on loci, frequency data, linkage and the comparison. It should not be assigned a universal tenfold benefit from an unsupported named validation study.

Accreditation recognises competence within a defined scope. Manufacturer training or certification is different. Verify the responsible body and actual scope before claiming that a particular institution is accredited for a sequencing activity or mixture interpretation.

Quality systems include appropriate validation, competence assessment, traceability and review. Reference materials can assist relevant checks, but one quantitation standard is not a universal blind sequencing test required in every accreditation assessment. Requirements depend on the activity and scheme.

Key terms
FASTQ
FASTQ is a sequence-read format commonly using four lines per record: identifier, sequence, separator and encoded base-quality values. Sequence and quality strings correspond in length. Reads may already have undergone base calling, demultiplexing or processing, so FASTQ is not necessarily the first raw instrument record.
BAM file
BAM is the binary representation of Sequence Alignment/Map records. It can store aligned and unmapped reads, quality information and flags. Its contents depend on processing and filtering, so it does not automatically retain every original read. Reference, software and processing records remain important for reproducible interpretation.
VCF
Variant Call Format represents genomic variant calls with reference coordinates, alleles and defined metadata fields. Depending on the caller and settings, it can include genotype and quality information. It is a summary rather than a complete read archive and is not automatically a forensic STR allele table.
Phred quality score (Q)
A Phred quality score expresses an estimated error probability on a logarithmic scale: Q = −10 log10(p). Q30 corresponds to p = 0.001 and Q20 to p = 0.01. A base-quality score is distinct from mapping quality, genotype quality and a laboratory’s validated reporting threshold.
Isoallele
In sequence-based STR analysis, isoalleles commonly describe alleles sharing a length-based designation but differing in sequence within the defined reporting region. These differences can add discrimination when appropriately characterised. They are not restricted to one single-base change, and suitable frequency data and nomenclature remain necessary.
Stutter (MPS)
Stutter in forensic sequencing is an amplification artefact associated with polymerase slippage, commonly producing repeat-length variants of a parent allele. Sequence context and assay conditions affect its pattern. Base-substitution sequencing errors are not all stutter, and both artefact types need appropriate validation and assessment.

Frequently Asked Questions

Is a BAM file required for every forensic sequencing workflow?
No. BAM can store aligned and unmapped reads and associated information, but some targeted tools extract markers directly from reads. Contents depend on filtering and processing, so it need not preserve every original observation. Retain the data and provenance needed to reconstruct the actual validated workflow.
Why can a germline variant caller be unsuitable for a forensic mixture?
Its genotype model and intended use may not represent unequal multiple contributors and forensic artefacts. HaplotypeCaller defaults to diploidy but supports configurable ploidy; no fixed allele-fraction cutoff describes every run. Changing to a pooled caller or lowering thresholds does not alone establish reliable donor genotypes or a mixture LR.
What does Phred Q30 mean?
Using Q = −10 log10(p), Q30 corresponds to an estimated base-error probability of 0.001. It differs from mapping quality, genotype quality and reporting criteria. Calibration and sequence context matter; Q30 and an eighty-five-percent run rate are not universal forensic acceptance thresholds. See sequence alignment and BLAST for related interpretation.
What is a sequence-based STR isoallele?
Alleles can share a length-based designation but differ in sequence within the defined reporting region. These differences need not be a single substitution. Sequence analysis can reveal additional variation that length typing cannot distinguish, but its statistical value requires appropriate nomenclature, frequency data and validation rather than a universal tenfold gain.

Check Your Understanding

Question 1 of 5· 0 answered
A method’s minimum reportable allele support is thirty reads, but an observation has twenty-two. What is appropriate?

Sources

  1. 1.GATK HaplotypeCaller documentation
  2. 2.GATK: germline and somatic models
  3. 3.FreeBayes official repository
  4. 4.STRait Razor official research page
  5. 5.FDSTools documentation
  6. 6.STRait Razor Online supported inputs
  7. 7.SWGDAM current guidance
  8. 8.FDSTools original collaborative study

Test yourself on Forensic Biotechnology with free, timed mocks.

Practice Forensic Biotechnology questions

Found this useful? Pass it along.