BASEN: Preprocessing and QC Record


This page documents preprocessing and quality-control procedures that are summarized only briefly in the main report. It includes basecalling, read-quality assessment, read-length filtering, host-read removal, and final quality filtering for the three mock communities: Microbial (D6300), Gut (D6331), and Oral (D6332).

1. Preprocessing

  1. Basecalling

  2. Quality assessment
  3. Sequencing quality was assessed at both the run and read levels using:


  4. Read quality control
  5. Inspection of read quality across length intervals supported the use of a single read-length rule for all datasets:

    1. Short reads were retained. Reads shorter than the Kraken2 k-mer length (35 bp) contain no complete k-mers and therefore remain unclassified by Kraken2.
    2. Reads longer than 5,800 bp were trimmed to 5,800 bp. This threshold was selected because per-base quality declined beyond this length in Microbial-05 (D6300, run 5, barcode05), where mean per-base Q decreased from 34.7 at 5,800 bp to 24.1 at 6,000 bp. The same threshold was applied to all datasets as a conservative and consistent preprocessing rule.
    3. Ultra-long reads (≥ 100,000 bp) were removed. These reads showed substantially lower mean quality, with mean Q values of 2.8–3.2 across the three mock communities.

    Following length processing, reads mapping to the human reference genome GRCh38 were removed using Minimap2 v2.30. Reads with a Dorado mean Q score below 20 were then excluded.

  6. Reads retained at each preprocessing step
  7. Read counts were recorded for each run after basecalling, ultra-long-read removal, length trimming, host-read removal, and final quality filtering (table).


    RunBarcodeBasecalled≥ 100,000 bp (removed)Trimmed to 5,800 bpHumanHost-freeQ ≥ 20

    Microbial-01barcode211,38512731,381327
    Microbial-02barcode236560313653247
    Microbial-03barcode015,195080155,1801,223
    Microbial-04barcode036,2220251176,2051,725
    Microbial-05barcode05541052539105
    Microbial-06barcode0958,10912,39319757,91111,351
    Gut-01barcode158,2453226338,2091,057
    Gut-02barcode172,62403942,620375
    Gut-03barcode191,68302931,680365
    Gut-04barcode075,353028245,3491,022
    Gut-05barcode1130,10821,2153830,0687,688
    Gut-06barcode1318,86201,1622518,8372,860
    Oral-01barcode05263,3811118,040188263,182165,929
    Oral-02barcode07198,0841610,501173197,895111,559
    Oral-03barcode09172,73955,55599172,63585,055
    Oral-04barcode11147,60344,70191147,50875,026
    Oral-05barcode1353,38312,3042153,36130,780
    Oral-06barcode1569,13002,3683369,09736,485

    The Q ≥ 20 reads constitute the final input to Kraken2. The median read length of these reads was also used as the corresponding Bracken read-length parameter for each run.