bam_qc_rnaseq
Run post-alignment QC tools on RNA-seq BAM files including library complexity estimation (Preseq), biotype QC (featureCounts), RNA-seq-specific QC metrics (Qualimap), duplicate rate analysis (dupRadar), and comprehensive RSeQC analysis.
Description
Run post-alignment QC tools on RNA-seq BAM files including library complexity estimation (Preseq), biotype QC (featureCounts), RNA-seq-specific QC metrics (Qualimap), duplicate rate analysis (dupRadar), and comprehensive RSeQC analysis.
Input
Coordinate-sorted BAM file aligned to the genome, with its index.
Structure: [ val(meta), path(bam), path(bai) ]
*.{bam,bai}FASTA reference and its index, used by samtools sort.
Structure: [ val(meta), path(fasta), path(fai) ]
Header file for the biotype counts MultiQC section.
Structure: [ val(meta), path(biotypes_header.txt) ]
*.{txt}List of QC tools to run. Top-level tools: ‘preseq’, ‘biotype_qc’, ‘qualimap’,
‘dupradar’. RSeQC modules use an ‘rseqc_’ prefix: ‘rseqc_bam_stat’,
‘rseqc_inner_distance’, ‘rseqc_infer_experiment’, ‘rseqc_junction_annotation’,
‘rseqc_junction_saturation’, ‘rseqc_read_distribution’, ‘rseqc_read_duplication’,
‘rseqc_tin’. Pass an empty list to skip all.
Output
Collected MultiQC-compatible output files from all enabled tools.
Structure: [ val(meta), path(files) ]
Preseq library complexity extrapolation curve.
Structure: [ val(meta), path(txt) ]
*.lc_extrap.txtfeatureCounts count matrix.
Structure: [ val(meta), path(txt) ]
*.featureCounts.txtfeatureCounts summary statistics.
Structure: [ val(meta), path(txt) ]
*.featureCounts.txt.summaryBiotype counts formatted for MultiQC bargraph.
Structure: [ val(meta), path(tsv) ]
*biotype_counts_mqc.tsvrRNA percentage for MultiQC general stats.
Structure: [ val(meta), path(tsv) ]
*biotype_counts_rrna_mqc.tsvPDF duplication rate against total read count plot.
Structure: [ val(meta), path(pdf) ]
*_duprateExpDens.pdfPDF duplication rate ~ total reads per kilobase (RPK) boxplot.
Structure: [ val(meta), path(pdf) ]
*_duprateExpBoxplot.pdfText file containing tags falling on the features described in the GTF file.
Structure: [ val(meta), path(txt) ]
*_dupMatrix.txtText file containing intercept and slope from dupRadar modelling.
Structure: [ val(meta), path(txt) ]
*_intercept_slope.txtRSeQC infer_experiment results (for strandedness detection).
Structure: [ val(meta), path(txt) ]
*.infer_experiment.txtAll the output files from RSeQC inner_distance.
Structure: [ val(meta), path(txt/pdf/r) ]
*.{txt,pdf,R}Frequencies of different insert sizes.
Structure: [ val(meta), path(txt) ]
*.inner_distance_freq.txtMean/median values of inner distances.
Structure: [ val(meta), path(txt) ]
*.inner_distance_mean.txtDistribution plot of inner distances.
Structure: [ val(meta), path(pdf) ]
*.inner_distance_plot.pdfScript to reproduce the inner distance plot.
Structure: [ val(meta), path(r) ]
*.inner_distance_plot.RAll the output files from RSeQC junction_annotation.
Structure: [ val(meta), path(bed/xls/pdf/r/log) ]
*.{bed,xls,pdf,R,log}BED file of annotated junctions.
Structure: [ val(meta), path(bed) ]
*.junction.bedInteract BED file.
Structure: [ val(meta), path(bed) ]
*.Interact.bedRscript to reproduce the junction annotation plots.
Structure: [ val(meta), path(r) ]
*.rLog file generated by RSeQC junction_annotation.
Structure: [ val(meta), path(log) ]
*.logAll the output files from RSeQC junction_saturation.
Structure: [ val(meta), path(pdf/r) ]
*.{pdf,R}RSeQC read_distribution report.
Structure: [ val(meta), path(txt) ]
*.read_distribution.txtAll the output files from RSeQC read_duplication.
Structure: [ val(meta), path(xls/pdf/r) ]
*.{xls,pdf,R}Read duplication rate determined from the sequence of the read.
Structure: [ val(meta), path(xls) ]
*seq.DupRate.xlsRead duplication rate determined from the mapping position of the read.
Structure: [ val(meta), path(xls) ]
*pos.DupRate.xlsScript to reproduce the duplication rate plot.
Structure: [ val(meta), path(r) ]
*.R