Skip to content
Back to skills

Bulkrna Read Qc

ASecurity

Load when checking raw FASTQ quality (Phred / GC / adapter / Q20-Q30) before alignment in

  • 8 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 6, 2026
datapythonrustgobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add lilinji/GeneTind-Life-Skills --skill bulkrna-read-qc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bulkrna Read Qc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Bulkrna Read Qc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lilinji-bulkrna-read-qc/badge)](https://www.skillsdirectory.com/skills/lilinji-bulkrna-read-qc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
# AUTO-GENERATED header from skill.yaml — do not edit by hand.
# Edit skill.yaml, then run: python scripts/generate_skill_md.py <skill_dir>
name: bulkrna-read-qc
description: Load when checking raw FASTQ quality (Phred / GC / adapter / Q20-Q30) before alignment in
  bulk RNA-seq. Skip when reads are already aligned (use bulkrna-read-alignment); counted (use bulkrna-qc);
  single-cell FASTQ (use sc-fastq-qc).
version: 0.3.0
author: OmicsClaw
license: MIT
emoji: 🔍
tags:
- bulkrna
- FASTQ
- QC
- Phred
- GC-content
- adapter
- read-quality
requires:
- matplotlib
- numpy
- pandas
---

# bulkrna-read-qc

## When to use

Run as the first step on raw bulk RNA-seq FASTQ files (single or paired-end)
before aligning.  Reports per-base Phred quality, GC content, adapter
contamination signals, read length distribution, and Q20/Q30 fractions —
the metrics needed to decide whether trimming is worth the trouble.

## Inputs & Outputs

<!-- AUTO-GENERATED from skill.yaml (interface) — do not edit by hand. Regenerate: python scripts/generate_skill_md.py <skill_dir> -->

**Inputs**

- File types: `.fastq`, `.fq`

**Outputs**

- `tables/qc_summary.csv`
- `figures/gc_content.png`
- `figures/per_base_quality.png`
- `figures/quality_score_distribution.png`
- `figures/read_length_distribution.png`
- `report.md`
- `result.json`

## Flow

1. Open the FASTQ (auto-decompresses `.gz` per `bulkrna_read_qc.py:70`).
2. Sample reads, decode Phred quality from header line 4 of each record.
3. Compute per-base quality, GC content, length distribution, adapter motif counts.
4. Render figures and write `report.md` + `result.json`.

## Gotchas

- **This is a pure-Python reimplementation of FastQC core metrics, not FastQC itself.**  Coverage of the more obscure FastQC modules (overrepresented sequences, k-mer enrichment, per-tile quality) is intentionally omitted to keep the skill dependency-free.  For full FastQC parity, run FastQC directly and feed the report into MultiQC.
- **Phred encoding is assumed to be Phred+33 (Sanger / Illumina 1.8+).**  Older Illumina 1.3–1.7 platforms used Phred+64 — the per-base quality values will look ~31 points too high if such input is fed in unchanged.  Confirm the source platform before trusting Q20/Q30 numbers.
- **`.gz` detection is filename-suffix only** (`bulkrna_read_qc.py:70` checks `.endswith(".gz")`).  A gzipped file misnamed without `.gz` will be opened as text and silently produce garbage; rename or symlink before running.

## Key CLI

```bash
python omicsclaw.py run bulkrna-read-qc --demo
python omicsclaw.py run bulkrna-read-qc --input reads.fastq.gz --output results/
```

## See also

- `references/parameters.md` — every CLI flag and tuning hint
- `references/methodology.md` — Phred decoding, sampling strategy, adapter detection
- `references/output_contract.md` — exact output directory layout
- Adjacent skills: `bulkrna-read-alignment` (downstream after alignment), `bulkrna-qc` (downstream after counting), `sc-fastq-qc` (single-cell sibling), `genomics-qc` (genomic-DNA sibling)

Files in this skill

  • SKILL.md3 KB
  • bulkrna_read_qc.py10.1 KB
  • references/methodology.md727 B
  • references/output_contract.md1.2 KB
  • references/parameters.md326 B
  • skill.yaml1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.