title: AfterQC: automatic filtering, trimming, error removing and quality control for fastq data.
abstract: BACKGROUND
  Some applications, especially those clinical applications requiring high accuracy of sequencing data, usually have to face the troubles caused by unavoidable sequencing errors. Several tools have been proposed to profile the sequencing quality, but few of them can quantify or correct the sequencing errors. This unmet requirement motivated us to develop AfterQC, a tool with functions to profile sequencing errors and correct most of them, plus highly automated quality control and data filtering features. Different from most tools, AfterQC analyses the overlapping of paired sequences for pair-end sequencing data. Based on overlapping analysis, AfterQC can detect and cut adapters, and furthermore it gives a novel function to correct wrong bases in the overlapping regions. Another new feature is to detect and visualise sequencing bubbles, which can be commonly found on the flowcell lanes and may raise sequencing errors. Besides normal per cycle quality and base content plotting, AfterQC also provides features like polyX (a long sub-sequence of a same base X) filtering, automatic trimming and K-MER based strand bias profiling.
  
  
  RESULTS
  For each single or pair of FastQ files, AfterQC filters out bad reads, detects and eliminates sequencer's bubble effects, trims reads at front and tail, detects the sequencing errors and corrects part of them, and finally outputs clean data and generates HTML reports with interactive figures. AfterQC can run in batch mode with multiprocess support, it can run with a single FastQ file, a single pair of FastQ files (for pair-end sequencing), or a folder for all included FastQ files to be processed automatically. Based on overlapping analysis, AfterQC can estimate the sequencing error rate and profile the error transform distribution. The results of our error profiling tests show that the error distribution is highly platform dependent.
  
  
  CONCLUSIONS
  Much more than just another new quality control (QC) tool, AfterQC is able to perform quality control, data filtering, error profiling and base correction automatically. Experimental results show that AfterQC can help to eliminate the sequencing errors for pair-end sequencing data to provide much cleaner outputs, and consequently help to reduce the false-positive variants, especially for the low-frequency somatic mutations. While providing rich configurable options, AfterQC can detect and set all the options automatically and require no argument in most cases.
authors.affiliation: Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Xueyuan Road, Shenzhen, China.|HaploX BioTechnology, Songpingshan Road, Shenzhen, China.|University of Chinese Academy of Sciences, 19 A Yuquan Rd, Shijingshan District, Beijing, China.
authors.forename: Shifu
authors.initials: S
authors.lastname: Chen
authors.affiliation: HaploX BioTechnology, Songpingshan Road, Shenzhen, China.
authors.forename: Tanxiao
authors.initials: T
authors.lastname: Huang
authors.affiliation: HaploX BioTechnology, Songpingshan Road, Shenzhen, China.
authors.forename: Yanqing
authors.initials: Y
authors.lastname: Zhou
authors.affiliation: HaploX BioTechnology, Songpingshan Road, Shenzhen, China.
authors.forename: Yue
authors.initials: Y
authors.lastname: Han
authors.affiliation: HaploX BioTechnology, Songpingshan Road, Shenzhen, China.
authors.forename: Mingyan
authors.initials: M
authors.lastname: Xu
authors.affiliation: Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Xueyuan Road, Shenzhen, China. jia.gu@siat.ac.cn.
authors.forename: Jia
authors.initials: J
authors.lastname: Gu
mesh_terms: D000465:Algorithms; D000595:Amino Acid Sequence; D004247:DNA / Q000235:genetics / Q000302:isolation & purification; D053843:DNA Mismatch Repair; D030541:Databases, Genetic; D059014:High-Throughput Nucleotide Sequencing; D006801:Humans; D011786:Quality Control; D017422:Sequence Analysis, DNA; D012984:Software
chemical_list: D004247:DNA
keywords: Bubble; Data filtering; NGS; Overlap analysis; Quality control