rnaseq-alignment-qc
RNA-seq-specific alignment quality assessment using RSeQC and Qualimap for gene body coverage, strandedness, and rRNA contamination.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- rnaseq-alignment-qc
- description
- RNA-seq-specific alignment quality assessment using RSeQC and Qualimap for gene body coverage, strandedness, and rRNA contamination.
02 资源文件 9
- 参考文档agents/claude.yaml318 B
- 参考文档agents/openai.yaml319 B
- 参考文档agents/README.md322 B
- 资产文件assets/.gitkeep—
- 参考文档config.yaml306 B
- 参考文档references/README.md68 B
- 参考文档references/rseqc-qualimap.md4.1 KB
- 脚本scripts/batch_run.sh4.4 KB
- 脚本scripts/run.sh5.8 KB
03 SKILL.md 正文
Skill: RNA-seq Alignment QC
Use When
- User wants to assess RNA-seq alignment quality beyond basic mapping stats
- User needs to check strandedness of a library
- User wants to evaluate gene body coverage (5'-to-3' bias)
- User wants to measure rRNA contamination rate
- User needs to verify read distribution across genomic features (CDS, UTR, intron, intergenic)
Inputs
- Required:
- BAM file with index (
.bam+.bai)
- BAM file with index (
- Optional:
- BED file of gene models (for RSeQC; available from UCSC or RSeQC downloads)
- GTF annotation file (for Qualimap)
- Output directory (default:
./alignment_qc_output) - Species/genome build for rRNA intervals
Workflow
- Run RSeQC
infer_experiment.pyto determine library strandedness. - Run RSeQC
geneBody_coverage.pyfor 5'-to-3' coverage profile across gene bodies. - Run RSeQC
read_distribution.pyfor read distribution across genomic features (CDS, UTR, intron, intergenic). - Run RSeQC
inner_distance.pyfor insert size distribution (paired-end data). - Run Qualimap
rnaseqfor comprehensive RNA-seq QC metrics. - Calculate rRNA rate from Qualimap output or custom rRNA interval overlap.
- Compile summary: strandedness, gene body coverage shape, rRNA rate, feature distribution, junction saturation.
- Flag metrics that fall outside recommended thresholds.
Output Contract
- RSeQC strandedness report (text)
- Gene body coverage plot (PDF)
- Read distribution table (text)
- Inner distance plot (PDF, paired-end only)
- Qualimap HTML report
- Compiled QC summary (text)
Limits
- RSeQC and Qualimap must be installed and available on PATH.
- BED gene model file is required for most RSeQC modules (downloadable from UCSC or RSeQC site).
- Qualimap requires Java to be installed.
- Qualimap memory scales with BAM size (approximately 2-4 GB for human genome BAMs).
- Common failure cases: missing BED file, BAM without index, Java not available for Qualimap.
04 同仓库更多 Skills
structured-intelligence-skill-creator
Create or update repository skills that conform to local templates, provider metadata requirements, registry rules, and validation workflows.
stat-survival-analysis
Estimate and compare survival functions using Kaplan-Meier curves and log-rank test, with optional Cox proportional hazards regression.
stat-pca
Perform PCA on a numeric data matrix to reduce dimensionality, visualize sample structure, and identify top contributing features.
stat-pairwise-correlation
Compute pairwise correlations and significance tests across all numeric variables, and produce a correlation heatmap.
stat-nonlinear-embedding
Embed high-dimensional data into 2D using t-SNE or UMAP for exploratory visualization of sample or cell relationships.
stat-logistic-regression
Fit a logistic regression model for binary outcomes, report odds ratios and model performance (AUC-ROC, confusion matrix).