Whole genome sequencing (WGS) does not hand you a genome. It hands you millions of short, overlapping fragments with some errors in them. This article follows those fragments through each stage of a typical bacterial analysis and explains what to check at every step.
What sequencing gives you
Short-read platforms read DNA in fragments that are typically a few hundred bases long or less. In paired-end sequencing, each DNA fragment is read from both ends, giving two files: R1 (forward reads) and R2 (reverse reads). The two reads from the same fragment are called mates, and the order of reads in the two files must match.
Both files are usually in FASTQ format. Each read takes four lines: a name, the DNA sequence, a separator line beginning with +, and a quality string with one character per base. Those characters encode Phred quality scores, where Q30 means an estimated one-in-a-thousand chance that the base call is wrong.
Because a bacterial genome is a few million bases long and each read is short, the genome is sampled many times over. The average number of reads covering each position is called coverage or depth. Adequate, even coverage is what makes reliable assembly possible.
Step 1: Check read quality
Before any biology, check the data. Tools such as FastQC summarise per-base quality, sequence content, duplication levels and adapter contamination for each file [1], and MultiQC gathers many such reports into one view [2].
Things worth looking at:
- Whether quality drops sharply towards the ends of reads.
- Whether adapter sequences remain in the reads.
- Whether R1 and R2 look broadly similar, as they should for the same library.
- Unusual GC content, which can point to contamination or a mixed sample.
Step 2: Clean the reads
Read cleaning removes low-quality ends and adapter sequence, and discards reads that become too short to be useful. fastp is a widely used all-in-one tool for this, combining trimming, filtering and a quality report in one pass [3]. The goal is not to remove as much as possible, but to remove what would mislead the assembler.
Step 3: Assemble the genome
Assembly reconstructs longer sequences from overlapping reads. De novo assemblers such as SPAdes break reads into short words (k-mers), build a graph of how those words overlap, and walk through the graph to produce continuous sequences called contigs [4].
With short reads, a bacterial assembly is usually a set of contigs rather than one closed, circular chromosome. Assemblies tend to break at repeated regions, such as ribosomal RNA operons and insertion sequences, because short reads cannot show which copy of a repeat they came from. That is normal, and a draft assembly is still very useful, but it affects what you can conclude later.
Step 4: Measure the assembly
QUAST reports standard assembly statistics so you can judge how good an assembly is [5]. The main ones are:
- Total length, which should be close to the expected genome size for the organism.
- Number of contigs. Fewer usually means a less fragmented assembly.
- N50. Half of the assembly sits in contigs at least this long. Larger is usually better.
- GC content, which should match what is known for the species.
Read these numbers together. A high N50 with a total length far larger than expected may point to contamination rather than a good assembly. Completeness tools that look for genes expected in nearly all members of a lineage can add another check.
Step 5: Annotate the genome
Annotation finds the features in an assembly, such as protein-coding genes, ribosomal and transfer RNAs, and assigns likely functions based on similarity to known sequences. Bakta is a recent tool designed for fast, standardised annotation of bacterial genomes, and it records database cross-references for each feature [6].
Annotation is a prediction. Many genes in any bacterial genome will be labelled as hypothetical proteins, meaning no confident function could be assigned. Annotation quality also depends on assembly quality: genes split across two contigs may be missed or reported as fragments.
Step 6: Ask biological questions
With an annotated genome, the analysis can turn to the research question. Common next steps include:
- Identification. Comparing the genome with reference genomes to suggest a species, often using genome-wide similarity measures such as average nucleotide identity.
- Antimicrobial resistance genes. Searching curated resources such as the Comprehensive Antibiotic Resistance Database (CARD) for matches to known resistance genes and mutations [7].
- Virulence genes, mobile elements, plasmids and typing schemes, depending on the study.
Treat these results with care. A match to a resistance gene is sequence evidence, not a laboratory susceptibility result. Identity and coverage of the match, the database version and the thresholds used all affect what is reported, and a gene that is present is not necessarily expressed.
Reading results responsibly
A sound WGS report lets you trace each conclusion back to the data. Before relying on a finding, check that:
- the read quality and assembly statistics are reasonable for the organism;
- you know which tools, versions and databases produced each result;
- gene matches have high identity and coverage, and you understand the threshold used;
- the finding is consistent with what else you know about the isolate.
How this maps to AstroNexus
The AstroNexus Bacterial WGS workflow follows these stages: read quality checks with FastQC and MultiQC, cleaning with fastp, assembly with SPAdes, assembly assessment with QUAST, and annotation with Bakta when its database is available. Resistance and virulence screening uses ABRicate and CARD RGI. The methods page has the details, and the guide to reading your report explains each section.
All results are for research use only and are not for clinical or diagnostic use.
References
- Andrews S. FastQC: a quality control tool for high throughput sequence data. Babraham Bioinformatics; 2010. bioinformatics.babraham.ac.uk/projects/fastqc
- 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. doi:10.1093/bioinformatics/btw354
- Chen S, Zhou Y, Chen Y, Gu J. fastp: an ultra-fast all-in-one FASTQ preprocessor. Bioinformatics. 2018;34(17):i884–i890. doi:10.1093/bioinformatics/bty560
- Bankevich A, Nurk S, Antipov D, et al. SPAdes: a new genome assembly algorithm and its applications to single-cell sequencing. Journal of Computational Biology. 2012;19(5):455–477. doi:10.1089/cmb.2012.0021
- Gurevich A, Saveliev V, Vyahhi N, Tesler G. QUAST: quality assessment tool for genome assemblies. Bioinformatics. 2013;29(8):1072–1075. doi:10.1093/bioinformatics/btt086
- Schwengers O, Jelonek L, Dieckmann MA, Beyvers S, Blom J, Goesmann A. Bakta: rapid and standardized annotation of bacterial genomes via alignment-free sequence identification. Microbial Genomics. 2021;7(11):000685. doi:10.1099/mgen.0.000685
- Alcock BP, Huynh W, Chalil R, et al. CARD 2023: expanded curation, support for machine learning, and resistome prediction at the Comprehensive Antibiotic Resistance Database. Nucleic Acids Research. 2023;51(D1):D690–D699. doi:10.1093/nar/gkac920
Educational content for research use only. Not clinical or diagnostic guidance.